conversion of .txt to .wav using wavwrite
6 次查看(过去 30 天)
显示 更早的评论
I need to convert a .txt file comprising of a bitstream (16 bit values on a line) produced by a vhdl module to a .wav file . My project involves the encryption and decryption of speech carried out on an fpga and i intend to use wavwrite to produce the sound file from the encrpted data for simulation purposes. Any help would be appreciated . Thanks in advance.
0 个评论
回答(1 个)
Daniel Shub
2012-4-30
MATLAB documents the textscan and wavwrite functions pretty extensively.
doc textscan
doc wavwrite
2 个评论
Daniel Shub
2012-5-1
Maybe, if you edit your question to show what have you tried so far and to describe what you are seeing and what you expect to see.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!