how to display a audio file in matrix format?
조회 수: 6 (최근 30일)
이전 댓글 표시
I want to read a wav file in matlab and then i want to perform some operation on the audio file i.e. i want to embedd data into the audio file bits, how can i do that?
댓글 수: 0
답변 (1개)
Jan
2017년 3월 16일
Signal = audioread(FileName);
This imports the audio signal as matrix. I assume you require it in an integer format for the bit access. If Signal has the double format, use e.g.:
SignalInt = uint16(Signal * intmax('uint16'));
The embedding of the data cannot be answered in general. Please explain, what you want to do with details.
댓글 수: 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!