[英]Remove a specific frequency from mp3 file
I'm wondering what methods are available to remove a specific frequency from an mp3 or wav file using C#. 我想知道有什么方法可以使用C#从mp3或wav文件中删除特定频率。
I'm hoping for a library or example where I can input an mp3 ( or any other format, ill convert my soundtrack to whatever format is needed) and a single frequency (or list of frequencies) to remove from the file. 我希望找到一个可以输入mp3(或任何其他格式,将音轨转换成所需格式的文件)和单个频率(或频率列表)以从文件中删除的库或示例。
If there are no methods of doing this in C# I'll accept solutions using other languages as well. 如果在C#中没有这样做的方法,我也会接受使用其他语言的解决方案。
I prefeer solutions using free or open source libraries. 我建议使用免费或开放源代码库的解决方案。
I would suggest converting your MP3 to PCM, then using a time-domain filter. 我建议将您的MP3转换为PCM,然后使用时域滤波器。
A basic approach would be to use the notch filter described here: 一种基本方法是使用此处描述的陷波滤波器:
http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt
with an implementation like this: 具有这样的实现:
http://musicdsp.org/showArchiveComment.php?ArchiveID=174 http://musicdsp.org/showArchiveComment.php?ArchiveID=174
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.