Sound.squareWave
Jump to navigation
Jump to search
Sound.squareWave
returns a 128-element list approximating a square wave.
For use with the waveform parameter of Sound.init.
This produces a buzzy, old-school "chip tone" sound.