[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trasients when playing silence with Matlab

Dear Enrique,

the issue your are experiencing may come from many things. I would suggest you to try with a different soundcard first to discard the soundcard issue.

Then, Matlab does not handle sound cards directly, but rather uses some OS calls. So your issue may also come from your operating system (Linux, Mac OS X, ...). If you replicate the same behavior with a different soundcard, I would suggest to contact Matlab support directly with a complete description of your issue with code, they usually answer in a day or two.

That said, I know that the command "sound" is very brittle on many OSes. You can try the "audioplayer" that uses JAVA calls and may behave better for your purpose (type "doc audioplayer" in your Matlab command prompt for usage).


Mathieu Lagrange
Lopez-Poveda, Enrique A. a écrit :
Dear friends,

Here is a technical question on a problem that is driving us crazy.

We want to play sounds from Matlab through an RME Fireface 400 sound card. The problem is that when we play a "silence" interval (array of zeros) we can hear (and even record) a clear transient at the onset of the _silence_ signal. We would very much like to get rid of that onset transient. Any cues as to how to get rid of it?

Thank you so much in advance.

- Enrique

Enrique A. Lopez-Poveda, Ph.D.
Instituto de Neurociencias de Castilla y León
Universidad de Salamanca
Av. Alfonso X El Sabio S/N, 37007 Salamanca, Spain.
Phone: (+34) 923 294 500 ext. 1957
Fax: (+34) 923 294 750
E-mail: ealopezpoveda@xxxxxxx