How can I play sound 1 after each other.

2 ビュー (過去 30 日間)
yujia
yujia 2014 年 10 月 29 日
コメント済み: Image Analyst 2014 年 10 月 29 日
I have a source sound and some other sounds with noises.How can I play the source sound and noised sound 1 by 1? it just like sound(m,fs) sound(Mhat1,fs) sound(Mhat2,fs) sound(Mhat3,fs) 4 sounds

回答 (1 件)

Chad Greene
Chad Greene 2014 年 10 月 29 日
Have you tried this?
mCombined = [m;Mhat1;Mhat2;Mhat3];
sound(mCombined,fs)
  1 件のコメント
Image Analyst
Image Analyst 2014 年 10 月 29 日
Stitching the waveforms together will work as long as fs is the same for all the waveforms. It will sound weird if they're different - some parts will be faster or slower than other parts.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAudio 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