参考 setType()

setType()

Sets the type of the oscillator.

示例

语法

setType(type)

参数

type
String: type of the oscillator. Options: 'sine' (default), 'triangle', 'sawtooth', 'square'

相关参考