XBMC Community Forum  

Go Back   XBMC Community Forum > Development > XBMC Development

XBMC Development Developers forums for XBMC related development. Programmers/Coders only!
No end-user support, no bug reports, and no feature/function requests here!
Please, add platform prefix for suggestions that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-02-18, 17:36   #1
Gamester17
Team-XBMC Project Manager
 
Gamester17's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
Gamester17 will become famous soon enough
Default

frodo made an update to the visualisation plugin interface so now the visualisation the filename of it's own .vis file and it uses the correspoding .xml filename so renaming "spectrum.vis" to "spectrum-whatever.vis" would mean that "spectrum-whatever.vis" will use "spectrum-whatever.xml" (instead of "spectrum.xml" as it was hardcoded to do before), "spectrum-whatever" would then also be selectable from the gui. this means that end-users can have more than one version of the same visualization with a different xml for each, this is great for visualization with many parameter options such a jm's spectrum analyser as end-users can edit and share their prefered preferences.

ex. of what the visualisations folder could look like with this function:
goom.vis
goom.xml
goom my-edit.vis
goom my-edit.xml
spectrum.vis
spectrum.xml
spectrum-whatever.vis
spectrum-whatever.xml
spectrum - cool blue.vis
spectrum - cool blue.xml
spectrum - red orange.vis
spectrum - red orange.xml
fountain.vis
fountain.xml
fountain my xml edit.vis
fountain my xml edit.xml


please port your favorite xml's jmarshall's spectrum analyzer here. you can see a couple of spectrum.xml examples here:

note!: max bars is set at 720. the minimum frequency is set at 1hz, but if freqscale is "log" lowest you can see will be around 50hz, and if freqscale is "linear" (<freqscale>linear</freqscale>) lowest frequency probebely can see is around 1-2khz or so.

the original for xbmc:
Quote:
<visualisation>

<!-- amount to delay spectrum (range 0..255) -->
<syncdelay>15</syncdelay>

<!-- number of frequency bars to display -->
<bars>512</bars>

<!-- what the bars represent (options are: "average" and "peak" levels in that frequency range)-->
<levels>peak</levels>

<!-- frequency scale can be log or linear -->
<freqscale>log</freqscale>

<!-- fraction of actual rise amount to do at one time (range 0.01..1) -->
<risespeed>0.5</risespeed>

<!-- fraction of actual fall amount to do at one time (range 0.01..1) -->
<fallspeed>0.5</fallspeed>

<!-- enable a/b/c-weighting of the data (options are: "a", "b", "c", or "none") -->
<weight>a</weight>

<!-- combine channels in to one? -->
<mixchannels>false</mixchannels>

<!-- show peaks separately? -->
<showpeaks>true</showpeaks>

<!-- speed of the decay of peaks in db/frame (range 0.01..4) -->
<peakdecayspeed>0.3</peakdecayspeed>

<!-- frequency range (in hz) -->
<freqmin>80</freqmin>
<freqmax>22050</freqmax>

<!-- level range (in db - 0db refers to a sine wave at minimum possible level, 96db is highest possible) -->
<levelmin>20</levelmin>
<levelmax>90</levelmax>

<leftchannel>
*<!-- onscreen position in pixels (measured from top left) -->
*<left>40</left>
*<top>88</top>
*<!-- width and height of spectrum analyser -->
*<width>650</width>
*<height>220</height>
*<!-- direction that bars go (options are: up, down, left, right) -->
*<direction>up</direction>
*<!-- set true if you want highfrequencies on the left, or at the bottom -->
*<reversefreq>false</reversefreq>
*<!-- colour of peak blips (rrggbb hex number - 0 implies use the below range) -->
*<peakcolour>0</peakcolour>
*<!-- colour of bars (rrggbb hex number) -->
*<topcolour>ff0006</topcolour>
*<middlecolour>c67a37</middlecolour>
*<bottomcolour>500909</bottomcolour>
*<border>false</border>
</leftposition>

<rightchannel>
*<left>40</left>
*<top>308</top>
*<width>650</width>
*<height>220</height>
*<direction>down</direction>
*<reversefreq>false</reversefreq>
*<peakcolour>0</peakcolour>
*<topcolour>ff0006</topcolour>
*<middlecolour>c67a37</middlecolour>
*<bottomcolour>500909</bottomcolour>
*<border>false</border>
</rightposition>

</visualisation>
red/n/blue colors by nizz8
Quote:
<leftchannel>
<!-- onscreen position in pixels (measured from top left) -->
<left>25</left>
<top>66</top>
<!-- width and height of spectrum analyser -->
<width>660</width>
<height>220</height>
<!-- direction that bars go (options are: up, down, left, right) -->
<direction>up</direction>
<!-- set to true if you want to show an alpha transparency with the full analyser size -->
<!-- great for placement purposes! -->
<border>false</border>
<!-- set true if you want highfrequencies on the left, or at the bottom -->
<reversefreq>false</reversefreq>
<!-- colour of peak blips (rrggbb hex number - 0 implies use the below range) -->
<peakcolour>ffffff</peakcolour>
<!-- colour of bars (rrggbb hex number) -->
<topcolour>852caf</topcolour>
<middlecolour>001ae1</middlecolour>
<bottomcolour>ff0000</bottomcolour>
</leftposition>

<rightchannel>
<left>25</left>
<top>290</top>
<width>660</width>
<height>220</height>
<direction>down</direction>
<border>false</border>
<reversefreq>false</reversefreq>
<peakcolour>ffffff</peakcolour>
<topcolour>ff1589</topcolour>
<middlecolour>001ae1</middlecolour>
<bottomcolour>ff0000</bottomcolour>
</rightposition>

edit by ---=snyper=---
Quote:
<visualisation>

<syncdelay>15</syncdelay>
<bars>2000</bars>
<levels>peak</levels>
<freqscale>linear</freqscale>
<risespeed>1</risespeed>
<fallspeed>0.75</fallspeed>
<weight>c</weight>
<mixchannels>false</mixchannels>
<showpeaks>true</showpeaks>
<peakdecayspeed>0.25</peakdecayspeed>
<freqmin>0</freqmin>
<freqmax>19000</freqmax>
<levelmin>0</levelmin>
<levelmax>75</levelmax>

<leftchannel>
<left>-80</left>
<top>20</top>

<-- change this to fix the width on your tv -->
<width>790</width>

<height>250</height>
<direction>down</direction>
<border>false</border>
<reversefreq>false</reversefreq>
<peakcolour>6e8fbc</peakcolour>
<topcolour>15bcda</topcolour>
<middlecolour>07244c</middlecolour>
<bottomcolour>01060d</bottomcolour>
</leftposition>

<rightchannel>
<left>-80</left>
<top>220</top>

<-- change this to fix the width on your tv -->
<width>790</width>

<height>250</height>
<direction>up</direction>
<border>false</border>
<reversefreq>true</reversefreq>
<peakcolour>6e8fbc</peakcolour>
<topcolour>15bcda</topcolour>
<middlecolour>07244c</middlecolour>
<bottomcolour>01060d</bottomcolour>
</rightposition>

</visualisation>
edit by xbox4u
Quote:
<visualisation>

<!-- amount to delay spectrum (range 0..255) -->
<syncdelay>16</syncdelay>

<!-- number of frequency bars to display -->
<bars>80</bars>

<!-- what the bars represent (options are: "average" and "peak" levels in that frequency range)-->
<levels>peak</levels>

<!-- frequency scale can be log or linear -->
<freqscale>log</freqscale>

<!-- fraction of actual rise amount to do at one time (range 0.01..1) -->
<risespeed>.4</risespeed>

<!-- fraction of actual fall amount to do at one time (range 0.01..1) -->
<fallspeed>0.08</fallspeed>

<!-- enable a/b/c-weighting of the data (options are: "a", "b", "c", or "none") -->
<weight>a</weight>

<!-- combine channels in to one? -->
<mixchannels>false</mixchannels>

<!-- show peaks separately? -->
<showpeaks>true</showpeaks>

<!-- speed of the decay of peaks in db/frame (range 0.01..4) -->
<peakdecayspeed>0.2</peakdecayspeed>

<!-- frequency range (in hz) -->
<freqmin>20</freqmin>
<freqmax>20000</freqmax>

<!-- level range (in db - 0db refers to a sine wave at minimum possible level, 96db is highest possible) -->
<levelmin>15</levelmin>
<levelmax>75</levelmax>

<leftchannel>
<!-- onscreen position in pixels (measured from top left) -->
<left>0</left>
<top>110</top>
<!-- width and height of spectrum analyser -->
<width>640</width>
<height>150</height>
<!-- direction that bars go (options are: up, down, left, right) -->
<direction>up</direction>
<!-- set to true if you want to show an alpha transparency with the full analyser size -->
<!-- great for placement purposes! -->
<border>false</border>
<!-- set true if you want highfrequencies on the left, or at the bottom -->
<reversefreq>false</reversefreq>
<!-- colour of peak blips (rrggbb hex number - 0 implies use the below range) -->
<peakcolour>3399ff</peakcolour>
<!-- colour of bars (rrggbb hex number) -->
<topcolour>cc0000</topcolour>
<middlecolour>ffcc00</middlecolour>
<bottomcolour>009900</bottomcolour>
</leftposition>

<rightchannel>
<left>0</left>
<top>260</top>
<width>640</width>
<height>150</height>
<direction>up</direction>
<border>false</border>
<reversefreq>false</reversefreq>
<peakcolour>3399ff</peakcolour>
<topcolour>cc0000</topcolour>
<middlecolour>ffcc00</middlecolour>
<bottomcolour>009900</bottomcolour>
</rightposition>

</visualisation>
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Gamester17 is offline   Reply With Quote
Old 2004-02-19, 00:56   #2
MrMario64
Team MediaPortal
 
MrMario64's Avatar
 
Join Date: Oct 2003
Posts: 192
MrMario64 is on a distinguished road
Default

ok, here is mine.
2 channels mirrored horizontally. black in the middle getting blue upwards. red peaks.
real smooth.



-----------

<visualisation>

<!-- amount to delay spectrum (range 0..31) -->
<syncdelay>0</syncdelay>

<!-- number of frequency bars to display -->
<bars>128</bars>

<!-- what the bars represent (options are: "average" and "peak" levels in that frequency range)-->
<levels>peak</levels>

<!-- frequency scale can be log or linear -->
<freqscale>linear</freqscale>

<!-- fraction of actual rise amount to do at one time (range 0.01..1) -->
<risespeed>0.5</risespeed>

<!-- fraction of actual fall amount to do at one time (range 0.01..1) -->
<fallspeed>0.5</fallspeed>

<!-- enable a/b/c-weighting of the data (options are: "a", "b", "c", or "none") -->
<weight>c</weight>

<!-- combine channels in to one? -->
<mixchannels>false</mixchannels>

<!-- show peaks separately? -->
<showpeaks>true</showpeaks>

<!-- speed of the decay of peaks in db/frame (range 0.01..4) -->
<peakdecayspeed>0.4</peakdecayspeed>

<!-- frequency range (in hz) -->
<freqmin>10</freqmin>
<freqmax>18000</freqmax>

<!-- level range (in db - 0db refers to a sine wave at minimum possible level, 96db is highest possible) -->

<levelmin>0</levelmin>
<levelmax>96</levelmax>

<leftchannel>
<!-- onscreen position in pixels (measured from top left) -->
<left>60</left>
<top>30</top>

<!-- width and height of spectrum analyser -->
<width>600</width>
<height>248</height>
<!-- direction that bars go (options are: up, down, left, right) -->
<direction>up</direction>
<!-- set to true if you want to show an alpha transparency with the full analyser size -->
<!-- great for placement purposes! -->

<border>false</border>
<!-- set true if you want highfrequencies on the left, or at the bottom -->
<reversefreq>false</reversefreq>
<!-- colour of peak blips (rrggbb hex number - 0 implies use the below range) -->
<peakcolour>ff0000</peakcolour>
<!-- colour of bars (rrggbb hex number) -->
<topcolour>0000ff</topcolour>

<middlecolour>050bc5</middlecolour>
<bottomcolour>000000</bottomcolour>
</leftposition>

<rightchannel>
<left>60</left>
<top>298</top>

<width>600</width>
<height>248</height>
<direction>down</direction>
<border>false</border>
<reversefreq>false</reversefreq>
<peakcolour>ff0000</peakcolour>

<topcolour>0000ff</topcolour>
<middlecolour>050bc5</middlecolour>
<bottomcolour>000000</bottomcolour>
</rightposition>

</visualisation>
MrMario64 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Per DVD settings Basje XBMC Feature Suggestions 4 2006-06-17 01:37
help with settings macrobat XBMC for Xbox Specific Support 2 2006-03-16 17:26
settings.xml jbenn1of1 XBMC for Xbox Specific Support 0 2004-08-03 18:29
Visualizations out of sync - eg. spectrum DoughBoy XBMC for Xbox Specific Support 10 2004-07-08 14:20
16:9 and 4:3 settings???/ FliX XBMC for Xbox Specific Support 0 2004-06-20 02:32


All times are GMT +2. The time now is 08:14.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project