tags:

views:

51

answers:

1

Hi everyone!

My friends and I are making a game in Java that requires a small .wav to be reversed.

Any thoughts? Either there is a library for this, or the solution will be much, much harder.

Just whatever you can think of.

Thanks guys, Alec

A: 

From the Java Sound tutorial:

If you're processing incoming sound, you can read the bytes from a TargetDataLine and then manipulate them. An algorithmically trivial example that can yield sonically intriguing results is to play a sound backwards by arranging its frames in reverse order.

I haven't dug deeply enough to figure out how to do this, but if they write about it as an example it's obviously possible.

Carl Smotricz
Awesome! That's a great start. If anyone out there knows of an implementation, boy would I appreciate a link.Thanks Carl!
Alec Sloman