I build an arpegiattor like plugin. For now, my plugin is very simple : I have a big button that can toggle the playing state of the processor. My processor plays a very simple list of notes :
MidiMessages cOn = MidiMessage::noteOn(1, 60, 1.0f); //quarter note MidiMessages eOn = MidiMessage::noteOn(1, 64, 1.0f); //quarter note MidiMessages gOn = MidiMessage::noteOn(1, 67, 1.0f); //half note
I have a little sequencer that uses the processor samplerate / buffersize / playhead to make the conversion between musical time and sample time. And all works well with Reaper, and Studio One.
My problem is when I use FL Studio, the bigger the buffe size is, the faster my midi messages are sent. I don’t understand this difference. When I put a little buffer (256 samples per block) my little “melody” is almost played at the correct rate.
Does somebody have an idea? ? ^^