Wondering: If I take the DemoJuceFilter and set JucePlugin_IsSynth to 1, when compiling the example I get:
/Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/ComponentBase.h:119: error: cannot allocate an object of abstract type 'JuceAU'
/Users/greenskin/Downloads/juce/extras/audio plugins/demo/build/AudioUnit/../../../wrapper/formats/AudioUnit/juce_AudioUnitWrapper.cpp:67: note: because the following virtual functions are pure within 'JuceAU':
/Developer/Examples/CoreAudio/AudioUnits/AUPublic/OtherBases/MusicDeviceBase.h:76: note: virtual ComponentResult MusicDeviceBase::StartNote(MusicDeviceInstrumentID, MusicDeviceGroupID, NoteInstanceID*, UInt32, const MusicDeviceNoteParams&)
I presume I need extend from a certain class for the plugin to be a synth, but from which class is that? I tried subclassing from Synthesizer and adding the methods, but that didn’t do it.
Using XCode3 on 10.5.1 with Juce 1.45.
MACOSX_DEPLOYMENT_TARGET_ppc = 10.3
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk