Sound.squareWave

From MiniScript Wiki
Revision as of 22:39, 1 April 2020 by 71.226.33.30 (talk) (Created page with "<c>Sound.squareWave</c> returns a 128-element list approximating a square wave. === Usage Notes === For use with the ''waveform'' parameter of Sound.init. This produc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sound.squareWave returns a 128-element list approximating a square wave.

Usage Notes

For use with the waveform parameter of Sound.init. This produces a buzzy, old-school "chip tone" sound.