All of lore.kernel.org
 help / color / mirror / Atom feed
* unwanted echo of audio input
@ 2003-06-15 17:08 Chris Raphael
  2003-06-30 14:36 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Raphael @ 2003-06-15 17:08 UTC (permalink / raw)
  To: alsa-devel


Alsa Folks,
  I am using ALSA 9.0 on a Dell Inspiron 8200 which uses the Intel 
82801CA-ICH3 card and CS4205 chip set.  I am writing a program
that simulaneaously samples and plays audio.  The problem I am
having is that everything that is captured by the microphone is
automatically echoed to the speaker.  I have tried all of the
mixer settings I can think of using alsamixer and cannot make the
problem go away.  I have also tried to fix the problem from a c
program using the OSS-style commands

  fd = open("dev/mixer",O_RDWR);
  vol = 0;	
  ioctl(fd,MIXER_WRITE(SOUND_MIXER_IMIX),&vol);
 
but without success --- the volume value is set to 0, as it should be,
but no change in what actually happens.  (All of my other sound-related
code uses the ALSA API).  
  

I am thinking that it is possible to avoid this echoing since, using
Windows, I was able to play from the cd and record without a similar
mixing of input and output on the same machine.

I would really appreciate any help with this.  It might not be relevant,
but the program I'm working on is an automatic accompaniment system.
The input is the soloist's musical sound signal and the output is
the orchestra recording, warped to follow the soloist.
There are some nice examples on my the web page: 

 http://fafner.math.umass.edu/music_plus_one

Christopher Raphael


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: unwanted echo of audio input
  2003-06-15 17:08 unwanted echo of audio input Chris Raphael
@ 2003-06-30 14:36 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2003-06-30 14:36 UTC (permalink / raw)
  To: Chris Raphael; +Cc: alsa-devel

At Sun, 15 Jun 2003 13:08:13 -0400,
Chris Raphael wrote:
> 
> 
> Alsa Folks,
>   I am using ALSA 9.0 on a Dell Inspiron 8200 which uses the Intel 
> 82801CA-ICH3 card and CS4205 chip set.  I am writing a program
> that simulaneaously samples and plays audio.  The problem I am
> having is that everything that is captured by the microphone is
> automatically echoed to the speaker.  I have tried all of the
> mixer settings I can think of using alsamixer and cannot make the
> problem go away.  I have also tried to fix the problem from a c
> program using the OSS-style commands
> 
>   fd = open("dev/mixer",O_RDWR);
>   vol = 0;	
>   ioctl(fd,MIXER_WRITE(SOUND_MIXER_IMIX),&vol);
>  
> but without success --- the volume value is set to 0, as it should be,
> but no change in what actually happens.  (All of my other sound-related
> code uses the ALSA API).  

this echo volume corresponds to "Mic Playback Volume" and "Mic
Playback Switch".  these values have nothing to do with the capture
volume.  please try to mute "Mic" volume in alsamixer.


Takashi


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-30 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-15 17:08 unwanted echo of audio input Chris Raphael
2003-06-30 14:36 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.