Is it possible to save audio sample values from alteration while using wavwrite function of matlab?

1 Ansicht (letzte 30 Tage)
Hello, I am manipulating values of audio samples for audio steganography.When i have my manipulated audio sample object, i want to write it as a new audio file using wavwrite. But when i create object of this newly created audio file, i find sample values different from the previous values of samples which i had manipulated.
Is there any method to control wavwrite function in order to keep my sample values as same as these were before wavwrite?

Antworten (1)

Image Analyst
Image Analyst am 21 Apr. 2015
You're either writing out the same, original audio data, not the altered data like you thought, or you're reading in the same original audio data, not the altered file.
  6 Kommentare
manisha sharma
manisha sharma am 22 Apr. 2015
As you asked i tried it at different frequencies like 88200,10000,1000 and so on. But it still causing problem.
I have no idea what to do next.Please help if you can.
Thanks...
manisha sharma
manisha sharma am 23 Apr. 2015
Okay finally i got the way to do it.This time i have chosen the bits in wavwrite as '32' like this:
>>wavwrite(y_enc,44100,32,'new_audio.wav')
It is working for me.
I think this can be helpful for others having the same problem.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by