getType()

Returns current type of oscillator eg. 'sine', 'triangle', 'sawtooth' or 'square'.

リターン

String: type of oscillator eg . 'sine', 'triangle', 'sawtooth' or 'square'.
Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!

関連するリファレンス