Sending signals to two channels of soundcard
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Walter Roberson
on 9 Sep 2013
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 Comments
Walter Roberson
on 10 Sep 2013
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.
See Also
Categories
Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!