First time here? Check out the FAQ!

Curious script example found in CoD - OneOverF

+1 vote
Today's CoD is ramp. One of the Sounds from the Kyma Sound Library shown is called '200 oneOverF + ctrl'.

This sound uses an expression I've not seen before 'OneOverF' a couple of times, eg.

rPch := OneOverF newForKymaWithSeed: 52 states: 128.

I've done some digging but cant find much about this yet. Can anyone shed light on this one?
asked Jun 21, 2017 in Capytalk & Smalltalk by sean-flannery (Adept) (1,490 points)

1 Answer

+2 votes

page 139

Like Random, OneOverF generates random numbers between zero and one, but it tends to generate numbers that are close to one another for awhile, then make a large jump to a new number, then generate numbers close to that one for awhile, etc. It gets its name from the shape of the distribution in the frequency domain: 1/f or the inverse of the frequency; in other words, there tend to be large, slow changes and small, fast changes. To hear what this sounds like, play 200 oneOverF. Try changing the value of the seeds to hear a different set of events.
answered Jun 22, 2017 by sean-flannery (Adept) (1,490 points)
Pink noise in smalltalk! nice find! thanks!
Smiling to myself here as I've discovered that oneOverF is sprinkled liberally throughout the Kyma Sound Library.

It's remmed out as a second option in the script field of any MidiVoice.
Has been there for quite some time, kinda hiding in plain view :)