所有音频 [英] All Audio frequencies

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

问题描述

我如何获得(可能吗?)所有音频频率现在在系统中播放以写入一些声音可视化器?是否有任何库c ++或c#?
提前感谢

How can I get(Is it possible?) all audio frequencies are now playing in the system for writing some sound visualizer? Is there any library c++ or c#? Thanks in advance

推荐答案

基本步骤是:


  • 将窗口函数应用于样本块(例如1024个样本,Hanning窗口)

  • 对窗口样本执行实时复数FFT

  • 取每个FFT输出bin的大小( sqrt(re * re + im * im)

  • 在所得到的功率谱估计中

  • 每个峰的bin索引对应于该组件的频率

  • apply window function to block of samples (e.g. 1024 samples, Hanning window)
  • perform real-to-complex FFT on windowed samples
  • take magnitude of each FFT output bin (sqrt(re * re + im * im))
  • identify peaks in resulting power spectrum estimate
  • the bin index of each peak corresponds to the frequency of that component

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

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