best method for creating an audio callback which can take an input stream and an output stream as arguments? #1435
-
Sorry if this makes no sense but I am wondering if there is a way to create a Daisy Like AudioCallback which would take input arguments and output arguments (stream in and stream out) and then allow you to apply dsp in between, as well as set flags, start timers, etc. In other words a place to test dsp ideas etc without having to create a new stream class- similar to this static void AudioCallback(AudioHandle::InterleavingInputBuffer in,
} sorry if this seems like an idea that makes no sense |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I suggest that you have a look at Maximilian: https://github.com/pschatzmann/arduino-audio-tools/tree/main/examples/examples-maximilian or you might use a CallbackStream to provide or update the audio data. |
Beta Was this translation helpful? Give feedback.
-
Today, I have also added the MozziStream class that let's you use Mozzi. |
Beta Was this translation helpful? Give feedback.
-
thanks!! this should be lots of fun
…On Wed, Mar 13, 2024 at 6:14 PM Phil Schatzmann ***@***.***> wrote:
Today, I have also added the MozziStream class that let's you use Mozzi.
Here is an example
—
Reply to this email directly, view it on GitHub
<#1435 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALPH5Q5E644NPLWZRAP7VTYYC6TLAVCNFSM6AAAAABEONAAHKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONZZGIZDQ>
.
You are receiving this because you authored the thread.Message ID:
<pschatzmann/arduino-audio-tools/repo-discussions/1435/comments/8779228@
github.com>
|
Beta Was this translation helpful? Give feedback.
I suggest that you have a look at Maximilian: https://github.com/pschatzmann/arduino-audio-tools/tree/main/examples/examples-maximilian or you might use a CallbackStream to provide or update the audio data.