Jipes音频特效计算Java库
Jipes 是一个开源的 Java 类库用于高效的计算音频特效,可获取音频文件的元数据信息。
示例代码:
SignalPipeline<AudioBuffer, Float> pipeline = new SignalPipeline<AudioBuffer, Float>( new Mono(), zeroCrossingRateProcessor ); SignalPump<AudioBuffer> stereoPump = new SignalPump<AudioBuffer>(new AudioSignalSource(new File("stereo.wav"))); stereoPump.add(pipeline); Map<Object, Object> results = stereoPump.pump(); Float zeroCrossingRate = (Float)results.get(id);
评论