editing a wave form
Hi any help would be greatly appreciated with this problem. I am curious to know if anyone can tell me how to manipulate a wave form representation of an audio file (.wav) (.mp3) . I want to have the ability to cut pieces of the wave form within a GUI in order to Manipulate the audio file. Can any one please please help?
[329 byte] By [
Neo101a] at [2007-11-26 17:13:48]

> i believe u didnt answer my question! IM trying to> develop a program that does this ...can anyone else> help?I'm sure someone can. You need to ask a specific, Java related question, though.
> i believe u didnt answer my question! IM trying to
> develop a program that does this ...can anyone else
> help?
Actually he did answer your question, you forgot to mention that you intend to develop a program.
Basically you need code to read in a file
Code to uncompress MP3
code to manipulate the data
code to recompress to mp3
code to save the file.
File reading and writing are fairly rudimentary.
Manipulating the data is not trivial but do able. Most sound editors display the samples as a graph, allow you to select areas and manipulate the selection eg cut paste copy scale etc.
If the mp3 is decoded into individual samples, it should be not too hard.
The encoding and decoding mp3 may prove the trickiest, the Java API may have some MP3 classes, I dont know if they do, like you I cant be bothered to look.
May I suggest that you start with a wav file editor and add mp3 fnctionality once you got that working. The file format for wav is readily available.
> Where is the wav file editor u speak of?this is what
> im tryin to create so any code for it would help.
He meant that you start with coding a wav editor. If you run into problems along the way, you can post your code here and ask a specific question.
Good luck.