Clojure / Java:用于声音频谱分析的Java库? [英] Clojure/Java: Java libraries for spectrum analysis of sound?

查看:323
本文介绍了Clojure / Java:用于声音频谱分析的Java库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找一个可以接受一段音频数据的库,并返回给定频段内的平均幅度。

I am looking for a library that can accept a chunk of audio data and return the average amplitude over time within a given frequency band.

我已经问过这个问题在comp.dsp,但我清楚的是,获取的专有技术来构建这个我自己使用基本的FFT库将需要比我目前更多的时间和精力。这是我的原始问题与更多德泰: http://groups.google .com / group / comp.dsp / browse_thread / thread / e04f78d439e9e2bd

I've already asked this question over at comp.dsp, but it's clear to me that acquiring the know-how to build this on my own using a basic FFT library is going to require more time and energy than I have at present. Here is my original question with more detai: http://groups.google.com/group/comp.dsp/browse_thread/thread/e04f78d439e9e2bd

我发现了很多很好的音效库(我使用JSyn过去),但是没有一个设置为返回关于声音样本的快速和脏的光谱信息。

I've found lots of nice libraries for playing with sound (I used JSyn in the past), but none of these seem to be set up to return quick and dirty spectral information about a sound sample.

任何指针都会非常感谢。 >

Any pointers would be much appreciated.

推荐答案

博客展示了一个非常简洁的FFT算法的java实现,读取音频文件并计算频谱。

This Blog shows a java implementation of the FFT algorithm which is very concise and reads audio files and calculates the frequency spectrum.

您也可以选中 Jtranforms开源FFT库

不幸的是博客已经走了,这里有一些关于FFT的其他资源。

Unfortunately the blog is gone, here are some other resources on FFT.

  • http://www.wikijava.org/wiki/The_Fast_Fourier_Transform_in_Java_(part_1)
  • http://www.royvanrijn.com/blog/2010/06/creating-shazam-in-java/
  • Not java but added for the explanation: https://jakevdp.github.io/blog/2013/08/28/understanding-the-fft/

这篇关于Clojure / Java:用于声音频谱分析的Java库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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