how to display a audio file in matrix format?

8 visualizaciones (últimos 30 días)
akash bais
akash bais el 16 de Mzo. de 2017
Respondida: Jan el 16 de Mzo. de 2017
I want to read a wav file in matlab and then i want to perform some operation on the audio file i.e. i want to embedd data into the audio file bits, how can i do that?

Respuestas (1)

Jan
Jan el 16 de Mzo. de 2017
Signal = audioread(FileName);
This imports the audio signal as matrix. I assume you require it in an integer format for the bit access. If Signal has the double format, use e.g.:
SignalInt = uint16(Signal * intmax('uint16'));
The embedding of the data cannot be answered in general. Please explain, what you want to do with details.

Categorías

Más información sobre Audio I/O and Waveform Generation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by