Musical scale: Difference between revisions
m
→{{header|Wren}}: Minor tidy
imported>RemoW |
m (→{{header|Wren}}: Minor tidy) |
||
Line 1,800:
{{libheader|Wren-sound}}
As Wren-cli doesn't have any built-in audio support, we instead build a .wav file which can then be played using a utility such as rhythmbox or SoX.
<syntaxhighlight lang="
var sampleRate = 44100
Line 1,818:
It's also possible to play .wav files which (preferably) have a sample rate of 44.1 kHz using DOME:
{{libheader|DOME}}
<syntaxhighlight lang="
class Main {
|