Is there a way to access the audio buffer from a video effect plugin, otherwise what would be the method for creating an audio reactive video effect?
Inviato Sun 24 Dec 23 @ 3:22 pm
Yes, a IVdjPluginVideoFx8 plugin also has OnAudioSamples that you can implement.
Inviato Sun 24 Dec 23 @ 5:17 pm
Great! Does this depend on what deck it is loaded on?
Inviato Sun 24 Dec 23 @ 8:06 pm
Yes
Inviato Mon 25 Dec 23 @ 3:26 am
I see it as OnAudioSamples, what does the construction of float* buffer look like? Is it a 1D array of floats with a midpoint at where the channels split or is it separate buffers per channel?
Inviato Tue 26 Dec 23 @ 8:48 pm
Interleaved stereo (so one sample left, one sample right etc...)
Inviato Thu 28 Dec 23 @ 2:56 pm
Got it, makes sense! Thanks for the help.
Inviato Thu 28 Dec 23 @ 3:13 pm