[icecast] question on downsampling

Jack Moffitt jack at xiph.org
Thu Oct 18 07:16:03 UTC 2001

> 2. Downsample in DarkIce, by simple means. For example, from 44.1kHz ->
> 22.05kHz, simply send one sample for every two imput samples, taking
> their average value. This shouldn't result in large computing overhead,
> and I could also do it for vorbis.

This isn't good enough.  Just rip out lame's downsampling code (or
sox's) and use that (as long as your also under a compatible license).
Those are both pretty good.  Averaging every two samples just doesn't
cut it :)


--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-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 Icecast mailing list