how can i add a sin wave of 400hz with a wav format audio file of 44100hz in matlab ??
1 次查看(过去 30 天)
显示 更早的评论
i want to superimpose a sine wave of 400hz with a WAV file of 44100HZ. please tell me the of doing it in matlab
0 个评论
回答(1 个)
John Petersen
2013-2-4
44100Hz refers to the sampling rate of the WAV file. Is your sine wave sampled at the same rate but is a 400Hz tone? If so, just multiply the two. If not, then you need to add interpolated points so that the two signals have the same number of points before multiplying.
0 个评论
另请参阅
类别
在 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!