RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    LEDSpicer, LED animation controller for Linux.

    Scheduled Pinned Locked Moved Projects and Themes
    ledled buttonsled lightsrgbultimarc
    49 Posts 12 Posters 12.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MeduZaPaTM
      MeduZaPaT @ScherzKeks
      last edited by MeduZaPaT

      @ScherzKeks said in LEDSpicer, new LED animation controller for Linux.:

      @MeduZaPaT
      you are da man! That was indeed the problem. I changed the boards ID back to 1. No clue I had modified this before.
      It is working now, thanks

      I'm glad to hear that now is working, first time someone uses an ID different than 1, was unsure of that functionality, so thanks you for the test 👍🏻
      Let me know if you have more questions, I need to create some YT tutorial videos for the animations. is kind of easy to understand but lots of details and options.
      specially the masking and color mixing features that is extremely useful if you know what it does 😅
      PS remember to remove the enable samples config ure flag, so it does not overwrite your settings, or make backups of your config and profiles, I will share some of my so anyone can use them as reference, I got really cool effects based on games and emulators

      LEDSpicer

      ScherzKeksS 1 Reply Last reply Reply Quote 0
      • ScherzKeksS
        ScherzKeks @MeduZaPaT
        last edited by

        @MeduZaPaT
        Thanks I might get back to you later ;)
        I'm gonna build a full size cab (Bitcade Kit) and until that arrives in May I'm familiarizing myself with the led stuff. I got my Pi already fully set up and configured.
        My major point is to have only the per rom/emulator required buttons lit. Animations are a goodie for now ;)

        MeduZaPaTM 1 Reply Last reply Reply Quote 0
        • MeduZaPaTM
          MeduZaPaT @ScherzKeks
          last edited by MeduZaPaT

          @ScherzKeks said in LEDSpicer, new LED animation controller for Linux.:

          @MeduZaPaT
          Thanks I might get back to you later ;)
          I'm gonna build a full size cab (Bitcade Kit) and until that arrives in May I'm familiarizing myself with the led stuff. I got my Pi already fully set up and configured.
          My major point is to have only the per rom/emulator required buttons lit. Animations are a goodie for now ;)

          Cool, I'll like to see that project done , the launcher allows you to react in different ways based on the game, you can trigger a profile by game controllers setup, by emulator name or by game rom name, I normally use the by controller with a fall back to rom name or emulator name.

          This program allows not only to light buttons, but to add small animations 😏

          I do that for some games and the effect is amazing.

          LEDSpicer

          1 Reply Last reply Reply Quote 0
          • MeduZaPaTM
            MeduZaPaT
            last edited by MeduZaPaT

            Version 0.3.5 released

            You can install over the other version without problems.
            For more info go here https://github.com/meduzapat/LEDSpicer/releases

            LEDSpicer

            1 Reply Last reply Reply Quote 0
            • Gh0striderG
              Gh0strider @MeduZaPaT
              last edited by

              @MeduZaPaT Version 1.0.19 of libusb-1.0. If I run sudo apt install libusb1-0 it fetches the same version from jessie. when I use "sudo apt install libusb-1.0-0-dev" it states "is is already the newest Version" when I start "./configure CXXFLAGS='-g0 -03'--prefix=/usr --sysconfdir=/etc" then there are many many checking lines and at the end I get the error "configure: error: libusb1-0 development library was not found"

              MeduZaPaTM 1 Reply Last reply Reply Quote 0
              • MeduZaPaTM
                MeduZaPaT @Gh0strider
                last edited by MeduZaPaT

                @Gh0strider said in LEDSpicer, new LED animation controller for Linux.:

                @MeduZaPaT Version 1.0.19 of libusb-1.0. If I run sudo apt install libusb1-0 it fetches the same version from jessie. when I use "sudo apt install libusb-1.0-0-dev" it states "is is already the newest Version" when I start "./configure CXXFLAGS='-g0 -03'--prefix=/usr --sysconfdir=/etc" then there are many many checking lines and at the end I get the error "configure: error: libusb1-0 development library was not found"

                I fixed that issue, if you pull the lasted version that error will be solved.
                also I found that Jessie have compile issues, it does not support C++11 out of the box if you upgrade to Stretch this issues will be gone.

                LEDSpicer

                1 Reply Last reply Reply Quote 0
                • M
                  mdsavio
                  last edited by mdsavio

                  Nice!

                  I have all installed, but i have an error... :(

                  pi@retropie:~ $ sudo service ledspicerd start
                  Job for ledspicerd.service failed because the control process exited with error code.
                  See "systemctl status ledspicerd.service" and "journalctl -xe" for details.
                  

                  Install here: home/pi/LEDSpicer
                  But this...? Below..

                  ./configure CXXFLAGS='-g0 -O3' --prefix=/usr --sysconfdir=/etc
                  
                  --------- build settings -----------
                  C++ Compiler : g++  -g0 -O3
                  Linker       : /usr/bin/ld
                  Includes     :-I/usr/include/libusb-1.0
                  -bash: ---------: command not found
                  Libraries    :-lusb-1.0 -ltinyxml2 -lpthread -ldl
                  Libpulse     : yes: -D_REENTRANT -lpulse
                  Prefix       : /usr
                  Systemd      : /lib/systemd/system
                  Devices dir  : ${exec_prefix}/lib/ledspicer/devices
                  Actors dir   : ${exec_prefix}/lib/ledspicer/actors
                  Data dir     : ${datarootdir}
                  Config dir   : /etc
                  Develop mode : no
                  Copy samples : no
                  --------- Output Plugins -----------
                  
                  

                  When install LEDSpicer all it's ok! ... but when i put this... sudo service ledspicerd start ... Fail!

                  Someone can help me? Please! :)

                  MeduZaPaTM 1 Reply Last reply Reply Quote 0
                  • MeduZaPaTM
                    MeduZaPaT @mdsavio
                    last edited by

                    @mdsavio said in LEDSpicer, new LED animation controller for Linux.:

                    Someone can help me? Please! :)

                    Thanks, I msg you!

                    LEDSpicer

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mdsavio @MeduZaPaT
                      last edited by mdsavio

                      @MeduZaPaT ... Aquí escribo el journal...

                      May 08 23:17:01 retropie systemd[1]: Started Cleanup of Temporary Directories.
                      May 08 23:17:01 retropie CRON[905]: pam_unix(cron:session): session closed for user root
                      May 08 23:30:53 retropie sudo[949]:       pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/sbin/service ledspicerd start
                      May 08 23:30:53 retropie sudo[949]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
                      May 08 23:30:53 retropie systemd[1]: Configuration file /etc/systemd/system/rgbcommander.service is marked executable. Please remove executable permission bits. Proceeding anyway.
                      May 08 23:30:53 retropie systemd[1]: Starting LEDSpicer a LEDs controller and animation daemon that will handle LEDs of different devices....
                      May 08 23:30:53 retropie LEDSpicer[976]: Error: Unable to read the file /etc/ledspicer.conf
                      May 08 23:30:53 retropie systemd[1]: ledspicerd.service: Control process exited, code=exited status=1
                      May 08 23:30:53 retropie systemd[1]: Failed to start LEDSpicer a LEDs controller and animation daemon that will handle LEDs of different devices..
                      May 08 23:30:53 retropie systemd[1]: ledspicerd.service: Unit entered failed state.
                      May 08 23:30:53 retropie systemd[1]: ledspicerd.service: Failed with result 'exit-code'.
                      May 08 23:30:54 retropie sudo[949]: pam_unix(sudo:session): session closed for user root
                      
                      ScherzKeksS 1 Reply Last reply Reply Quote 0
                      • ScherzKeksS
                        ScherzKeks
                        last edited by

                        @MeduZaPaT
                        I'm almost finished with my project and doing now the final polishing on the software configuration.
                        Do you have by chance a configuration example for the Pulseaudio animation?

                        I'd like to use it as the default profile once ledspicer is loaded, so it can react to the boot video. However it doesn't seem to do anything atm. do i need to ledspicer the audio device?

                        1 Reply Last reply Reply Quote 0
                        • ScherzKeksS
                          ScherzKeks @mdsavio
                          last edited by

                          @mdsavio
                          possibly a little late response to your issue.
                          Make sure your ledspicer.conf is located in /etc/
                          If not you can do the following

                          sudo apt-get update
                          Sudo apt-get install locate
                          sudo updatedb
                          sudo locate ledspicer.conf
                          

                          This will install locate, a quite easy to handle search for files. with the command locate you can then search for files throughout the filesystem. I recall that I also had an issue in the beginning with the ledspicer.conf not being correctly read, although it was at the correct location. But first try that and post the results.

                          1 Reply Last reply Reply Quote 0
                          • MeduZaPaTM
                            MeduZaPaT
                            last edited by

                            New version 0.3.6 is now available, this version includes:

                            • New Rom detection system based on a data file (using Mame is not a good option on retropie)
                            • Added a new kind of plugin, Input plugins, three of them:
                            • Mame Connects to mame and reads the output events to light elements or groups on the layout
                            • Impulse Lights elements when a button is press
                            • Actions Allows the creation of interactive input, like when you insert a credit, the start will blink and stuff like that
                            • Added more debug modes
                            • Improved speed
                            • Lot more!

                            I left some demo videos on the facebook page: https://www.facebook.com/LEDSpicer-2393969390678210/

                            LEDSpicer

                            J 1 Reply Last reply Reply Quote 1
                            • J
                              janderclander14 @MeduZaPaT
                              last edited by

                              @MeduZaPaT Thanks! I understand that the mame output lights only work with the standard mame but not with any retroarch-based version (mame2003, mame2003-plus, mame2010), do they?

                              MeduZaPaTM 1 Reply Last reply Reply Quote 0
                              • MeduZaPaTM
                                MeduZaPaT @janderclander14
                                last edited by

                                @janderclander14 said in LEDSpicer, new LED animation controller for Linux.:

                                @MeduZaPaT Thanks! I understand that the mame output lights only work with the standard mame but not with any retroarch-based version (mame2003, mame2003-plus, mame2010), do they?

                                I was unable to test them, basically they need to support the OSD output via network, anyway I added another plugin that simulates this feature somehow.

                                LEDSpicer

                                1 Reply Last reply Reply Quote 0
                                • MeduZaPaTM
                                  MeduZaPaT
                                  last edited by

                                  New Input plugin demo video:

                                  https://www.facebook.com/2393969390678210/videos/870935216617871/

                                  LEDSpicer

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    nukeray
                                    last edited by

                                    How do we incorporate the input code?
                                    Thanks in advance.

                                    N 1 Reply Last reply Reply Quote 0
                                    • N
                                      nukeray @nukeray
                                      last edited by

                                      @nukeray
                                      I have LEDspicer running. Everthing is setup using ledspicerd -e and -l. Not able to figure out how to LoadProfile command line test. More importantly though I would really like to know how to use the input code for MAME. I am running the latest version of SDLMAME not Retropie so OSD is working fine. Any help would be awesome!!

                                      Doug

                                      MeduZaPaTM 1 Reply Last reply Reply Quote 0
                                      • MeduZaPaTM
                                        MeduZaPaT @nukeray
                                        last edited by MeduZaPaT

                                        @nukeray Excellent, the first part is done, can you msg me throw FB so I can help you easily?
                                        https://www.facebook.com/LEDSpicer-2393969390678210

                                        LEDSpicer

                                        1 Reply Last reply Reply Quote 0
                                        • MeduZaPaTM
                                          MeduZaPaT
                                          last edited by

                                          New Release of LEDSpicer is out, 0.3.9
                                          this version includes:

                                          • Improves Pulseaudio plugin render.
                                          • New PulseAudio mode "Wave" (check video).
                                          • Adds new actor plugin FileReader, this plugin allows the user to create frames on an XML file, right now only RGBA format, more coming soon.
                                          • Lot of bug fixes.
                                          • Code improvement.

                                          LEDSpicer

                                          1 Reply Last reply Reply Quote 2
                                          • prozachP
                                            prozach
                                            last edited by

                                            This is awesome!

                                            How difficult would it be to add support for the howler?

                                            The software was written in C and the source is available on github already.
                                            https://github.com/wolfwaretech/Howler-Arcade-Controller-Firmware

                                            would love to be able to use the controller I have rather than have to buy a new one.

                                            Keep up the good work.

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.