How to add MidiKeyboardComponent to MainComponent


#1

I am trying to add
MidiKeyboardComponent keyboardComponent;
to my MainContentComponent as a private variable.
But I get an unknown class error.
This is the only JUCE class that I have had an issue with. I see the code in Modules in the JUCE installation,
but in Visual Studio 2012 it can’t find it.
The one keyboard example I could find seemed very simple only declaring the callbacks and the keyboard.

What is needed to be able to use this component?
Thanks


#2

You need to add the juce_audio_utils module to your project in the Projucer:


#3

Thank you!
Gettign starte dwith a new IDE is always fun. Now I know how to get to all the module classes.