>
> Steve's correct,
>
> $button 1
> .showvalue on
> .minmax 0 127
> .mode incval 32
> .default 0
> .tx $B0 07 val
>
> gives
>
> $B0 07 32
> $B0 07 64
> $B0 07 96
> $B0 07 00
> $B0 07 32
>
> val goes from 0 to 127 96+32=128 so you are back to 0
>
> Royce
>
> --- In bc2000@yahoogroups.com, sghookings@ wrote:
> >
> >
> > You _may_ be lucky here.
> >
> > Your sequence is ++32 for each button press
> >
> > 0, 32, 64, 96, 128 ... but 128 is effectively 0 iff the BCR overflows.
> >
> > You could check what a simple button with inc val 32 does as you try to push it past 96.
> > If that works, then you would need to use Royce or Mark's software to encode the sysex and assign to a button, but only use the bottom bits of of the val.
> >
> > Pretty sure there are examples in Mark's manual (pretty sure I lifted heavily from this excellent resource when I made miniak presets).
> >
> > Else, if the button doesnt overflow, you might consider using two buttons "paired" ... one for the up, one for the down.
> >
> > Hope this helps.
> >
> > Regards
> >
> > Steve H
> >
> > --- In bc2000@yahoogroups.com, "mz82003" <mz82003@> wrote:
> > >
> > > I want to program a button so that the BCR sends out a sysex chain containing a variable value where :
> > > - val = 00 when the button is pressed once
> > > - val = 32 when the button is pressed once more
> > > - val = 64 when the button is pressed once more
> > > - val = 96 when the button is pressed once more
> > > - val = 00 when the button is pressed once more
> > > and so on,
> > >
> > > so that I could toggle e.g. between the waveforms of DCO1 and DCO2 or between the ranges of DCO1 and DCO2 of my JX-8P without having to use up a rotary encoder for that purpose.
> > >
> > > Is that possible?
> > >
> >
>