[vorbis] I hate myself for asking this, but...

Ignacio Vazquez-Abrams ignacio at openservices.net
Sun Sep 9 14:56:35 PDT 2001



On Sun, 9 Sep 2001, Per Wigren wrote:

> But then I can't hear any artifacts on that particular song in RC2 or even
> beta2 either... Where can I find samples that give hearable artifacts on RC2
> at 160/192 kbps? Are they still there with this libvorbis? If not, I'll start
> the mass-encoding using this lib on friday (I get my new computer - Tyan
> Tiger MP with 2x1.2Ghz Athlon + 512Mb DDRAM on wednesday or thursday - damn I
> can't wait! I've had this P2/266 since 1997 :) ...  Thank you Gian-Carlo!!
> (do you have a nickname?:)

The song "Pug" by The Smashing Pumpkins (Adore) goes into some very deep bass
and under MP3 it usually can't be encoded at less than 256kbps. With Vorbis,
however, it was almost perfect at 160 kbps. I used sox to listen to both the
original .wav and the .ogg at the same time in the left/right channels of my
headphones, and I couldn't hear much difference (the bass was a little
stronger in the .wav).

For those who are curious, here's the command line I used:


---
((ogg123 -d raw -f - pug160.ogg | sox -t raw -r 44100 -c 2 -s -w - -t raw -r
44100 -c 1 -s - | sox -t raw -r 44100 -c 1 -s -w - -t raw -r 44100 -c 2 -s -
pan -1.0 | esdcat) & (sox pug.wav -t raw -r 44100 -c 1 -s - | sox -t raw -r
44100 -c 1 -s -w - -t raw -r 44100 -c 2 -s - pan 1.0 | esdcat))
---

Basically the first sox command takes the .wav or ogg123 output and flattens
it to mono, then the second sox command pans it to one channel.

To switch channels, simply change both arguments to pan to their opposite
polarity.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis mailing list