Bc2000 (for the BCF2000 & BCR2000) group photo

Yahoo Groups archive

Bc2000 (for the BCF2000 & BCR2000)

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

Message

Re: Knob to wrap around, 0-127 to 0 again? + 127 -0 to 127 again...

2008-06-13 by k5kip_1999

That works fine! A little strange at first ...
Thank you again!
So... how do you know that $2000 is a midpoint?

I know what your thinking...
This guy needs to learn how to convert his bases.
Can you recommend a good site for learning, this all seems to come 
down to that. Converting bin to hex and knowing the decimal.

Thanks, 
Kip

--- In bc2000@yahoogroups.com, "rpcfender" <rpcfender@...> wrote:
>
> Hi Kip
> 
> > Trying to get a knob to do double duty again.
> > So in the example below - trying for ifp = then it will change 
wave
> form
> > #1 on a synth and ifn then change waveform #2. They both need to 
wrap
> > around.
> > What you have here is both on midi ch 16, nrpns # 43 and 27 - the 
same
> > knob.
> >
> > $encoder 43 ;wave1 + wave 2
> >    .showvalue on
> >    .mode dot/off
> >    .resolution 24 48 96 197
> 
> you can take a mid point
> .default $2000
> it will now wrap a limited number of times in either direction
> 
> >    .default 0
> >    .minmax 0 $3FFF
> >    .tx ifn $BF $63 $00 $BF $62 $2B $BF $06 val ;IfN = wave1 change
> >    .tx ifp $BF $63 $00 $BF $62 $1B $BF $06 val ;IfP = wave2 change
> > $end
> >
> > This works, almost ... wave 2 works great, wrapping like is 
should.
> > Wave 1 needs to wrap back but it does not...
> >
> >   I need ifn to wrap to 127 when it gets past 0.
> so you should now be in business (?)
> 
> > Let's say we have 5 wave forms. Sine, Saw, Tri, Pulse, white 
noise.
> > The choice seems muddled.
> > Again I am trying to choose waveforms for two different 
oscillators.
> > Osc 1 = wave one and ifn .tx command.
> > Osc2 = wave two and ifp .tx command.
> 
> if you need less than 0 to 127 use smaller val  ie val0.3  for 16 
values
> or val0 for 2 values
> 
> >
> > Now they are dependent upon each other.
> 
> Yes, the value inside the BCR is always altered. That is there is 
only
> one value for each controller not one for each direction.
> 
> > If,  ifn osc1 = saw, then I ifp osc2, first value change will = 
saw
> then
> > go tri then pulse.
> > Now , if I ifn, osc1 = will jump up to from saw to pulse then go 
back
> > down tri, saw then sine.
> > Now ifp osc2= will jump from pulse down to sine on first val 
change
> then
> > go up saw, tri, pulse, white noise, sine (warp nice), saw, tri
> > Now ifn, osc1= will jump from sine to tri.
> >
> > So two questions develop.
> > 1. Can I do what I am after?
> > Almost, it seems, but not get an expected result.
> 
> turn p  15,16, 0, 1, 2  - now turn n 1, 0, 16   for val0.3
> >
> > 2. Do you understand what I am after?
> I'm not sure
> 
> > Any thoughts?
> Yes but I'm keeping them to myself
>

Attachments

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.