Sending signals to two channels of soundcard
2 次查看(过去 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
0 个评论
回答(1 个)
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
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.
另请参阅
类别
在 Help Center 和 File 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!