counter, count range?

DonK's icon

I want to make a sequencer where I can specify the range.

For example, say I have a 16 step sequencer. I want to play the range of steps from 3 to 11, and have the playing ping-pong (aka updown). How would I force counter to do this? And still have control over the range, like being able to change it from 3-11 to 5 through 9.

Basically, I would love a counter that can change the first step since the counter can specify the highest step in my sequencer. Would I need to patch up something that would continuously reset the current step to whatever I enter into my 1st step number box?

Is there an object like counter, but with that 1st step built in?

Thanks.

Steven Miller's icon

You could change the range to get different lengths and then add a
constant number to the output to get the starting position.

On Feb 28, 2008, at 4:47 PM, Don K wrote:

>
> I want to make a sequencer where I can specify the range.
>
> For example, say I have a 16 step sequencer. I want to play the
> range of steps from 3 to 11, and have the playing ping-pong (aka
> updown). How would I force counter to do this? And still have
> control over the range, like being able to change it from 3-11 to 5
> through 9.
>
> Basically, I would love a counter that can change the first step
> since the counter can specify the highest step in my sequencer.
> Would I need to patch up something that would continuously reset
> the current step to whatever I enter into my 1st step number box?
>
> Is there an object like counter, but with that 1st step built in?
>
> Thanks.
>
>

----
Steven M. Miller
Professor, Contemporary Music Program
College of Santa Fe

Home
SFIFEM
Atrium Sound Space
OVOS
CMP

Chris Muir's icon

On Feb 28, 2008, at 3:47 PM, Don K wrote:

> Is there an object like counter, but with that 1st step built in?

Yeah, it's called counter.

Max Patch
Copy patch and select New From Clipboard in Max.

Chris Muir
cbm@well.com

DonK's icon

Placing foot in my mouth. I didn't know you could do that. I even looked at the help file, but I guess I was busy looking at the inlets and not the important bits in the help file.

Thanks yet again Chris!

roger.carruthers's icon

..and on the gui side, be sure to check out
ad.rangeslider from www.underhund.com/anders/max.php -
like rangeslider, but better
cheers
Roger

--- Don K wrote:

>
> I want to make a sequencer where I can specify the
> range.
>
> For example, say I have a 16 step sequencer. I want
> to play the range of steps from 3 to 11, and have
> the playing ping-pong (aka updown). How would I
> force counter to do this? And still have control
> over the range, like being able to change it from
> 3-11 to 5 through 9.
>