Difference between revisions of "Sound.triangleWave"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "<c>Sound.triangleWave</c> returns a 128-element list approximating a triangle wave. === Usage Notes === For use with the ''waveform'' parameter of Sound.init. This produc...")
 
Line 1: Line 1:
<c>Sound.triangleWave</c> returns a 128-element list approximating a triangle wave.
+
<c>[[Sound]].triangleWave</c> returns a 128-element list approximating a triangle wave.
  
 
=== Usage Notes ===
 
=== Usage Notes ===

Revision as of 22:41, 1 April 2020

Sound.triangleWave returns a 128-element list approximating a triangle wave.

Usage Notes

For use with the waveform parameter of Sound.init. This produces a clean sound, almost like a sine wave.