레퍼런스 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!

관련 레퍼런스