This is designed to do the same on a bog-standard Raspberry Pi connected to a touch screen.
Cartwall Audio Software Or LibrariesIt does not require ANY other software or libraries to be installed, all you need is a Raspberry Pi with Raspbian installed, some WAV files in your Pis defualt Music folder - and a touch screen for full effect.![]() Run picartwall.py and it will assign a button to the first 14 WAV files it finds in alphanumeric order. The layout is optimised for a 800x480 pixel display like the Pimoroni HyperPixel. If you want to use a bigger display you could rejig the code. It only supports WAV files because I wanted it to work on a Raspberry Pi out of the box with no internet access required and no need to install any new Python libraries or other audio players. It uses the aplay command as this seems to work much faster than omxplayer which does support MP3 files but has an unacceptable lag between pressing the button and sound coming out. I did think about GTS (pips) or 1kHz tone but these would require additional audio files. Set file name to stopall to make the cart button stop all playing carts. In the bottom-left corner the remaining playback time will be shown. To do that, right-click on the tab and select Change grid size. You will see a new window for entering the necessary number of rows and columns. To play a track, press (and release) Ctrl, and then press the key corresponding to the necessary track. For example, if you want to listen to a track under the digit 2, press Ctrl, and then press the 2 key. If the track is under the letter M, press Ctrl, and then press the M key. Pressing Ctrl2 will create two carts, and pressing Ctrl3 will create three ones.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |