Hey can you give any tips on how you fixed those other plugins, specifically using the live audio capture input? The Windows Live Audio Capture creates noise/errors randomly. I think I’ve narrowed it down to the sample pointer not always being aligned.
Specifically this part:
// Take the next Sample - Halfed Causes SamplePtr Exception
if (SamplePtr != NULL && SamplePtr != nullptr && (SampleIndex + FirstSample < SampleCount /2))
As you can see the comments left indicated an exception access violation crash if you try and use all of the sample pointer/audio chunks.
But using the plugin as is, the output randomly turns to garbage. I’ve messed around with it enough to get to a point where it’s stable for over a minute before eventually the sample pointer causes a crash.
Any tips on what you fixed or maybe even a github of the first demo you made without cuda, if you still have it? I don’t need the beat detection and I don’t have cuda anyways. I just been trying to fix this for awhile now.
Edit: Well I at least fixed the bigger issue with noise/garbage and the output is generally clean(but low resolution). I would still love to hear any general tips or code you’re willing to share!