Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: slowsl on November 29, 2016, 08:25:03 AM

Title: jukebox??
Post by: slowsl on November 29, 2016, 08:25:03 AM
Has anyone had any luck integrating a jukebox type feature into attract mode?  I had found someone developed (and abandoned) a "jukecade" for the pc, which integrated into mame cabinet and was able to utilize the coin slots, etc. much like a real jukebox.  I was hoping to find something like that that could be used seamlessly with attract mode.  Any ideas?
Title: Re: jukebox??
Post by: hermine.potter on November 29, 2016, 11:52:09 PM
which os (linux, windows, osx)?
Title: Re: jukebox??
Post by: slowsl on November 30, 2016, 11:19:50 AM
which os (linux, windows, osx)?
Sorry, forgot that it's a multi-platform front-end.  I'm using retropie.  I'm also interested in building another on a PC, but for now, looking for a retropie solution.
Title: Re: jukebox??
Post by: hermine.potter on December 01, 2016, 02:21:35 AM
ffplay plays audio-files too.
so set an emulator system for music (or use another prefered music player; like vlc)

set a keyboard event on gpio of rpi and use a coin slot/button/electrical bridge.
something like here. (http://raspberrypi.stackexchange.com/questions/23991/noob-here-how-can-i-rig-up-a-button-to-the-gpio-and-set-it-so-that-it-will-tri)
set your select-button (often : return) in rpi-script instead.
now you can scroll through am-list but can't start anything.

if a coin is insert in slot, the gpio hits the return-button (in AM : select) and starts so your track at current position in AM.

Instead of using rpi gpio, have a look at an old usb keyboard controller (http://www.doctormonk.com/2011/08/hack-usb-computer-keyboard-to-make.html) for hitting your select-button