add duration example

This commit is contained in:
~d6 2023-09-13 01:18:35 -04:00
parent 357da0a3a4
commit 8046ed022f
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ This proposal makes four changes:
The `duration` and `vector` ports precisely specify the audio device
behavior. The given note should be played for a number of milliseconds
specified by `duration`, at which point the `vector` should be called
to play the next note (or next silence).
to play the next note (or next silence). For example if the duration
is `0x04b0` then the note should play for 1.2 seconds (1200 ms).
## More flexible envelope settings