-
I'd like to build something a little like the LiveEffect sample. However, I want to affect the audio selected from a file chosen by the user. There's no example of how to operate on a file. Does anyone have an example or guidance so I can let the user choose a file from their library, then (and this is the bit I'm missing) pass the audio across the JNI bridge to my oboe app? I do need low-latency processing as I will be using motion data to parameterise my effect. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The DrumThumper example in Oboe reads drum sounds from WAV files and then plays them using Oboe. |
Beta Was this translation helpful? Give feedback.
-
For anyone passing by in search of a similar solution, here's how I solved this
I also needed to do this on the block because I have a fixed window operation. to do this, I adapted the SampleBuffer class to add a method that would pull block data into mixAudio(), but that's only specific to some cases. I hope that helps someone in the future. |
Beta Was this translation helpful? Give feedback.
For anyone passing by in search of a similar solution, here's how I solved this