|
Post by smwells5 on May 12, 2015 21:45:37 GMT
I'm trying to figure out how to map aftertouch (both channel and poly) to pitchbend so that rhythmic key pressure can result in a pitch vibrato.
This could be done in either Stream Byter or Holy Mapper.
Thanks!
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on May 12, 2015 22:02:36 GMT
Hi smwells5, A job for the Stream Byter. Here's a few variants to try out : # poly aftertouch to coarse pitch AX = EX 00 X3
OR
# poly aftertouch to fine pitch AX = EX X3 00
OR
# channel aftertouch to coarse pitch DX = EX 00 X2
OR
# channel aftertouch to fine pitch DX = EX X2 00
Regards, Nic.
|
|
|
Post by smwells5 on May 13, 2015 12:40:36 GMT
Thanks for the help!
|
|
|
Post by trbruce on Jun 6, 2015 16:57:03 GMT
I'd like to do the reverse: map pitchbend to aftertouch.
Plus, I've got a really dumb question -- intuitively, I would think that Stream Byter would transform the MIDI output of MIDI sources and transform the MIDI input of MIDI sinks. Is that how the interface is set up?
Finally, I find the documentation really clear as far as it goes, but it could use a comprehensive list of the different messages available (may have missed it, but I'm not sure how I would know that AX is poly aftertouch just by reading the docs).
All help appreciated....
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jun 6, 2015 17:24:29 GMT
Hi trbruce, The vertical line of ports on the left in MidiBridge are where MIDI events come in to MidiBridge - sources or inputs from MidiBridge's point of view. These can then be connected (ie. routed) to any of the ports on the right - destinations, sinks or outputs, again from MidiBridge's point of view. By applying a module like the Stream Byter to a port on the left you are modifying the incoming event stream before it is passed on to outputs. By applying a module to a port on the right, you are just affecting the event stream going to that output. In terms of what the various MIDI messages are, you need to refer to the MIDI spec. In my opinion the best description of the spec is hereNow, to map pitchbend to aftertouch, you more or less revert the rules, but bear in mind that pitch bend has coarse and fine values (14 bit = 16384 values) where aftertouch is just coarse (7 bit = 128 values). I suspect that mapping the coarse pitchbend to channel aftertouch will be the most useful, since poly aftertouch is active on a specific note. # coarse pitchbend to channel aftertouch EX = AX X3
Of course the added complication is that pitchbend when centered is not at 0 but at 64 which might be OK for your purposes - I don't know. Regards, Nic.
|
|
|
Post by johnb on Sept 4, 2016 17:04:27 GMT
How can I combine course and fine pitchbend to get the full 14 bit value? I'm trying to convert a midi note +-12 semitone pitchbend to the midi note. The following link, halfway down the page, describes it: www.bome.com/forums/viewtopic.php?t=11002chiming in... a bit (at least). Pitch bend is transmitted using 2x7bit data bytes, forming a signed 14 bit number in the range of -8192...+8191. You can use MT Pro's rules to convert the two pitch bend data bytes to a variable that will then have a value in the range -8192...+8191. Now if you've configured pitch bend to go +/-12 semi tones, then the range 8192 covers 12 semitones, i.e. each semitone spans 682.66 numbers. In order to get the intended semitone offset, divide the pitch bend value by 683. Use a global variable (per channel) to remember that offset. So here's a pseudo algorithm: on pitch bend message: - calculate 14-bit pitch bend value - divide by 683 to calculate semi tone offset - remember that offset in a global variable (per channel) on note message: - add the semi tone offset (of that channel) to the note number - reset channel
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Sept 5, 2016 10:41:08 GMT
Hi johnb , I'm afraid MidiBridge just isn't advanced enough to perform this type of operation. I had heard rumours that someone was porting Bome to iOS but nothing has materialised as yet. Sorry I don't have better news. Regards, Nic.
|
|