zzril / aula

Audio programming language and interpreter
MIT License
0 stars 0 forks source link

Allow for pauses #16

Open zzril opened 1 day ago

zzril commented 1 day ago

Extend the language syntax to allow for pauses of arbitrary length.

This also requires an update to the Note type, either by adding a is_pause type of flag, or by using some special frequency value.
(On a side note (no pun intended), we could also consider shrinking the data types of pitch and length. 8-bit integers might be well enough, or we get strange results when the length of a note is of the same order of magnitude as the phase length.)

zzril commented 1 day ago

A suggestion of how pauses could be implemented was made here.