Project
Sheher Ali
Posts: 3
hi,
I got a project where i am using parallex propeller to play audio and video file with push buttons. Each button is for a specific audio or video file, once the button is hot it should play that file. I got a player software on parallex website but this code is just playing all files on one pin(assosiated to button) and push button is doing nothing.
That will be great if anyone can help me in this case.
I got a project where i am using parallex propeller to play audio and video file with push buttons. Each button is for a specific audio or video file, once the button is hot it should play that file. I got a player software on parallex website but this code is just playing all files on one pin(assosiated to button) and push button is doing nothing.
That will be great if anyone can help me in this case.
Comments
If you're willing to drop the video requirement, something like the AP-16+ module from Parallax would work: http://www.parallax.com/Store/Accessories/Sound/tabid/164/ProductID/697/List/0/Default.aspx?SortField=ProductName,ProductName
You'll need some sort of microcontroller (Propeller, BS2, Arduino, etc.) to interface between the buttons and the AP-16+, since the firmware isn't open for hacking.
Generally, a pushbutton is used to start something going, in your case a movie or sound file. You'd have an IF statement that would test for the pushbutton, then execute something like the Movie call shown above. You might have several IF statements, one for each button. When the Movie call is done, your program would repeat the IF statements that test for each of the buttons in turn.