AudioMasher
[continue autosave] Learn Sporth
log in learn new browse

Hello, Sine

Hello, dear reader. The sine wave is the most fundamental sound of computer music. It seems fitting here that it should be the first bit of Sporth code. Not quite a "hello world", but a "hello sine".

The line below generates an A440 sine wave. This patch will be explained and expanded in the chapters to come:

 440 0.5 sine 

Previous: About this Cookbook | Back | Next: The Stack


Compile & play Stop audio