imported>Took |
imported>mutante m (→Tasks / ToDo here: remove converted task) |
||
(12 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
== Über Blinken XMMS == |
|||
⚫ | |||
Das blinken_xmms ist ein Spectrum-Analyser-Plugin für den Multimedia Player [[Xmms]]. Es sendet [[UDP]]-Pakete an eine konfigurierbare IP Adresse im [http://wiki.blinkenarea.org/bin/view/Blinkenarea/ExtendedBlinkenlightsProtocol EBLP - extended Blinkenlights protocol] mit 8x18 Pixeln. Die Ausgabe kann z.B. mit [[lldrv]] auf ein [[BlinkenLEDsPro]] umgeleitet werden. |
|||
{| class="wikitable" align="right" |
|||
|- |
|||
! Blinkt zu D&B Musik |
|||
! Konfigurations GUI |
|||
|- |
|||
| [[Image:BlinkenPlugin.gif]] |
|||
| [[Image:Blinken_XMMS_GUI.png]] |
|||
|- |
|||
|Erstellt mit [http://blinkenlights.de/blinkentools.de.html blm2gif] |
|||
|- |
|||
| (Graustufen werden leider nicht konvertiert), |
|||
| |
|||
|} |
|||
Den Quellcode für das XMMS-Plugin habe ich mit Hilfe von [http://dev.webreeze.de/portal/modules.php5?name=OnlineArticle&pid=5 Workshop: Vis-Plugins in XMMS] und [http://www.nobugs.org/developer/xmms/xmms-nobugs.html XMMS Plugin tutorial at nobugs.org] erstellen können. Desweiteren waren Informationen zum [http://wiki.blinkenarea.org/bin/view/Blinkenarea/ExtendedBlinkenlightsProtocol EBLP - extended Blinkenlights protocol] sehr nützlich. Der "Rechen-Kern" für die Visualisierung entspricht dem des [http://cvs.xmms.org/cvsweb.cgi/xmms/Visualization/sanalyzer/ spectrum] Plugins. |
|||
Jetzt mit Graustufen und Konfig-GUI! |
|||
---- |
|||
== About Blinken XMMS == |
|||
Blinken_xmms is a spectrum-analyzer plugin for the multimedia player [[Xmms]]. It sends [[UDP]]-packets to a configurable IP adress using the [http://wiki.blinkenarea.org/bin/view/Blinkenarea/ExtendedBlinkenlightsProtocol EBLP - extended Blinkenlights protocol] with 8x18 pixels. The output can be redirected to a [[BlinkenLEDsPro]] device using [[lldrv]]. |
|||
The source code for this XMMS-plugin has been created with the help of [http://dev.webreeze.de/portal/modules.php5?name=OnlineArticle&pid=5 Workshop: Vis-Plugins in XMMS] and [http://www.nobugs.org/developer/xmms/xmms-nobugs.html XMMS Plugin tutorial at nobugs.org]. Furthermore information about the [http://wiki.blinkenarea.org/bin/view/Blinkenarea/ExtendedBlinkenlightsProtocol EBLP - extended Blinkenlights protocol] was helpful. The core for the visualization is identical to the [http://cvs.xmms.org/cvsweb.cgi/xmms/Visualization/sanalyzer/ spectrum] plugin. |
|||
Now with shades of grey and config-GUI! |
|||
== Install & Use == |
|||
⚫ | |||
Save all files to an empty directory. |
Save all files to an empty directory. |
||
Line 6: | Line 40: | ||
[[:Image:blinken_xmms.h.txt | blinken_xmms.h]] ! Save to: blinken_xmms.h ! |
[[:Image:blinken_xmms.h.txt | blinken_xmms.h]] ! Save to: blinken_xmms.h ! |
||
[[:Image:configure.c.txt | configure.h]] ! Save to: configure. |
[[:Image:configure.c.txt | configure.h]] ! Save to: configure.h ! |
||
= Compile = |
=== 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 |
gcc -Wall --shared `xmms-config --cflags` -o Blinken_XMMS.so Blinken_XMMS.c |
||
U may need to install the XMMS development lib |
U may need to install the XMMS development lib and headerfiles <tt>xmms-dev</tt> in order to compile. As root type e.g. |
||
apt-get install xmms-dev |
apt-get install xmms-dev |
||
= Install = |
=== Install === |
||
as root type: |
as root type: |
||
install Blinken_XMMS.so `xmms-config --visualization-plugin-dir` |
install Blinken_XMMS.so `xmms-config --visualization-plugin-dir` |
||
= Use it = |
=== Use it === |
||
* Start xmms as usual (or for debuging reasons from the console by typing <tt>xmms</tt> - if this isnt anyway your usual |
* Start [[xmms]] as usual (or for debuging reasons from the console by typing <tt>xmms</tt> - if this isnt anyway your usual method to start xmms ;)). |
||
* |
* Right-click in the xmms-window. A popup-menu should appear. |
||
* Choose "Visualisierung" and then "Visualisierungs-Plugins". A |
* Choose "Visualisierung" and then "Visualisierungs-Plugins". A settings-window should appear. |
||
* Choose - if not already selected - the |
* 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". |
* There should be a new entry "Blinken_XMMS [Blinken_XMMS.so]" within the list of "Visualisierungs-Plugins". Select it by clicking on it. |
||
* Activate the radio-button in the lower right corner of the |
* Activate the radio-button in the lower right corner of the settings-window labeled "Plugin verwenden" by clicking on it. |
||
* Click the |
* Click the configure-button in the lower left corner of the settings-window labeled "Konfigurieren". |
||
* A new |
* A new window "Blinken XMMS configuration" should appear now. Enter the [[IP]] and [[port]] of your [[BlinkenLEDsPro_1.1|blinkendevice]] or the host where your blinkensoftware (e.g. [[BlinkenLib]] or [[BlinkenApplet]]) is running. |
||
* Click "Ok" to close the |
* 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 |
* Click "Ok" to close the settings-window. |
||
Optional: |
Optional: |
||
Line 37: | Line 72: | ||
{{Stub}} |
{{Stub}} |
||
<tasks> |
|||
[ ] add links to other blinkenpages and explain how to setup a simple blinken-reciever and -viewer. |
|||
[ ] fix the "typos" (DrOwl) |
|||
</tasks> |
|||
⚫ | |||
== See also == |
|||
⚫ | |||
---- |
|||
[[Blinken_XMMS]] has been viewed <counter>page=Blinken_XMMS&namespace=0</counter> times. |
|||
[[Category:Blinkenlights]] |
[[Category:Blinkenlights]] |
Latest revision as of 12:24, 30 November 2008
Über Blinken XMMS[edit]
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!
About Blinken XMMS[edit]
Blinken_xmms is a spectrum-analyzer plugin for the multimedia player Xmms. It sends UDP-packets to a configurable IP adress using the EBLP - extended Blinkenlights protocol with 8x18 pixels. The output can be redirected to a BlinkenLEDsPro device using lldrv.
The source code for this XMMS-plugin has been created with the help of Workshop: Vis-Plugins in XMMS and XMMS Plugin tutorial at nobugs.org. Furthermore information about the EBLP - extended Blinkenlights protocol was helpful. The core for the visualization is identical to the spectrum plugin.
Now with shades of grey and config-GUI!
Install & Use[edit]
Download source[edit]
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.h !
Compile[edit]
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 and headerfiles xmms-dev in order to compile. As root type e.g.
apt-get install xmms-dev
Install[edit]
as root type:
install Blinken_XMMS.so `xmms-config --visualization-plugin-dir`
Use it[edit]
- Start xmms as usual (or for debuging reasons from the console by typing xmms - if this isnt anyway your usual method to start xmms ;)).
- Right-click 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". Select it by clicking on it.
- Activate the radio-button in the lower right corner of the settings-window labeled "Plugin verwenden" by clicking on it.
- Click the configure-button in the lower left corner of the settings-window labeled "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. BlinkenLib or BlinkenApplet) is running.
- 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
See also[edit]
See also Blinken_xmms
Blinken_XMMS has been viewed <counter>page=Blinken_XMMS&namespace=0</counter> times.