search for: sine2

Displaying 2 results from an estimated 2 matches for "sine2".

Did you mean: sine
2007 Aug 15
2
pcspkr wave encoding
...wo 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 happens when encoding to FLAC: $ flac -8 ihold-sine.wav ihold-sine.wav: wrote 2422225 bytes, ratio=0.353 $ flac -8 ihold-sine2-square1.wav ihold-sine2-squ...
2007 Aug 15
0
pcspkr wave encoding
...ote 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 happens when encoding to FLAC: > > $ flac -8 ihold-sine.wav > ihold-sine.wav: wrote 2422225 bytes, ratio=0.353 > >...