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

Discuss Lemur and share techniques.
Post Reply
kraftf
Regular
Posts: 124
Joined: 14 Dec 2011 06:36

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

Post 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)?
kraftf
Regular
Posts: 124
Joined: 14 Dec 2011 06:36

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

Post by kraftf »

I have tried the ctlout and noteout messages and they get sent.
Probably no sysex or program change message. :cry:
Maybe someone else knows something more.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

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

Post 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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
kraftf
Regular
Posts: 124
Joined: 14 Dec 2011 06:36

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

Post 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!!
kraftf
Regular
Posts: 124
Joined: 14 Dec 2011 06:36

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

Post 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.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

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

Post 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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
gio
Newbie
Posts: 4
Joined: 09 Dec 2011 22:10

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

Post by gio »

Yes, Macciza is great :)

Now, is there a "midiin" object like there is for "midiout", capable of receiving Sysex (instead of sending)?
dbk
Regular
Posts: 98
Joined: 14 Dec 2011 11:35

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

Post 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.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

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

Post 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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Post Reply