Cheers Royce.. I tried your suggestion in script - but no joy. So i tried all the different valn.n options in BCmanager. Finally... the reverse of the data bytes $E0 val7.13 val0.6 seems to work. Perhaps alphaports documentation had a slight error. Thanks to all. I'll tweek the speed settings this weekend and upload the file with some notes. -Andy --- In bc2000@yahoogroups.com, "rpcfender" <rpcfender@...> wrote: > > Hi, > > > I need to set an encoder to transmit a 10 bit pitch bend. > > Its to emulate the 'alphatrack' controller. Its supported in REaper so > i thought i would try to create a preset for it (BCR2000). > > The alpha tracks documentation says... > > > > Fader Move e0 yy zz > > > > Where yy is 3 LSB's in the from 00,10 .... 70 > > Where zz is 7 MSB's in the form 00,10, ... 7f > > Together, yy and xx form a 10 bit fader position. > > > Are you sure that the least significate byte is 0 to $70 ? > If this is so the value is jumping by 16 > > The simple pitch bend (.easypar) on the BC only changes the MSB so you > need .tx to get the 14bit value and the range needs to be set as well > PB message - $Ex LSB MSB where x = channel > > eg 14 bit on channel 1 > > .minmax 0 $3FFF > .tx $E0 val0.6 val7.13 > > The encoder has a resolution of 96 messages per turn. > You want to jump 16 values before putting out the next message so 96 * > 16 = 1536 > > .minmax 0 $3FFF > .tx $E0 val0.6 val7.13 > .resolution 1536 1536 1536 1536 > > but you would need to turn the encoder a few times to get to max PB > If you need to get around faster you can use the different encoder > speeds to move through the values faster. > Use multiples of 1536 to get the correct jumps eg resolution 1536 x 1 > 1536 x 4 1536 x 6 1536 x 8 > > .minmax 0 $3FFF > .tx $E0 val0.6 val7.13 > .resolution 1536 6144 9216 12288 > > Full script to program just encoder 33.... > > $rev R1 > $encoder 33 > .showvalue on > .mode 1dot > .default 0 ; or $2000 which is the normal 0 > position for PB as there can be pitch down as well > .minmax 0 $3FFF > .tx $E0 val0.6 val7.13 > .resolution 1536 6144 9216 12288 > $end > > oops. I just reread your post and you want a fader to do this. I can't > quite do it > > $rev F1 > $fader 1 > .showvalue on > .default 0 ; or $2000 which is the normal 0 > position for PB as there can be pitch down as well > .minmax 0 $3FFF > .tx $E0 val0.6 val7.13 > $end > > You can't adjust the resolution and so the resolution is a bit rougher > (jumps about 28 instead of 16)- so give this a try and see if it will do > what you want it to do. > > > All the best > > Royce >
Message
Re: Script? help needed...
2009-11-06 by fred
Attachments
- No local attachments were found for this message.