Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Manuel Jander <manuel.jander@usm.cl>
To: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: RE: Sound with metal effect
Date: Fri, 01 Apr 2005 12:58:37 -0400	[thread overview]
Message-ID: <1112374717.3167.21.camel@localhost> (raw)
In-Reply-To: <XFMail.20050401093951.pochini@shiny.it>

Hi,

On Fri, 2005-04-01 at 09:39 +0200, Giuliano Pochini wrote:
> On 31-Mar-2005 Laurielle LEA wrote:
> 
> > I'm integrating ALSA to my voipclient (softphone) and
> > my problem is the sound received by the remote user is
> > with metal effect.
> 
> VoIP uses 8KHz sampling rate IIRC. What did you expect ?

Metal effect indicates bad antialiasing filters. That may be caused by
bad hardware, bad hardware setup or a very bad software emulation. 8KHz
sound obviously does not sound CD-quality, but it should not have
aliasing noise. It should just sound with lower bandwidth, specially
higher frequencies being cutoff. Standard phone bandwidth is between
300-3400 Hz.
Software resampling through removing or adding samples, and doing some
mean value cooking is far from optimal. It would be better to use a
recursive Z-tranform (or whatever math tool you prefer) synthesised
algorithm. Even a small IIR filter for postprocessing would barely
consume any CPU power. Such algorithms are well known and available.

Best Regards
-- 
Manuel Jander
Dipl.-Ing. Fachrichtung Elektronik



-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30

  parent reply	other threads:[~2005-04-01 16:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31 21:28 Sound with metal effect Laurielle LEA
2005-04-01  7:39 ` Giuliano Pochini
2005-04-01 10:07   ` Takashi Iwai
2005-04-01 16:58   ` Manuel Jander [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-04-01 15:17 Laurielle LEA
2005-04-02 17:41 ` Lee Revell
2005-04-04 13:48 Laurielle LEA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1112374717.3167.21.camel@localhost \
    --to=manuel.jander@usm.cl \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=mjander@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox