The MidiOutput::openDevice always return null


#1

Hey

I'm trying to open a MIDI device use MidiOutput::openDevice(0).

what's the prm?​blen

Thanks!


#2

You didn't actually initialise your device manager!


#3

Thanks for your reply!

What i can do?


#4

What i can do?

Well, it's not initialised, so perhaps initialising it would be a good idea...!

There's plenty of example code and tutorials that involve the audiodevicemanager class - maybe start from that if you're new to this kind of thing.


#5

Thank you!

I want to make a console application that can use midi, but there is no such example.


#6

Thank you!

I want to make a console application that can use midi, but there is no such example


#7

Sure, but the classes are all the same regardless of the type of app.


#8

Thank you!