i’m a newbie in juce and c++ …
i try to use midi and it doesn’t work …
MidiOutput* midiOutput;
MidiMessage* midiMessage;
midiOutput=MidiOutput::openDevice(0);
midiMessage->noteOn(1,50,(UINT8) 127);
midiOutput->sendMessageNow(*midiMessage);
i know how to use midi with windows api but when i include <windows.h> i get a lot of compilation errors …
i also know it’s very basic questions but i search examples in the forum and i found nothing and there is no midi in the demo
many thanks for your answer !!!