|
Post by bitrift on Jun 13, 2013 20:23:04 GMT
Hi, wonder if you can help me...
I'd like to convert the MIDI START message to MIDI CC 111 (it's for Korg iMS-20 sequencer start). The MIDI Start signal is 0xFA, I don't think it is specific to any particular MIDI channel.
I tried something like B0 6F = FA but it doesn't seem to work. Any ideas?
Cheers, David
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jun 14, 2013 9:09:55 GMT
Hi David,
Pretty close!
The Korg iMS20 MIDI spec says that CC 111 does STOP/START - I don't know if this is a toggle or whether value 00 stops and value 127 starts, but let's assume the Korg is expecting B0 6F 7F (CC 111, value 127) as the start command (and value 0 as stop). Thus your start rule would be:
FA = B0 6F 7F
However, there is a bug in the Stream Byter (fixed and I will push out a bug fix release soon) which needs to be worked around.
Here is the ruleset to do that and workaround the Stream Byter bug. For the bug we have to map to FA to F0 before doing the mapping:
# convert MIDI START to iMS20 CC # including SB bug workaround FA = X0 F0 = B0 6F 7F
NB. this breaks sysex messages!
Now, I imagine the next thing you might want to do is map FC (MIDI STOP) to CC111 value zero to stop the sequencer.
Here is the best ruleset that does start and stop (and doesn't break sysex):
# convert MIDI START/STOP to iMS20 CC # including better SB bug workaround F0 = B0 7F 40 # preserve sysex FA = X0 F0 = B0 6F 7F FC = F0 F0 = B0 6F 00 B0 7F 40 = F0 # restore sysex
Let us know if that worked or not
Regards, Nic.
|
|
|
Post by bitrift on Jun 14, 2013 9:55:10 GMT
Thanks so much Nic, I'll be really pleased if this works.
Probably won't be able to try it until Sunday but I will get back to you.
Cheers, Dave
|
|
|
Post by bitrift on Jun 24, 2013 14:34:38 GMT
Hi again, I've now spent quite a while trying to get this to work but have had no luck. I bought MidiVision and checked that I am receiving MIDI Start and Stop messages into the iPad. I am definitely filtering this MIDI input into iMS-20 because I can apply simple operations like transpose to the input stream and see the effect in iMS-20. I've double checked the iMS-20 MIDI implementation and it is definitely CC 111 that starts the sequencer (though I do not know if perhaps there is a specific value for this message that is expected). www.korguser.net/ims20/html/help/en/midi.htmlI tried all three of your suggested rules (start rule, workaround and best), and experimented for some time with small changes using guesswork but I've had to accept that nothing I have tried will actually start the sequencer on the iMS-20 (it's the latest version). Any further clues or suggestions would be very gratefully received! Would waiting for the bugfix update that you mentioned possibly help? Cheers, Dave
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jun 24, 2013 19:06:19 GMT
Hi Dave,
Since you have MidiVision, I would use it to make sure the start/stop messages are indeed being remapped to the correct CC message. With MidiVision already running:
First ensure your Stream Byter setup for the above is on the input port (on the left in MidiBridge) of whatever is sending start/stop. For now, just use the middle ruleset I posted originally to keep things simple.
Connect the above input to MidiVision on right as well as the Korg, so the event stream is being sent to both places.
Send the FA (start) and see if it is translated to CC 111 according to MidiVision. If not, then there is something amiss, in which case email me and I will give you instructions on how to turn on developer trace so I can see what is going on. It is likely to be something simple.
|
|
|
Post by bitrift on Jun 25, 2013 14:15:29 GMT
Cool thanks Nic, I'll try that this evening.
I didn't realise I could use MidiVision as a device in StreamByter, very handy! :-)
Dave
|
|
|
Post by bitrift on Jun 25, 2013 18:16:44 GMT
Hi Nic,
I tried that just now. When StreamByter is enabled I get an extra orange message in MidiVision that is not there when it's disabled, immediately after the MIDI Start message arrives. I'm listening on the same MIDI stream as the iMS-20.
The message reads:
[timecode] Controller 0 Channel 01 Value 0 Bytes: B0 00 00
I guess that doesn't look particularly correct...
Was using following code...
# convert MIDI START to iMS20 CC # including SB bug workaround FA = X0 F0 = B0 6F 7F
Does this shed any light?
Cheers, Dave
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jun 26, 2013 8:26:55 GMT
Hi bitrift,
I have managed to reproduce this. The fix is done and will appear in the imminent (just one more thing to fix up) bugfix release.
Regards, Nic.
|
|