diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-22 18:21:49 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-22 18:21:49 -0500 |
| commit | 1394db88470b0280b502588727aec66f5caa405c (patch) | |
| tree | ccb6ab6d2c3b5115efc8257ec81f7fb5397d8a98 /options.bqn | |
| parent | 1751cbbc57680fdbc005b47595db3e7780529921 (diff) | |
Add setters for options.bqn
Diffstat (limited to 'options.bqn')
| -rw-r--r-- | options.bqn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options.bqn b/options.bqn index 2cc055a..5271a79 100644 --- a/options.bqn +++ b/options.bqn @@ -2,6 +2,8 @@ FBytes ⇐ •FBytes fmt ⇐ 1‿16 # Format: 16-bit integer freq ⇐ 44100 # Frequency: 44.1kHz Set ⇐ {fmt‿freq↩𝕩} +SetFBytes ⇐ {FBytes↩𝕏} +SetFreq ⇐ {freq↩𝕩} # For generating random waveforms; result is a shape 𝕩 array of uniform # random numbers between 0 and 1 |
