audio

Stack effect: ( n -- )

Set the audio sample amplitude for the current time.

Unique to Haiku Forth. Expects a value in -1 to 1. Waveforms can be created using oscillating functions like sin.

NOTE: In Haiku Forth (unlike Traditional Forth), all stack cells and memory locations are floating point numbers.

Forth Haiku Glossary