

Am I on the good way to write a midigenerator (thread. I did some test writing midimessages in ProcessBlock's MidiBuffer, and then the midi come out of my plugin and goes to ableton, so its ok.īut when I write midimessages on the midioutput, I dont know how to stream the output in ableton live. Its like its was going out of a defaulft midi synth on my OS (windows7) I do not know where it comes from, but not from ableton.

So I open ableton live, create an instance of my plugin, and I hear a every half second (usleep(500)) a piano note. MidiMessage myNoteOff = instance.noteOff((int)1, (int)36, (float)127) MidiMessage myNote = instance.noteOn((int)1, (int)36, (float)127) TimerThread = new TimerThread("Midi Player", this) Midioutput = MidiOutput::openDevice(MidiOutput::getDefaultDeviceIndex()) In my AudioProcessor constructor, I create a thread and I open a midioutput: I try to write a Midi generator using juce.

I am new in Juce and my english is not really good.
