How can I play sound 1 after each other.

조회 수: 12 (최근 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 CenterFile 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!

Translated by