Displaying 2 results from an estimated 2 matches for "r48000".
Did you mean:
48000
2007 Aug 15
2
pcspkr wave encoding
...rivileged operation these
days, one would just convert it to PCM and use soundcard output. The
program "sd" I have written does just that. The two numerical
parameters a and b denote the square and sine rate.
# 0:1 rate <=> 0% square, 100% sine generation
$ ./sd ihold.sd 0 1 | sox -r48000 -s -w -t raw - ihold-sine.wav
# 1:2 rate <=> 33% square, 66% sine generation
$ ./sd ihold.sd 1 2 | sox -r48000 -s -w -t raw - ihold-square1-sine2.wav
# 1:0 rate <=> 100% square, 0% sine generation
$ ./sd ihold.sd 1 0 | sox -r48000 -s -w -t raw - ihold-square.wav
Now this is what happ...
2007 Aug 15
0
pcspkr wave encoding
...days, one would just convert it to PCM and use soundcard output. The
> program "sd" I have written does just that. The two numerical
> parameters a and b denote the square and sine rate.
>
> # 0:1 rate <=> 0% square, 100% sine generation
> $ ./sd ihold.sd 0 1 | sox -r48000 -s -w -t raw - ihold-sine.wav
>
> # 1:2 rate <=> 33% square, 66% sine generation
> $ ./sd ihold.sd 1 2 | sox -r48000 -s -w -t raw -
> ihold-square1-sine2.wav
>
> # 1:0 rate <=> 100% square, 0% sine generation
> $ ./sd ihold.sd 1 0 | sox -r48000 -s -w -t raw - ihol...