how to display a audio file in matrix format?
15 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Jan
2017-3-16
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!