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!