General

midiout(target,msg[]). How does it work?

Started by kraftf on .

Sign in or create an account to join the conversation.

9 posts

Topic starter
There is nothing inside the manual about the 'msg' parameter.
What kind of messages can be sent and with what format?
Is it possible to send sysex messages(this is what I am really interested in)?
Hi
midiout sends the raw midi data you give it so it will send just about anything

The 'msg[]' bit in the prototype just means it is expecting an array which is the message . . .
The target bit is mIDI Daemon target.

So midiout(0,{0x90, 64, 64}) would send NoteOn, 64, 64 etc etc etc

Does that get you started? Yes you can programmatically send sysex this way.
You can also select sysex in the message mapping area.

Hope that helps
Cheers
MM
Thanks very much for the explanation. Will try it out.

By the way Lemur is a dream come true!!
It really destroys all the limitation I've run into in the past with all the applications I've dealt with!!
Its really working!
Thanks so much!

They should put all the various hints scattered inside the manual.
Its already very analytical but the examples are missing.

@MM
Are you affiliated in any way with Lemur or Liine. You seem to be doing a very good job answering a lot of queries.
Hi
No I am not affiliated or involved with Liine or JazzMutant - I do have some prior history with a Lemur and bought one earlier this year . .

I'm a tech-head with reasonably wide knowledge and interests, previous tech-support work history and like to pass on the knowledge without spoon-feeding mostly . . .

Just helping out to make sure people get of to a good start - I figure i should be able to find a solution or give some direction . . .

Cheers
MM
Yes, Macciza is great :)

Now, is there a "midiin" object like there is for "midiout", capable of receiving Sysex (instead of sending)?
i´m curious too, it´s pretty hard to find the way through sysex.
Hi

Glo - See the OnMIDI execution of scripts, or simply using similarly sending objects . . .

DBK - same section, but getting the syntax/values right is the key if you are communicating with hardware.
It depends on what you are doing , editing or patch loading

Cheers
MM