Hi,
I’ve been taking the DSP Introduction Tutorial I get this error about processorChain not being declared, but it is, at the bottom of the class.
Any Idea what I might be doing wrong?
Hi,
I’ve been taking the DSP Introduction Tutorial I get this error about processorChain not being declared, but it is, at the bottom of the class.
You have .template get() which unless I’ve just learned something new, is a typo. Shouldn’t all those lines be processorChain.get()?
I’ve just modified what the tutorial said to. Everything else is directly from the .zip package
Also, it looks like this class ‘CustomOscilltor’ is used as a template argument to create an object ‘processorChain’… but this class is trying to reference the object it is being used to create. As in the processor chain object is defined outside of this class.
Interesting, I might have to have a look at it myself, sorry to waste your time, I’ll let someone with more of a clue step in.
If it helps, it builds fine for me here. Steps I took:
Is there a chance you are just opening the header directly, and trying to build that?
I’ll try that…
I’ve just compared DSPIntroductionTutorial_01.h toDSPIntroductionTutorial_02.h
and I’ve found that the declaration I thought was in CustomOscillator was actually in Voice!
I thought that I had collapsed all of the other classes for better visibility, but I missed one. SORRY!
I’ve just built and ran it and it works fine now. Thanks for picking my brain!