We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi guys, I was wondering if anyone has any ideas on how to switch between audio files so that a new audio plays when triggered (not by any mouse or key events).
Context: I am working on a project using both Arduino and Processing where a video switches from playing forward and backwards in time based on incoming data from the Arduino sensors. My current method is to have 2 different audio files (one is the original sound and the other is the same sound but reversed) and using the Minim library, somehow have the audio player to change between these two files dynamically with the video...? Any suggestions would be great (doesn't have to follow my method or use the Minim library).
Note: I'm still sort of a beginner when it comes to coding and Processing so I'm hoping there's a solution that isn't super complicated...