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!

関連するリファレンス