Yahoo Groups archive

Analogue-sequencer

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

Message

RE: [analogue-sequencer] note range

2004-08-23 by Colin f

> the note range feature is awesome, but i do have some 
> questions about it.
> first, why does the range go from higher to lower as you turn the pot?

Why not ? ;-)

> that seems odd to me. easy to get used to though. also, what do the
> numbers mean? they don't seem to indicate octaves... e.g., a 
> range of 5
> with a base note of C0 will go all the way up past F#8.

The value is 4 minus the number of bits to the right each knob value is
shifted. 
A shift to the right is a divide by two. The underlying range of the
pots is 128. So the ranges are 128, 64, 32 and 16 notes.
This is by far the simplest implementation possible, coz I'm lazy.
I was going to change it so that the ranges were in integer numbers of
octaves, but this will need a fixed point division routine which I
haven't written yet, and might be a bit too code hungry to be worthwhile
- you can't convert a range of 128 to ranges of 120, 108, 96, etc
without doing some fractional division.

Cheers,
Colin f

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.