sysex: local off

For seeking technical help with Digital Performer and/or plug-ins on MacOS.

Moderator: James Steele

Forum rules
This forum is for seeking solutions to technical problems involving Digital Performer and/or plug-ins on MacOS, as well as feature requests, criticisms, comparison to other DAWs.
Post Reply
timbuque
Posts: 15
Joined: Tue Oct 25, 2005 7:41 pm
Primary DAW OS: MacOS
Location: Toronto, Ontario, CANADA

sysex: local off

Post by timbuque »

Does anyone know how to send "local off" by sysex? for a Korg M1.
Carpe Diem!
User avatar
Shooshie
Posts: 19820
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Dallas
Contact:

Post by Shooshie »

Will it send out the message if you choose it in the setup menu of the korg? If so, insert a SysEx event into your track, which will open the editor. Send the message and see if it receives it.

That's all I can tell you. Otherwise, you'd have to call Korg.

Shooshie
|l| OS X 10.12.6 |l| DP 10.0 |l| 2.4 GHz 12-Core MacPro Mid-2012 |l| 40GB RAM |l| Mach5.3 |l| Waves 9.x |l| Altiverb |l| Ivory 2 New York Steinway |l| Wallander WIVI 2.30 Winds, Brass, Saxes |l| Garritan Aria |l| VSL 5.3.1 and VSL Pro 2.3.1 |l| Yamaha WX-5 MIDI Wind Controller |l| Roland FC-300 |l|
timbuque
Posts: 15
Joined: Tue Oct 25, 2005 7:41 pm
Primary DAW OS: MacOS
Location: Toronto, Ontario, CANADA

Post by timbuque »

No it won't. Tried that. The binary code the M1 will receive is 1011 nnnn 0111 1010 0000 0000 where nnnn is the global channel. In hex it is B1 7A 00 but DP will not accept the B1. Also, local is controller 122 which DP will not accept either, so I'm screwed it seems. But thanks. Ya know, there seemed to be more MIDI functionality in OS9, once-upon-a-time.
Carpe Diem!
User avatar
Shooshie
Posts: 19820
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Dallas
Contact:

Post by Shooshie »

timbuque wrote:No it won't. Tried that. The binary code the M1 will receive is 1011 nnnn 0111 1010 0000 0000 where nnnn is the global channel. In hex it is B1 7A 00 but DP will not accept the B1. Also, local is controller 122 which DP will not accept either, so I'm screwed it seems. But thanks. Ya know, there seemed to be more MIDI functionality in OS9, once-upon-a-time.
Ok, first of all your binary and hex are not in agreement. The hex for the binary as you've written it would be, I think:

B (nnnn) 7a 00

Now, I don't know the format it's asking for the global channel. Is it ASCII? Or Hex? If it's ASCII, as is the Controller (122), then to write it in Hex will require that you precede each digit with a 3.

Example: ASCII 122 = Hex 31 32 32

The SysEx message would need to start with F0 and end with F7. I'm just guessing at this, so it's probably not right, but I'd do something like

F0 B (CHANNEL 1) 7A 00 F7

That doesn't explain where the controller number goes. Wherever it goes, if it's in Hex it will be 31 32 32.

And what's the global channel? Is it supposed to go in hex, also? If you're using channel 1 as your global channel, then it would be:

F0 B1 7A 00 F7

Next, if the 00 is supposed to be where the controller number goes, then it would read:

F0 B1 7A 31 32 32 F7

BUT, I tried entering that into the hex editor, and like yours, it wouldn't allow the B1. I changed it to 1B and it allowed that. I don't know what's wrong with this SysEx editor! MOTU needs to be told about this.

Shooshie
|l| OS X 10.12.6 |l| DP 10.0 |l| 2.4 GHz 12-Core MacPro Mid-2012 |l| 40GB RAM |l| Mach5.3 |l| Waves 9.x |l| Altiverb |l| Ivory 2 New York Steinway |l| Wallander WIVI 2.30 Winds, Brass, Saxes |l| Garritan Aria |l| VSL 5.3.1 and VSL Pro 2.3.1 |l| Yamaha WX-5 MIDI Wind Controller |l| Roland FC-300 |l|
User avatar
monkey man
Posts: 14097
Joined: Fri Apr 22, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Melbourne, Australia

Post by monkey man »

Blackboard and chalk, professor? :lol:

Mac 2012 12C Cheese Grater, OSX 10.13.6
MOTU DP8.07, MachFive 3.2.1, MIDI Express XT, 24I/O
Novation, Yamaha & Roland Synths, Guitar & Bass, Kemper Rack

Pretend I've placed your favourite quote here
timbuque
Posts: 15
Joined: Tue Oct 25, 2005 7:41 pm
Primary DAW OS: MacOS
Location: Toronto, Ontario, CANADA

Post by timbuque »

Thanks again. Your conclusions equal mine.

Controller 122 is 7A. Global ch is 1 so, B1 7A 00 seems right. I tried B0 7A 00, but still DP has an issue with "B" it seems. I have also tried a more complete string for the M1 which is F0 42 30 19 4E B1 7A 00 F0 with same result. 4E = mode change. I also tried inserting into the event list controller 122, but again, DP will not accept 122. I tried a console button, but 122 DP will not accept.

Reversing to 0B produced a format error F0 42 30 19 26 F0.

However, I'll have to be happy with just inserting "local off" in the event window. This is not what I wanted to do though.
Carpe Diem!
User avatar
Shooshie
Posts: 19820
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Dallas
Contact:

Post by Shooshie »

I was hoping someone would drop in and show us something we don't already know, which would make it all work. I guess that's not going to happen. I'm still really curious as to why it's not working. That seems like a perfectly valid SysEx code. Why would the editor even care about that B1? Maybe B1 has the potential to collide with the channel actually being used at the moment. So if your Korg was on channel 3, for instance, and that B1 got sent, maybe it could cause some serious backlash of a problem. But my understanding is that everything between F0 and F7 is taken as a "quote," and not acted upon except in the manner prescribed by the recipient machine.

I don't know the answer, that's for sure, but it's going to bother me until someone explains it or I find it. I use SysEx, and I'd like to know if this is a feature or a bug.

Shooshie

PS: you're right about 7A being Hex for 122. I assumed that 7A was announcing that the controller number was to follow, and that the controller would then be in ASCII. I figured that's why the 00 followed, as placeholder for the first ASCII digit. Guess I was wrong. I should have checked the value of 7A first. Duh... :D
|l| OS X 10.12.6 |l| DP 10.0 |l| 2.4 GHz 12-Core MacPro Mid-2012 |l| 40GB RAM |l| Mach5.3 |l| Waves 9.x |l| Altiverb |l| Ivory 2 New York Steinway |l| Wallander WIVI 2.30 Winds, Brass, Saxes |l| Garritan Aria |l| VSL 5.3.1 and VSL Pro 2.3.1 |l| Yamaha WX-5 MIDI Wind Controller |l| Roland FC-300 |l|
timbuque
Posts: 15
Joined: Tue Oct 25, 2005 7:41 pm
Primary DAW OS: MacOS
Location: Toronto, Ontario, CANADA

Post by timbuque »

What I'm thinking, and this is a stretch, is that MOTU has outlawed 122. 121 and 123 can be inserted as controllers, but not 122. Perhaps because they enabled local control as an insertable mode change event... doesn't explain the "B" reject though.
Carpe Diem!
User avatar
Shooshie
Posts: 19820
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Dallas
Contact:

Post by Shooshie »

monkey man wrote:Blackboard and chalk, professor? :lol:
If you only knew... this is more like the day the professor didn't show up for class, and the two students on the back row started trying to figure out how to turn on the lights.

:D

Shooshie
|l| OS X 10.12.6 |l| DP 10.0 |l| 2.4 GHz 12-Core MacPro Mid-2012 |l| 40GB RAM |l| Mach5.3 |l| Waves 9.x |l| Altiverb |l| Ivory 2 New York Steinway |l| Wallander WIVI 2.30 Winds, Brass, Saxes |l| Garritan Aria |l| VSL 5.3.1 and VSL Pro 2.3.1 |l| Yamaha WX-5 MIDI Wind Controller |l| Roland FC-300 |l|
timbuque
Posts: 15
Joined: Tue Oct 25, 2005 7:41 pm
Primary DAW OS: MacOS
Location: Toronto, Ontario, CANADA

Post by timbuque »

Bien sur, mon ami.
Carpe Diem!
timbuque
Posts: 15
Joined: Tue Oct 25, 2005 7:41 pm
Primary DAW OS: MacOS
Location: Toronto, Ontario, CANADA

Post by timbuque »

Partly solved! Hex B1=greater than 127 which is not allowed in the sysex editor.
Carpe Diem!
User avatar
Shooshie
Posts: 19820
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Dallas
Contact:

Post by Shooshie »

Well, of course! Why didn't we see that before? This is how I learned SysEx, to begin with: by bouncing off the walls of my errors. Every thing I know about SysEx started with doing something wrong.

Well, on second thought, there HAVE been things like MIDI Show Control's spec sheets, and a number of books with chapters on SysEx, and manuals, and on and on... I guess it actually starts with that kind of knowledge, but it seems like to actually put it into use, you have to make a few mistakes with it.

Shooshie
|l| OS X 10.12.6 |l| DP 10.0 |l| 2.4 GHz 12-Core MacPro Mid-2012 |l| 40GB RAM |l| Mach5.3 |l| Waves 9.x |l| Altiverb |l| Ivory 2 New York Steinway |l| Wallander WIVI 2.30 Winds, Brass, Saxes |l| Garritan Aria |l| VSL 5.3.1 and VSL Pro 2.3.1 |l| Yamaha WX-5 MIDI Wind Controller |l| Roland FC-300 |l|
Post Reply