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.
No, you’re doing it right, and that should just compile, but it looks like something must have changed in the new 10.5 SDK that breaks it.
I’m still using 10.4! This just sounds like a small tweak is needed in the AU code - presumably apple have just added a new virtual method that needs implementing… can any 10.5 people help out!?