We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey guys, so I was wondering if someone of you knows how to make frequencies with Processing. For example, I want to make a slider, which can change (sound)frequencies from 1000Hz to 2000Hz. I searched a lot, but I couldn't find any help on how to do this. Maybe someone of you knows, help is greatly appreciated :)
Answers
In the basic Processing Sound Library, I believe you want SinOsc.freq()
https://processing.org/reference/libraries/sound/SinOsc.html
https://processing.org/reference/libraries/sound/SinOsc_freq_.html
Or try importing minim -- in particular, checkout Frequency, Frequency.ofHertz , Frequency.ofPitch etc.
http://code.compartmental.net/minim/frequency_class_frequency.html