Seamless File Player
Objective
In AudioFilePlayer, load audio from nextFilePath
into the active audio buffer and play it. Avoid a gap between current file and next file.
Ideas...
-
Find the main audio buffer for the AudioServer. Might help to search globally
AudioSampleBuffer
. Possibly inAudioConnectionBase
but maybe elsewhere. -
Somehow append the new samples to this main buffer...
Build Process
# Connect to the main server.
ssh root@bobcat-server-2.creek.org
# Run the build process.
build-audio-server-dev
Example
Here's another project that plays audio files from an array: https://github.com/samparkewolfe/Juce-Audio-File-Player/blob/master/AudioFilePlayer.cpp
Edited by Travis