converting matrix with signal data to a .wav file
이전 댓글 표시
x=0.9.*[zeros(1,4600) ones(1,200) zeros(1,300) ones(1,200) zeros(1,4700)];
wavwrite(x,10000,8,filename)
trying to create a matrix of signal data (1's and 0's to create an amplitude modulated signal) which can be converted to a .wav file. when I generate the .wav file and use read .wav file function to see the plot, the signal is not distorted. However, when I play the wav file from my computer (which is rigged to an oscilloscope) it is so distorted that its unrecognizable
댓글 수: 1
Walter Roberson
2012년 7월 24일
Star Strider did caution you about that.... http://www.mathworks.co.uk/matlabcentral/answers/44226#answer_54258
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!