Sound.triangleWave

From MiniScript Wiki
Revision as of 15:12, 2 April 2020 by JoeStrout (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sound.triangleWave returns a 128-element list approximating a triangle wave. For use with the waveform parameter of Sound.init. This produces a clean sound, almost like a sine wave.