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]
# 1
You need some audio editing software like Sound Forge. I believe this question is not related to Java.
aniseeda at 2007-7-8 23:41:46 > top of Java-index,Java Essentials,New To Java...
# 2
i believe u didnt answer my question! IM trying to develop a program that does this ...can anyone else help?
Neo101a at 2007-7-8 23:41:46 > top of Java-index,Java Essentials,New To Java...
# 3
> 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.
prometheuzza at 2007-7-8 23:41:46 > top of Java-index,Java Essentials,New To Java...
# 4

> 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.

ScarletPimpernela at 2007-7-8 23:41:46 > top of Java-index,Java Essentials,New To Java...
# 5
Where is the wav file editor u speak of?this is what im tryin to create so any code for it would help.
Neo101a at 2007-7-8 23:41:46 > top of Java-index,Java Essentials,New To Java...
# 6

> 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.

prometheuzza at 2007-7-8 23:41:46 > top of Java-index,Java Essentials,New To Java...
# 7
> Where is the wav file editor u speak of?this is what> im tryin to create so any code for it would help.cool edit.
ScarletPimpernela at 2007-7-8 23:41:46 > top of Java-index,Java Essentials,New To Java...