Sending signals to two channels of soundcard

2 views (last 30 days)
seme
seme on 9 Sep 2013
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

Answers (1)

Walter Roberson
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
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.
seme
seme on 10 Sep 2013
Thank you for your support,it helped me a lot!!

Sign in to comment.

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!