读取wav文件在Java中 [英] Reading wav file in Java

查看:722
本文介绍了读取wav文件在Java中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想读在Java中的WAV文件,我会向他们K-均值分类。

I want to read wav files in Java and I am going to classify them with K-means.

我如何读取在Java中的WAV文件,并将它们分配到一个数组或类似的东西(你可以认为它的想法),对它们进行分类?

How can I read wav files in Java and assign them into an array or something like that(you can suggest ideas for it) to classify them?

编辑:我想使用的API,用于读取WAV文件,对于K-均值

I want to use APIs for reading wav files and for K-means.

推荐答案

本文章由A Greensted:阅读和写作在java中的WAV文件应该是有帮助的。该WavFile类是非常有用的,它可以调整到返回整个数据阵列,而不是缓存片段。

This article by A Greensted: Reading and Writing Wav Files in java should be helpful. The WavFile class is very useful and it can be tweaked to return the entire data array instead of buffered fragments.

这篇关于读取wav文件在Java中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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