0 Members and 1 Guest are viewing this topic. Read 17071 times.
I noticed right away a significant difference with internet streaming, I listen to a classic NPR station and somehow I was misguided about bitrate/samplerate. I had to enable 44100:16:2 resampling in order to listen to this station.With FreeBSD/OSS4 I had nothing special to configure to listen to the same station. And the Music Streamer II shows the LED 96K lit up.The sound quality of this internet stream is so much better, unbelievable!
audio_output { type "alsa" name "Music Streamer II (no resampling)" device "hw:1,0" mixer_type "none" enabled "yes"}audio_output { type "alsa" name "Music Streamer II (internet radio)" device "hw:1,0" format "44100:16:2" mixer_type "none" enabled "no"}
Thank you, gentlemen,The output section in my mpd.conf on Debian looked like this:Code: [Select]audio_output { type "alsa" name "Music Streamer II (no resampling)" device "hw:1,0" mixer_type "none" enabled "yes"}audio_output { type "alsa" name "Music Streamer II (internet radio)" device "hw:1,0" format "44100:16:2" mixer_type "none" enabled "no"}I don't have a /etc/asound.conf setupHere is the internet stream that I needed to resample when using ALSA, and what plays right away with OSS4:http://www.publicbroadcasting.net/kwgs/ppr/kwgs.m3uDo you listen to this stream without resampling???From the squeezebox forums I gathered that many customers do experience 'chip monks' with internet radio. So, I didn't think I had incorrect configuration of ALSA.I also was not able to get OSS4 working on Debian, I got write errors to the USB hardware.FreeBSD on the other hand works out of the box, I load the driver snd_uaudio and I set dev.pcm.1.bitperfect=1.I realize now that possibly I listen to upsampled sound, there are perhaps more settings to research. Being able to hear the difference between ALSA and OSS4 got me excited. It's not that the sound before was that bad. I had to find a way to express the difference that I experience.
As far as FreeBSD/OSS vs Linux/ALSA, you should only be comparing 16/44.1 and 24/96 native files between the two. And at least for a couple of weeks to really claim that one is better than the other.
cat /dev/sndstatFreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)Installed devices:pcm0: <Envy24HT audio (Generic)> (play/rec) defaultpcm1: <USB audio> (play/rec
pcm1:play:dsp1.vp0 /dev/dsp1.vp0 (device index 7)
mplayer -ao oss:/dev/dsp1.vp0 xxxx.xxx
pcbsd# mplayer -ao oss:/dev/dsp1.vp0 http://shoutcast.omroep.nl:8068/ MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer TeamPlaying http://shoutcast.omroep.nl:8068/.Resolving shoutcast.omroep.nl for AF_INET6...Couldn't resolve name for AF_INET6: shoutcast.omroep.nlResolving shoutcast.omroep.nl for AF_INET...Connecting to server shoutcast.omroep.nl[145.58.33.95]: 8068...Name : AVRO Baroque Around The ClockGenre : classicalWebsite: http://klassiek.avro.nlPublic : noBitrate: 256kbit/sCache size set to 320 KBytesCache fill: 0.00% (0 bytes) ICY Info: StreamTitle='Antonio Vivaldi - Susan Gritton, Catrin Wyn-Davi - Beatus vir RV597 (Hyperion CDS44171/81)';StreamUrl='http://klassiek.avro.nl';Cache fill: 12.50% (40960 bytes) Audio only file format detected.==========================================================================Opening audio decoder: [mp3lib] MPEG layer-2, layer-3AUDIO: 44100 Hz, 2 ch, s16le, 256.0 kbit/18.14% (ratio: 32000->176400)Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)==========================================================================AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)Video: no video ===== PAUSE =====A: 532.1 (08:52.1) of -0.0 (unknown) 0.5% 46%
pcbsd# mplayer -ao oss:/dev/dsp1.vp0 CDImage.apeMPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer TeamPlaying CDImage.ape.libavformat file format detected.[lavf] stream 0: audio (ape), -aid 0Clip info: Year: 1996 Genre: Classical Title: D:\RIP\CDImage Comment: Exact Audio Copy Album: Le�ons De T�n�bres - Christie, Les Arts Florissants==========================================================================Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decodersAUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)Selected audio codec: [ffape] afm: ffmpeg (FFmpeg Monkey's Audio)==========================================================================AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)Video: no video ===== PAUSE =====A:1767.1 (29:27.0) of 2849.1 (47:29.1) 1.7%
Filesystem Size Used Avail Capacity Mounted on/dev/ad4s1a 496M 172M 284M 38% /devfs 1.0K 1.0K 0B 100% /dev/dev/ad4s1e 496M 12K 456M 0% /tmp/dev/ad4s1f 3.9G 358M 3.2G 10% /usr/dev/ad4s1d 1.9G 4.4M 1.8G 0% /var/dev/ad4s1g 894G 399G 424G 49% /var/pub