参考 setType()

setType()

Sets the type of the oscillator.

语法

setType(type)

参数

type
String: type of the oscillator. Options: 'sine' (default), 'triangle', 'sawtooth', 'square'
Notice any errors or typos? Please let us know. Please feel free to edit src/Oscillator.js and open a pull request!

相关参考