Minim |
|
saw |
Description Constructs a perfect sawtooth wave with the specified duty cycle.Signature Wavetable saw(float dutyCycle) Parameters dutyCycle — float: a sawtooth wave with a duty cycle of 0.5 will be a perfect sawtooth wave that smoothly changes from 1 to -1 with a zero-crossing in the middle. By changing the duty cycle, you change how much of the sawtooth is below zero. So, a duty cycle of 0.2 would result in 20 percent of the sawtooth below zero and the rest above. Duty cycle will be clamped to [0,1].Returns Wavetable Related WavesWavetable Waveform Example None available Usage Web & Application |