Sending signals to two channels of soundcard

1 次查看(过去 30 天)
Dear all
What function do I have to use to send a signal in one channel and the delayed version in the other channel? Or any suggestion on sending the signals to two different channels
Thank you

回答(1 个)

Walter Roberson
Walter Roberson 2013-9-9
We cannot answer that question without information about your soundcard (built-in? attached to a DAQ? model?), and about what you mean by "channel" in this instance (left vs right?), and about whether you have the Data Acquisition toolbox.
We asked for that information in your previous question but you closed the question instead of providing the information.
  3 个评论
Walter Roberson
Walter Roberson 2013-9-10
then it becomes your responsibility to ensure that the columns of data that you put to the channels are offset by the number of samples that comprise the delay.
Note: if the delay is not an exact multiple of the channel period (that is, 1 divided by the frequency), then you will need to use a fractional delay calculation, which is a bit of a nuisance.
seme
seme 2013-9-10
Thank you for your support,it helped me a lot!!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by