|
Post by sawit on Nov 27, 2013 5:49:18 GMT
I am trying to use the Little MIDI iphone App to sequence pitches on my Whammy Pedal IV via Midi Bridge Stream Byter. To do this I need to convert midi notes to CC data.
The Whammy is set to Omni and CC11 adjusts the pitch of the pedal.
Here is a sample of my attempt at a line of code for this in Stream Byter.
N0 48 = B4 0B 01
As I understand things this should mean that a c4 note is converted to a midi cc message (ch. 4, cc11, value 01). I'm not getting any error messages, but I'm also not getting any results from the Whammy.
A) Is the above incorrect in some way? B) I need to code out 12 steps (I.e. an octave). That should mean that the last number would simply change by 11 (00, 11, 22...). Correct?
Thanks for your help, sw
|
|
abadam
Developer
Rotten Apple
Posts: 60
|
Post by abadam on Nov 27, 2013 8:27:11 GMT
Finally delurking!
I've been fooling round with the Stream Byter, so will have a stab at this...
You are specifying channel 5 in your rule. You probably need to change to B3 to get channel 4, although you say pedal is omni anyway.
Also, N means note on or off. You might change this to 9 (note on) so that the CC isn't triggering twice.
90 48 = B3 0B 01
However, I think the problem may be what the pedal is expecting as the value for the CC. You're just sending a '1' which may not do much? What does your pedal's manual say about that CC? Your rules will need to reflect what it is expecting. Actually I found your manual (thanks to google) and this is what it says:
"MIDI CC11 adjusts the treadle position. A value of 0 on MIDI CC11 corresponds to a toe up position and 127 corresponds to a toe down position."
So, sending a 1 is just 1/127th of toe up, so to divide that CC into an octave you would do 12 rules as you say with 10.666 (128/12) values per interval, so maybe something like:
90 48 = B3 0B 00 90 49 = B3 0B 0B 90 50 = B3 0B 16 and so on until you get to B3 0B 7F
|
|
|
Post by sawit on Nov 27, 2013 13:42:35 GMT
Thanks Abadam,
I will hazard a guess that this is step in the right direction, but I'm still not getting a response from the Whammy. I tried various ranges of note values to try to get any response. I'm going to test this with other MIDI gear at the studio tonight to make sure this isn't a hardware issue (Line6 Mobilizer?).
Any other ideas or refinements?
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Nov 27, 2013 14:22:10 GMT
A few questions first:
- Which version of the Midi Mobilizer (MMZ) do you have? (original or II) - What port in MidiBridge are you putting the Stream Byter on? - What routings do you have setup in MidiBridge? - In Little Midi Machine (LMM) which output ports are you sending SEQ A (just guessing) to?
Ideally you want to see what is coming out of the MMZ. If you have a DIN MIDI interface on a computer available you could run a monitor program (MidiOX for PC or MIDI Monitor on Mac) to capture what is being sent out. That will probably help a lot.
The rules discussed expect the incoming events to be on MIDI channel 1, which I think is the Little Midi Machine default. Might be worth changing the rules to 9X instead of 90 (ie. note on from any channel).
In the meantime, I will try and setup a little test with LMM with MidiVision to monitor things and see what it is sending. It may be that the incoming notes being sent don't match the rules.
Regards, Nic.
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Nov 27, 2013 14:39:35 GMT
OK, just did a LMM test and the note it sends with the slider set at the middle position seems to be C2 which is hex 30 and goes up to C3 (hex 3C) and down to C1 (hex 24), so your rules should be something like:
# LMM to whammy pitch 90 24 = B3 0B 00 90 25 = B3 0B 05 90 26 = B3 0B 0A 90 27 = B3 0B 10 90 28 = B3 0B 15 90 29 = B3 0B 1A 90 2A = B3 0B 20 90 2B = B3 0B 25 90 2C = B3 0B 2A 90 2D = B3 0B 30 90 2E = B3 0B 35 90 2F = B3 0B 3A 90 30 = B3 0B 40 90 31 = B3 0B 45 90 32 = B3 0B 4A 90 33 = B3 0B 50 90 34 = B3 0B 55 90 35 = B3 0B 5A 90 36 = B3 0B 60 90 37 = B3 0B 65 90 38 = B3 0B 6A 90 39 = B3 0B 70 90 3A = B3 0B 75 90 3B = B3 0B 7A 90 3C = B3 0B 7F
Any better?
This assumes that mid-point on the pedal is zero pitch change, toe down is -1 octave and toe up is +1 octave. If that isn't correct, you'll need to adjust those values (the last byte of each rule) to suit.
Regards, Nic.
|
|
|
Post by sawit on Nov 28, 2013 0:02:50 GMT
Nic,
You are a genius. Thank you. It is up and running (and so much fun). The next move is to sync the whole affair to my bass/bass synth player's Bass Station 2...
|
|