I’m following YT tutorial but there’s no output and Processing memory is climbing into gigabytes. Can someone point out what’s wrong or changed since 5.1 version.
I thought that something isn’t right with a wavetable example so I made an alternative with sin() function and got same result. Commented out is as tutorial video.
Hmm. I see it for the first time. I copied your example in place of for loop but didn’t work. C++ docs was confusing.
Is there example of the use in context?
damn JUCE containers!!! lol… I’ve had other instances where I want to use an stl algorithm, but couldn’t because it was a JUCE container… so yeah, my solution won’t work… if you can switch to a vector it will work
For some reason it doesn’t like wtSize although it’s declared in class private as double and inside prepareToPlay it’s initialized to 1024.
the enclosing-function 'this' cannot be referenced in a lambda body unless it is in the capture list;
the usage of 'MainComponent::wtSize' requires the compiler to capture 'this' but the current default capture mode does not allow it;
'wtSize' undeclared identifier;