the audiounit gets past creation. then some calls come in from the host querying various properties and then the alert message and the destructor of the AU gets called when the host shuts the plugin down. The editor never gets to be opened, The AU never gets to have PrepareToPlay() called or its processBock(). Its as if ( as the error message suggests ) something about what Ableton has discovered about my AU
doesnt conform to what it expects "audio-format" wise ?
Its a two-channel instrument plugin set up as a synth.
I've been trying to track which properties get to be interrogated, but still no clue. I've been placing debug breakpoints in the apple AU superclasses etc..
hope this helps...
Is Abelton odd in any regard to how it opens AU plugins ?
the audiounit gets past creation. then some calls come in from the host querying various properties and then the alert message and the destructor of the AU gets called when the host shuts the plugin down. The editor never gets to be opened, The AU never gets to have PrepareToPlay() called or its processBock(). Its as if ( as the error message suggests ) something about what Ableton has discovered about my AU
doesnt conform to what it expects "audio-format" wise ?
Its a two-channel instrument plugin set up as a synth.
I've been trying to track which properties get to be interrogated, but still no clue. I've been placing debug breakpoints in the apple AU superclasses etc..
hope this helps...
Is Abelton odd in any regard to how it opens AU plugins ?
If the JUCE demo plugin works in Ableton but your plugin doesn’t, it most certainly is something in your plugin.
Have you tried stripping your plugin down (use host GUI, remove/comment any member variables and method’s contents in AudioProcessor)?
< One of our developers said that you’d get the error message if IO initialization fails while setting up the audio unit. He offered to help figuring out the reason why this fails if you’d send in the AU.
“The most likely problem is that the AU specifies a multichannel bus – Live only supports mono and stereo buses.
Other problems might be that the AU does not support changing its sample rate to Live’s one on all buses, or that it wants an unusual stream format on a bus, like interleaved stereo.
Here’s the list of AU calls that, when returning an error code, might cause the error described:
- AudioUnitGetPropertyInfo(), AudioUnitGetProperty() with
kAudioUnitProperty_BusCount
kAudioUnitProperty_SupportedNumChannels
kAudioUnitProperty_StreamFormat
kAudioUnitProperty_SampleRate
- AudioUnitSetProperty() with
kAudioUnitProperty_StreamFormat
kAudioUnitProperty_SampleRate”
Hopefully, this will help you solving the problem!
Regards,
Torsten Wendland
Ableton Support >
Any particular place in the JuceAUWrapper or my AudioProcessor that I should be looking at Jules ?