Scaling question


#1

Hello :slight_smile:

I am trying to do some scaling in Axoloti and I have tried a few different ways of doing the scaling. But most of them are just too clumsy and involves too many objects. WHat Id like to do is scale 64, 32, 16, 8, 4, 2, so each interval is corresponding to an octave, 12 semitones.. By that I mean if I turn a regular dial the values send out form the dial should be:

64-32 range = when going from 64 to 32, the value should ONLY change + 12 semitones
32-16 range = when going from 32 to 16, the value should ONLY change + 12 semitones
8-4 = when going from 8 to 4, the value should ONLY change + 12 semitones.
And so on until it reaches 1.... Kind of dynamic scaling...

Basically each time the value of the parameter is halfed, the out will be shifted one octave.

Any ideas? Thanks


#2

Ahhh log mathematics did the trick.... :slight_smile:


#3

Would you mind posting how you hooked this up?


#4

Here you go :slight_smile:

This is made for compensating time and pitch when stretching with a table/read NOT the table/play........

So now we have in table/read timestretch which is independent of pitch..

Dargwm :heart_eyes: Have been trying to figure this out since i got Axoloti. Finally got it right... Just neve occured to be to try the logarithmic trick.. But it worked .)

THe output scaled 16 to 12 is after the div/2 ... for pitch.,,,,.... the regular one for stretch you take directly from the dial.

And it works pretty decently. Happy happy :slight_smile: