Page 1 of 1
midiout(target,msg[]). How does it work?
Posted: 14 Dec 2011 07:40
by kraftf
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)?
Re: midiout(target,msg[]). How does it work?
Posted: 14 Dec 2011 08:05
by kraftf
I have tried the ctlout and noteout messages and they get sent.
Probably no sysex or program change message.
Maybe someone else knows something more.
Re: midiout(target,msg[]). How does it work?
Posted: 14 Dec 2011 08:37
by Macciza
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
Re: midiout(target,msg[]). How does it work?
Posted: 14 Dec 2011 08:57
by kraftf
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!!
Re: midiout(target,msg[]). How does it work?
Posted: 14 Dec 2011 09:07
by kraftf
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.
Re: midiout(target,msg[]). How does it work?
Posted: 14 Dec 2011 09:27
by Macciza
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
Re: midiout(target,msg[]). How does it work?
Posted: 14 Dec 2011 17:31
by gio
Yes, Macciza is great
Now, is there a "midiin" object like there is for "midiout", capable of receiving Sysex (instead of sending)?
Re: midiout(target,msg[]). How does it work?
Posted: 18 Dec 2011 22:03
by dbk
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.
Re: midiout(target,msg[]). How does it work?
Posted: 19 Dec 2011 02:18
by Macciza
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