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 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Walter Roberson
le 2 Fév 2016
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 commentaires
Voir également
Catégories
En savoir plus sur Audio and Video Data dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!