数据转换为声音和回 [英] Convert Data to sound and back
问题描述
是否有库,在那里,可以将数据(文本文件等),以声音和回原来的数据?
Are there libraries out there that can convert data (text files, etc) to sound and back to the original data?
声音可以传送我想任何媒体,无论是广播,等等。我只是需要将数据存储在声音文件。
The sound can be transmitted any medium I wish, whether radio, etc. I just need to store data in sound files.
方案:
第一步:转换.docx文件与嵌入图像为.wav
step1: Convert a .docx file with embedded images to .wav.
第二步:发送了无线电波
第三步:这.WAV转换回.docx文件与嵌入图像
step3: Convert this .wav back to the .docx file with the embedded images.
此概念可以应用于任何数据。
This concept can be applied to any data.
科技:
.NET 或Java
推荐答案
我认为介质是很重要的,因为其他的因素,如文件的大小和可用的传输时间。一种简单的方法是将转换您的文件为文本(UUEN code应该做的伎俩),然后将转换为莫尔斯code:的 HTTP://www.$c$cproject.com/KB/vb/morse$c$c.aspx
I think the medium is important, as are other factors such as the size of the files and the transmission time available. A simple algorithm would be to convert your files to text (UUENCODE should do that trick) then convert to morse code : http://www.codeproject.com/KB/vb/morsecode.aspx
莫尔斯为您提供了一个简单的字母能够生存传输一个相当嘈杂的无线电频道。
Morse gives you a simple alphabet able to survive transmission over a fairly noisy radio channel.
如果您的载体是清洁的转换你的UUEn codeD文件成一系列频率的每个字符大概也行,而且是很容易去code在另一端之一的Frequency分析仪在C#
If your carrier is cleaner a conversion of your UUEncoded file into a series of frequencies one per character would probably also work, and be easy enough to decode at the other end, Frequency Analyzer in C#
这篇关于数据转换为声音和回的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!