MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Mapping Questions >> Pitch to volume
(Message started by: Sir Raven on Dec 14th, 2010, 4:21am)

Title: Pitch to volume
Post by Sir Raven on Dec 14th, 2010, 4:21am
Hi,

I'm new to MIDI-OX and am trying to exchange the pitch bend data into CC#07 volume data.

Since pitch bend has a resolution of 14 bit and volume has only 7 bit the data can not be used 1:1.

The definition is:
 * PitchB      *     *     *     *  | 3 Ctrl        0     7   127     0  

When I move the bender MIDI-OX does the following instead of changing the volume:
00183827   4  11     B2    01    3F    3  ---  CC: Modulation        
00183837   4  11     B2    05    3D    3  ---  CC: Portamento Time  
00183847   4  11     B2    03    31    3  ---  Control Change        
00183857   4  11     B2    03    21    3  ---  Control Change        
00183867   4  11     B2    04    14    3  ---  CC: Foot Controller  
00183877   4  11     B2    05    09    3  ---  CC: Portamento Time  
00183887   4  11     B2    02    01    3  ---  CC: Breath            
00183897   4  11     B2    07    00    3  ---  CC: Volume            
00183917   4  11     B2    05    09    3  ---  CC: Portamento Time  
00183927   4  11     B2    03    1C    3  ---  Control Change        
00183937   4  11     B2    04    2E    3  ---  CC: Foot Controller  
00183947   4  11     B2    00    3D    3  ---  CC: Bank MSB          

Help would be much appreciated.
Thanks.

Title: Re: Pitch to volume
Post by Peter L Jones on Dec 14th, 2010, 1:58pm
You're currently mapping the Bend LSB to a value from 0 to 7 and using that as the CC# -- not what you want.  The "Min" should also be 7.

You're also inverting the Bend MSB to Value mapping -- that might be what you want but if not, both Min and Max should be -1.

Title: Re: Pitch to volume
Post by Sir Raven on Dec 15th, 2010, 8:49am
Brilliant, thanks! It is working ... obviously. Now my map looks like this:

Ch Message V1Min V1Max V2Min V2Max C|Ch Message V1Min V1Max V2Min V2Max Ac
 * NoteOn      *     *     *     * Y| 2 NoteOn      *     *     *     *  
 * NoteOn      *     *     *     * Y| 3 NoteOn      *     *     *     *  
 * NoteOn      *     *     *     * Y| 4 NoteOn      *     *     *     *  
 * NoteOff     *     *     *     * Y| 2 NoteOff     *     *     *     *  
 * NoteOff     *     *     *     * Y| 3 NoteOff     *     *     *     *  
 * NoteOff     *     *     *     * Y| 4 NoteOff     *     *     *     *  
 * Ctrl        1     1     *     * Y| 2 Ctrl        7     7    63     0  
 * Ctrl        1     1     *     *  | 1 Ctrl        7     7    63   127  
 * Ctrl        2     2     *     * Y| 2 Ctrl        7     7    63   127  
 * Ctrl        2     2     *     *  | 1 Ctrl        7     7    63     0  
 * PitchB      *     *     *     * Y| 3 Ctrl        7     7   127     0  
 * PitchB      *     *     *     *  | 4 Ctrl        7     7     0   127  

Now I can use the joystick of my Triton as vector stick such as in old vector synthesizers like Yamaha SY22. And of course I can influence not only the volume but some more interesting parameters as well.



MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.