Im doing project on audio steganography. Im reading wav file in integer format so that i can apply lwt to get integer coefficients,how to get output approximation coefficients and detail coefficient as i need these values to be embedded into image.
조회 수: 1 (최근 30일)
이전 댓글 표시
S = audioread('alarm.wav');
sound(S)
LS=liftwave('haar','Int2Int');
[CA,CD]=lwt(double(S),LS);
i am not getting complete code, to solve this problem,
댓글 수: 0
답변 (1개)
Walter Roberson
2016년 2월 2일
audioread does not read in integer format by default.
"If you do not specify dataType, or dataType is 'double', then y is of type double, and matrix elements are normalized values between −1.0 and 1.0."
You need to add on the 'native' parameter to get the integer values stored in the file.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!