Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Accessing audio buffer from video effect
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?
 

geposted Sun 24 Dec 23 @ 3:22 pm
Yes, a IVdjPluginVideoFx8 plugin also has OnAudioSamples that you can implement.
 

Great! Does this depend on what deck it is loaded on?
 

Yes
 

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?
 

Interleaved stereo (so one sample left, one sample right etc...)
 

Got it, makes sense! Thanks for the help.