如何将声音频率转换为音频文件 [英] How to convert sound frequency into an audio file

查看:230
本文介绍了如何将声音频率转换为音频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将声音频率转换为音频文件?

请给我一些有关如何执行此操作的想法.

How can I convert a sound frequency into an audio file?

Please give me some ideas on how to do this.

推荐答案

我将在以下问题的评论部分中发布此问题:
使用托管直接声音和VB.NET播放和可视化WAV文件 [ http://www.iphonedevsdk.com/forum/iphone-sdk- development/45613-creating-audio-programmatically.html [ ^ ]

看起来有些人最近也在其他地方提出了这个问题.也许是你:
http://www.vbforums.com/showthread.php?t=639102 [ ^ ]
I would post this question on the comment section for:
Play and Visualize WAV Files using Managed Direct Sound with VB.NET[^]
Perhaps the author will help you.

Google returned this:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/45613-creating-audio-programmatically.html[^]

It looks like some proposed the question elsewhere recently, too. Perhaps this is you:
http://www.vbforums.com/showthread.php?t=639102[^]


这可能帮助您

http://channel9.msdn.com/coding4fun/articles/Generating-带有C波形振荡器的声波 [ ^ ]

只是基本的笔记.音频是波,并且单个频率以正弦波形式出现.波峰/波谷之间的长度(波长)与其频率有关.因此,如果在特定频率的波形图中以特定间隔放置点,则该点在笛卡尔平面中具有x和y之类的两个值. X是时间,Y是振幅.因此,X只是样本/字节的增量(取决于数据类型). Y是字节中的值.该幅度根据频率曲线逐渐变化.从这个基础上,您可以生成频率的声音样本,然后以任何已知的音频格式写入.

如果要从复杂的声音数据中分离出频率,则傅立叶变换会有所帮助.

我给了一家初创公司,祝您好运
This might helps you

http://channel9.msdn.com/coding4fun/articles/Generating-Sound-Waves-with-C-Wave-Oscillators[^]

Just fundamental notes. The audio is a wave and a single frequency occurs in sine wave form. The length between the crest/ trough (wave length) is related to its frequency. So if you put points at specific intervals in the wave plot of a particular frequency then the point has two values like x and y in Cartesian plane. Here the X is time and Y is amplitude. So X is just increment of samples/bytes (depends on datatype). Y is the value in the bytes. This amplitude vary gradually according to the frequency curves. From this fundamental you could generate sound samples of a frequncy then write in any known audio format.

If you want to separate a frequency from a complex sound data then fourier transform helps.

I given a startup, go on and best of luck


这篇关于如何将声音频率转换为音频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆