×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles
    Revision as of 18:59, 29 February 2008 by imported>mutante (→‎Use it: BlinkenLib)

    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 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

    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.

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.