freq()

Set frequency of an oscillator to a value. Or, pass in an object such as an oscillator to modulate the frequency with an audio signal.

उदाहरण

सिंटैक्स

freq(Frequency, [rampTime], [timeFromNow])

पैरामीटर्स

Frequency

Frequency in Hz or modulating signal/oscillator

rampTime

Ramp time (in seconds)

timeFromNow

Schedule this event to happen at x seconds from now

Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!

संबंधित संदर्भ