Jump to content

Play recorded sounds: Difference between revisions

(Added Wren)
Line 391:
 
-Suitable for playing sound of arbitrary long duration.
 
=={{header|Nim}}==
{{trans|Go}}
Using "sox" to play two sound files mixed. These are "wav" files but "six" recognizes a lot of sound formats.
<lang Nim>import osproc
 
let args = ["-m", "-v", "0.75", "a.wav", "-v", "0.25", "b.wav",
"-d",
"trim", "4", "6",
"repeat", "5"]
echo execProcess("sox", args = args, options = {poStdErrToStdOut, poUsePath})</lang>
 
=={{header|Phix}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.