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.)
Extend the language syntax to allow for pauses of arbitrary length.
This also requires an update to the
Note
type, either by adding ais_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
andlength
. 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.)