Bc2000 (for the BCF2000 & BCR2000) group photo

Yahoo Groups archive

Bc2000 (for the BCF2000 & BCR2000)

Index last updated: 2026-04-28 23:16 UTC

Thread

Script? help needed...

Script? help needed...

2009-11-06 by fred

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.



I have tried writing this into the script - but im failing :(
I think i need to use the .tx command.
i've tried - it should be easy as i have found an example for pitch bend at 14 bit - but it needs to be ten bit.
I can't even upload the 14 bit example.

Any help would be much appreciated.

Re: [bc2000] Script? help needed...

2009-11-06 by Denis Gerage

Try to goggle "generic remote" and "alphatrack" there is a guy who emulated the alphatrack using a maxpatch in bcr, in cubase.net forum you find it easy the post , I think there is a sysex file you can open it and search the trick inside

Hope it helps

Denis


Sent from my BlackBerry® smartphone
Show quoted textHide quoted text
-----Original Message-----
From: fred <sputnikjonny@...>
Date: Fri, 6 Nov 2009 00:42:18 
To: <bc2000@yahoogroups.com>
Subject: [bc2000] Script? help needed...

  
 
 
 
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.
 
 I have tried writing this into the script - but im failing :(
 I think i need to use the .tx command.
 i've tried - it should be easy as i have found an example for pitch bend at 14 bit - but it needs to be ten bit.
 I can't even upload the 14 bit example.
 
 Any help would be much appreciated.

Re: Script? help needed...

2009-11-06 by rpcfender

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

Re: Script? help needed...

2009-11-06 by fred

Thanks for the rather rapid reply -
I've done all the buttons, the push functions, the 3 rotary encoders and 'fudged' it to send the 'knob touch' feature (or parameters dont adjust).
I've downloaded that Cubase file - i'll have another go at sorting that fader out over the weekend.

One of my problems was getting the syntax in the script correct - but i have also learn more about BC manager whilst doing this.

Aside from that its working - perhaps some tweaks to speed settings is needed here and there. (currently no fader but this funtion is permantently mapped to encoder one anyhow- so perhaps its no big deal)

A bit of tweaking perhaps to the layout and i'll upload it

Thanks


--- In bc2000@yahoogroups.com, "Denis Gerage " <nedagg@...> wrote:
Show quoted textHide quoted text
>
> Try to goggle "generic remote" and "alphatrack" there is a guy who emulated the alphatrack using a maxpatch in bcr, in cubase.net forum you find it easy the post , I think there is a sysex file you can open it and search the trick inside
> 
> Hope it helps
> 
> Denis
> 
> 
> Sent from my BlackBerry® smartphone
> 
> -----Original Message-----
> From: fred <sputnikjonny@...>
> Date: Fri, 6 Nov 2009 00:42:18 
> To: <bc2000@...m>
> Subject: [bc2000] Script? help needed...
> 
>   
>  
>  
>  
> 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.
>  
>  I have tried writing this into the script - but im failing :(
>  I think i need to use the .tx command.
>  i've tried - it should be easy as i have found an example for pitch bend at 14 bit - but it needs to be ten bit.
>  I can't even upload the 14 bit example.
>  
>  Any help would be much appreciated.
>

Re: Script? help needed...

2009-11-06 by fred

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:
Show quoted textHide quoted text
>
> 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
>

Re: Script? help needed...

2009-11-09 by rpcfender

Hi Andy,
> Finally... the reverse of the data bytes
> $E0 val7.13 val0.6 seems to work. 
> Perhaps alphaports documentation had a slight error.

That's status MSB LSB !
That's weird as the Midi 1.0 spec (about 30 years old) says PB status + channel, LSB, MSB

They must be making it up as they go.
Glad you got is sorted.

Royce
Show quoted textHide quoted text
> 
> 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
> >
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.