Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: LEDSpicer - Arcade LED Control and Animation software for linux  (Read 917 times)

0 Members and 1 Guest are viewing this topic.

meduza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 36
  • Last login:March 27, 2019, 07:54:15 am
  • I want to build my own arcade controls!
    • LEDSpicer wiki
LEDSpicer - Arcade LED Control and Animation software for linux
« on: December 04, 2018, 07:32:38 pm »
After several months of working in my spare time, Id like to share this little program I created to handle the LEDs on my arcade box, right now is on beta phase and even while still on development it is mature enough to be used.
Most of the features are working:
  • Easy setup using XML files.
  • Easy management and integration.
  • Complete hardware abstraction.
  • Running as a Daemon (less than 400k).
  • Easy Animations generation.
  • Multiple adapters working together.
  • Documentation.
  • And a lot more.

I have been using it for several months and I feel it is ready for the community to be used and tested.
Right now Im supporting two adapters but I can add more easily (I just don't have the hardware to test), Im working on finishing the code for the LED-Wiz one (I hope) this week.
You can get the code using git from https://sourceforge.net/projects/ledspicer/
To test is, I left a lot of documentation in project the wiki.

Here some videos of the program working:


« Last Edit: December 04, 2018, 08:20:26 pm by meduza »

Jimbo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 733
  • Last login:Yesterday at 02:04:20 pm
  • I have no idea what I'm doing.
    • Wood Finishes Direct
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #1 on: December 05, 2018, 03:36:33 am »
Hi

One thing I missed from RGBCommander, was the ability to use system audio streams to adjust the LED brightness... so for example you could have inactive buttons (i.e. buttons not lit for the current game)  flashing in time with music beats, sound effects etc.

Just like the windows LEDBlinky software does here: 

Any plans to add this functionality?

Cheers

« Last Edit: December 05, 2018, 03:39:31 am by Jimbo »

meduza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 36
  • Last login:March 27, 2019, 07:54:15 am
  • I want to build my own arcade controls!
    • LEDSpicer wiki
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #2 on: December 05, 2018, 11:57:12 am »
Yes, actually I started working on the dynamic modules (the ones that feeds from external sources) and an Actor that feeds from sound is kinda easy to implement, I will add this to the TODO list that right now is:
Human Input (buttons, joysticks, etc will turn lights on)
MAME input, will digest the Mame output
And this one that will feed from sound waves

Jimbo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 733
  • Last login:Yesterday at 02:04:20 pm
  • I have no idea what I'm doing.
    • Wood Finishes Direct
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #3 on: December 05, 2018, 11:58:37 am »
 :cheers: looking forward to trying it

meduza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 36
  • Last login:March 27, 2019, 07:54:15 am
  • I want to build my own arcade controls!
    • LEDSpicer wiki
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #4 on: December 05, 2018, 03:29:27 pm »
What device you are using Jimbo?

Jimbo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 733
  • Last login:Yesterday at 02:04:20 pm
  • I have no idea what I'm doing.
    • Wood Finishes Direct
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #5 on: December 05, 2018, 03:33:44 pm »
2 x ipac ultimate io's, different device number programmed on each of them so I can use all the inputs and led outputs on both.

meduza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 36
  • Last login:March 27, 2019, 07:54:15 am
  • I want to build my own arcade controls!
    • LEDSpicer wiki
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #6 on: December 05, 2018, 06:21:10 pm »
ultimate is 100% supported.

I need to work on the Ipac 2 and 4, and if needed on the oldies.

meduza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 36
  • Last login:March 27, 2019, 07:54:15 am
  • I want to build my own arcade controls!
    • LEDSpicer wiki
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #7 on: December 13, 2018, 10:41:18 pm »
:cheers: looking forward to trying it

question: do you use pulseaudio?

meduza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 36
  • Last login:March 27, 2019, 07:54:15 am
  • I want to build my own arcade controls!
    • LEDSpicer wiki
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #8 on: December 22, 2018, 07:34:57 pm »
I finished the audio plugin for LEDSpicer, it have three modes:
VU meter:
In this mode the sound is spitted into channels and displayed like a linear VU meter, in the configuration you can select what channels will use, Left, Right or Both (check the wiki for more information)


VU Levels:
Every element in a group follows a different peak on the sample


And Single mode:
In this mode all the lights follows the same peak


All the colors can be selected on the configuration check the WIKI at: https://sourceforge.net/p/ledspicer/wiki/Home/ for more information

Jimbo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 733
  • Last login:Yesterday at 02:04:20 pm
  • I have no idea what I'm doing.
    • Wood Finishes Direct
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #9 on: December 23, 2018, 01:54:48 pm »
Hey hey!

Nice christmas present!  :applaud:

I will try this over the next week or so!

Thanks  :cheers:

meduza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 36
  • Last login:March 27, 2019, 07:54:15 am
  • I want to build my own arcade controls!
    • LEDSpicer wiki
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #10 on: December 25, 2018, 11:02:16 am »
Hey hey!

Nice christmas present!  :applaud:

I will try this over the next week or so!

Thanks  :cheers:

The plugin pulseaudio will not get any sound form the sound card if you run the daemon as root, except that the pulseaudio is running systemwide, I not sure how to solve this issue, just run it as a normal user app (on user login?) and it will work just fine.
I created some profiles for 2 players games with player 3 and 4 doing sound effect and looks nice!

Merry Christmas for you and all here :)

meduza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 36
  • Last login:March 27, 2019, 07:54:15 am
  • I want to build my own arcade controls!
    • LEDSpicer wiki
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #11 on: January 29, 2019, 08:03:07 pm »
Yesterday I finished the driver for the led-wiz 32 LEDs board

Gideon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 140
  • Last login:February 03, 2019, 12:31:40 pm
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #12 on: February 03, 2019, 12:31:51 pm »
You seem to be doing a great job with this.  Not everyone is diligent enough to take code to the next level with documentation, build files, proper hierarchy of files... I wish I had some hardware to test right now.  :-\

meduza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 36
  • Last login:March 27, 2019, 07:54:15 am
  • I want to build my own arcade controls!
    • LEDSpicer wiki
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #13 on: February 10, 2019, 04:01:52 pm »
You seem to be doing a great job with this.  Not everyone is diligent enough to take code to the next level with documentation, build files, proper hierarchy of files... I wish I had some hardware to test right now.  :-\

Thank you  :D

I like to do things right :)

You can run the program on DRY MODE that connects to no hardware at all, only displays the LEDs status on the terminal, but is boring as hell  :lol

Last weekend I tested the code in my rpi and it works perfectly.

I'm finishing the pacled64 driver right now
« Last Edit: March 11, 2019, 01:59:00 am by meduza »

meduza

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 36
  • Last login:March 27, 2019, 07:54:15 am
  • I want to build my own arcade controls!
    • LEDSpicer wiki
Re: LEDSpicer - Arcade LED Control and Animation software for linux
« Reply #14 on: March 11, 2019, 01:57:09 am »
Version 0.3.4 completed.
This version introduces LedPac64 driver, some small improvements and minor bug fixes.
Is working amazingly on my cabinet 🥳.
Now I working on version 0.3.5 that will add an experimental driver for NanoLed, I means experimental because I don't have a device to test it yet, but the code is very similar to the pacled64. if someone is brave enough to help me test it I will really appreciate it 😁