views:

352

answers:

1

I have a .pcm file with a sound that I would like to add different effects to. What I am looking for is a simple way (prefeably a library) that can help me with these effects.

My top priority is to change the pitch of the audio.

I would like a function that takes a byte array (or float), and changes the pitch of the audio in that array.

A: 

java has an API for dealing with wav and midi files,it's included in the JDK by default

this is the documentation for the java sound API

Phobia
I don't think the java sound API is able to change the pitch. Or am I wrong on this point?
Henrik
I'm not very familiar with the API,but that's the closest the JDK can offer,you mgight want to check OpenAL or other third-party APIs
Phobia