Sc140 feedback saturday

Give it a while to take off… after 3 minutes things start to really happen.

play{ar(LocalOut,o=ar(Splay,ar(LeakDC,ar(DelayC,(i=ar(LocalIn,2))+((1+i)**1b1),1,ar(SinOsc,0.01/(1..8)).exprange)).tanh));1/5*ar(LPF,o,4e3)}
7 Likes

What does 1b1 mean? I see it evaluates to 0.999.

It’s a silly way for me to save characters… :grinning:

from the documentation: Literals | SuperCollider 3.12.2 Help

Scale Degrees

Integer numbers as scale degrees supports accidentals notation by adding the suffixes s for sharp and b for flat. Accidentals are represented as floating point values.

2s == 2.1 // scale degree two, sharp
2b == 1.9 // scale degree two, flat
2ss == 2.2 // scale degree two, double sharp
2bb == 1.8 // scale degree two, double flat

Up to four:

2ssss == 2.4
2bbbb == 1.6

With negative scale degrees it reverses:

-2s == -1.9
-2b == -2.1
-2ss == -1.8
-2bb == -2.2

Accidentals can also specify cents deviation up to 499 cents:

2b50 == 1.95 // scale degree two, fifty cents flat
2s204 == 2.204 // scale degree two, 204 cents sharp

1 Like