playing audio files from disk
I have a folder with 5 audio files
I would like that when ever a button is press at arduino a corresponding track will play until it ends.
If the same button will be pressed again it won't effect the track - meaning the track will continue playing until it finished.
If another button is pressed the previous track that was playing is stoping (with a small fade of 500ms) and the corresponding track of the other button that just was pressed will start playing (as well with a small fade in)
how can I do so?
Here is what I have got:
Max Patch
Copy patch and select New From Clipboard in Max.
You need more than that stuff
player play status, general change object to
only pass play number if it changes OR that play
number finished playing etc.
if you need a crosfade, than use at least 2 sfplay~ objects