Das blinken_xmms ist ein Spectrum-Analyser-Plugin für den Multimedia Player Xmms. Es sendet UDP-Pakete an eine konfigurierbare IP Adresse im EBLP - extended Blinkenlights protocol mit 8x18 Pixeln. Die Ausgabe kann z.B. mit lldrv auf ein BlinkenLEDsPro umgeleitet werden.
Blinkt zu D&B Musik | Konfigurations GUI |
---|---|
Erstellt mit blm2gif | |
(Graustufen werden leider nicht konvertiert), |
Den Quellcode für das XMMS-Plugin habe ich mit Hilfe von Workshop: Vis-Plugins in XMMS und XMMS Plugin tutorial at nobugs.org erstellen können. Desweiteren waren Informationen zum EBLP - extended Blinkenlights protocol sehr nützlich. Der "Rechen-Kern" für die Visualisierung entspricht dem des spectrum Plugins.
Jetzt mit Graustufen und Konfig-GUI!
Download source
Save all files to an empty directory.
Blinken_XMMS.c ! Save to: Blinken_XMMS.c !
blinken_xmms.h ! Save to: blinken_xmms.h !
configure.h ! Save to: configure.c !
Compile
Within the directory to which you saved the three files, type:
gcc -Wall --shared `xmms-config --cflags` -o Blinken_XMMS.so Blinken_XMMS.c
U may need to install the XMMS development lib ans headerfiles xmms-dev in order to compile. As root type e.g.
apt-get install xmms-dev
Install
as root type:
install Blinken_XMMS.so `xmms-config --visualization-plugin-dir`
Use it
- Start xmms as usual (or for debuging reasons from the console by typing xmms - if this isnt anyway your usual methode to start xmms ;)).
- Rightklick in the xmms-window. A popup-menu should appear.
- Choose "Visualisierung" and then "Visualisierungs-Plugins". A Settings-Window should appear.
- Choose - if not already selected - the Tab "Visalisierungs-Plugins" in this Settings-Window.
- There should be a new entry "Blinken_XMMS [Blinken_XMMS.so]" within the list of "Visualisierungs-Plugins". Selected it by clicking on it.
- Activate the radio-button in the lower right corner of the Settings-Window labeld "Plugin verwenden" by clicking on it.
- Click the Configure-Button in the lower left corner of the Settings-Window labeld "Konfigurieren".
- A new Window "Blinken XMMS configuration" should appear now. Enter the IP and port of your blinkendevice or the host where your blinkensoftware (e.g. BlinkeLib or BlinkenApplet) is runnin.
- Click "Ok" to close the Window "Blinken XMMS configuration" - if xmms is playing music right now your blinkendevice should already receive blinken-frames :)
- Click "Ok" to close the Settings-Window.
Optional:
- enjoy the new blinkenstream
- give us feedback :-)
Template loop detected: Template:Stub
Tasks
<tasks>
[ ] add links to other blinkenpages and explain how to setup some simple blinken-reciever and -viewer like the one cavac wrote or BlinkenApplet and how to use BlinkenLib, lldrv...
[ ] fix the "typos" (DrOwl)
</tasks>
see also Blinken_xmms
Blinken_XMMS has been viewed <counter>page=Blinken_XMMS&namespace=0</counter> times.