On Sunday 16 Feb 2014 20:47:44 you wrote:
> I have never seen that in any of the files I have played. That hints that that
> is your input stream, rather than some problem with the soundcard itself,
> although I have also never used your sound card.
> 
> So to be clear, you recorded onto a .wav file that sound. That .wav file did
> not have those transients. You then played that file with aplay, and recorded
> the output, starting the input before the file started playing and ending
> after it stopped.

yes, that's correct. Because aplay does play the wav file well after it is 
"primed"
by playing some sounds with PyAudio, I wonder what PyAudio is doing and whether
I could instruct aplay to do the same through some command-line option.

Just for completeness I should add that I observed this behaviour with the 
soundcard
plugged on different computers, as well as with the Debian testing branch and 
the current
Ubuntu development branch. I removed pulseaudio before running any of these 
tests as it has other
problems for me:

http://lists.freedesktop.org/archives/pulseaudio-discuss/2012-October/014756.html

Probably I can circumvent the onset/offset transient issue with a function that 
automatically
plays some sounds with pulseaudio each time my pyqt4 program starts. I will 
also have to check
that the soundcard plays sounds with 24-bit depth.

Cheers,

Sam

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to