Reply by Ambika Menon January 14, 20102010-01-14
Hi,

I am doing a project on audio watermarking using Matlab. I am facing the
following problem.

I took a small subset of the samples of a .wav file.
I embedded a small bitmap in the LSBs of the wavelet coefficients of this
small set of samples and recreated a new .wav file.

I wrote the file with the wavwrite function.

As the next step, in order to detect the watermark, I read the watermarked
.wav file with the wavread function. Some samples read with the wavread
function were different from those written before (using the wavwrite
function). Only those samples that were manipulated for the embedding of the
bitmap were different.

The difference in these samples were not expected because between the
wavwrite and wavread function, there are no commands. (The call to wavread
function immediately follows the call to the wavwrite function.)

I am using the functions in the following format

WAVWRITE(Y,FS,NBITS,WAVEFILE)

[Y,FS,NBITS]=WAVREAD(FILE)
If anyone has a clue on what is happening, it would be very helpful to me.

Thanks,
kvm