I don’t know why they don’t fix that, but you just need to add an audio input and then it works:
Arpeggiator()
: AudioProcessor (BusesProperties().withInput("Input", AudioChannelSet::mono(), true)) // seem to need for sampleRate
// : AudioProcessor(BusesProperties()) // add no audio buses at all - Original, doesn't work
{
addParameter (speed = new AudioParameterFloat ("speed", "Arpeggiator Speed", 0.0, 1.0, 0.5));
}
processBlock() will not be called with a valid number of samples unless there is an audio input.
