Reading and writing in audio file

2 ビュー (過去 30 日間)
Deepthi
Deepthi 2012 年 10 月 30 日
編集済み: Walter Roberson 2016 年 1 月 15 日
Hello Everyone!
Im doing project on audio steganography. Im reading wav file in integer format so that i can apply lwt to get integer coefficients. Now after embedding secret text i need to re-construct the audio by applying ilwt and converting it to double precision and save in wav file. It will be gratefull if you help me to convert the coefficient values after applying ilwt, to double. Here is code
[y1,fs3,nbit]=wavread(file,'native'); % read wave file in int8 format
[CA,CD] = lwt(double(y2),LS); %Applying lwt on each sample
now i've my ilwt coefficients in vector x. How do I convert it to double and then to audio. thank u

回答 (1 件)

Sachin Ganjare
Sachin Ganjare 2012 年 10 月 30 日
  2 件のコメント
Deepthi
Deepthi 2012 年 10 月 30 日
Thanks for your reply. But the link you have sent, they are dealing with audio without converting it to integer. And my problem is in converting stego audio from integer to double.
Sachin Ganjare
Sachin Ganjare 2012 年 10 月 30 日

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAudio I/O and Waveform Generation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by