C# - 从导入的 MP3 或 WAV 文件中检测军鼓声音。可能的?
我对这个问题感到困扰。从声音文件中检测小军鼓声音、生成其波形并强调检测到小军鼓的部分的程序。这个程序可能存在吗? :) 这是分配给我的研究/论文。我一直在研究可能的算法,并且已经看到了一些初步研究。这属于声音检测领域吧?您能告诉我一些我可以使用的想法或任何材料、代码片段吗?我真的很感激。谢谢你! :)
Im having troubles about this problem. A program that detects a snare drum sound from a sound file, generates it's wave form, and emphasize the part where the snare drum was detected. Does this program, perhaps exist? :) This is the research/thesis assigned to me. I've been researching about possible algorithms and i've seen some of initial research. This is included in the field of sound detection right? Can you please tell me some ideas or any material, code snippets that I can use? I really appreciate it. Thank You! :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
打击乐声音有不同的特点。底鼓在频谱的较低部分具有最多的能量,而镲片/钹在频谱的高端具有最多的能量。小军鼓的分布通常相当宽,并且在音色上与宽带噪声相似。因此,要检测到这一点,您必须对信号执行傅立叶变换,以在频域而不是时域中执行分析,并检测冲击性宽带噪声。您最好在 DSP 论坛而不是程序员论坛上提问。
Percussion sounds have different characteristics. Kick drum has most energy in the lower part of the frequency spectrum and cymbals/hats have most energy in the high end of the frequency spectrum. Snare drum distribution is generally fairly wide and similar in timbre to wideband noise. So to detect this, you'd have to perform a fourier transform over the signal to perform analysis in the frequency domain rather than the time domain, and detect percussive wideband noise. You'd definitely be better off asking this on a DSP forum rather than a programmer's forum.
我不知道这是否对您有帮助,但是此处您可以获得一个 .net 库(对于非商业)可以做这样的事情。你可以用 ILSpy 看看他们的算法...
I don't know if that helps you, but HERE you can get a .net Library (free for non-commercial) which can do such stuff. May you can use ILSpy to take a look at their algorithems...