Difference between revisions of "Sound.squareWave"

From MiniScript Wiki
Jump to navigation Jump to search
(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...")
 
 
Line 1: Line 1:
 
<c>[[Sound]].squareWave</c> returns a 128-element list approximating a square wave.
 
<c>[[Sound]].squareWave</c> returns a 128-element list approximating a square wave.
 
=== Usage Notes ===
 
 
For use with the ''waveform'' parameter of [[Sound.init]].
 
For use with the ''waveform'' parameter of [[Sound.init]].
 
This produces a buzzy, old-school "chip tone" sound.
 
This produces a buzzy, old-school "chip tone" sound.
  
 
[[Category:Mini Micro]]
 
[[Category:Mini Micro]]

Latest revision as of 15:12, 2 April 2020

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.