I'm looking for a small library to play, merge and change pitch for .wav files.
I've tried JASS, beads, something from anyexample.com, basic javax.sound examples, Sonia Sound Library etc.
Can anyone help me? I just need change pitch, merge and play wav files in Java.
Have you tried the Java Media Framework? Even though it has its limitations, it may be an option. In addition, the wikipedia article (linked above) has a listing of alternatives - maybe one of them does the trick for you.
Related
I would like to convert a video from one format to another. Initially, I want to convert MP4 to AVI or any other more suitable video format.
Came across the ffmpeg library. Is is the best solution?
Came across Xubber and Jave for the same? Any experiences?
I tried jffmpeg that is a direct java wrapper on ffmpeg, but didn't found much documentation over that so moved on.
I tried to use Xubber and succeded also but it requires lot of pre-configurartions like you have to install .exe file prior and set XUBBER_HOME vars etc.
I have found nice and easy to implement solution ie JAVE http://www.sauronsoftware.it/projects/jave/index.php
Try this one.
I wanna split a video file into several fragments which can be played individually.
Is there any java library can be used in this situation?
Or if Xuggle can be used, can anyone give me an simple example.
Thanks
A video file? There's quite a few video codecs, file formats. For a general solution try ffmpeg it's not a Java library but runs on all platforms.
I'm french so I'm sorry if you have trouble to understand some of my sentences.
Anyways, I saw in some topics that the pitch could be fetected thanks to the Fourier transform
but I didn't really understand how to implement it.
Moreover, I didn't find how to change the pitch of a wav file and if possibl ,a mp3 file
I am listening to music using javaSound for the wav and JLayer for the mp3.
Thanks
Sounds like you're just getting started with audio. Consider using MATLAB or Octave to learn about the Fourier transform. See their respective signal processing packages. The reason I'm suggesting MATLAB or Octave is because it will help you learn faster than Java will. You need to learn about what you want to code before you actually code it. The book DAFX would be a good place to start learning and it also includes sample MATLAB scripts for pitch shifting, and probably detection as well.
My thesis project is on Audio Feature extraction, their classifcation and comparison.
I am unable to extract the audio features from the last 6months.
I just have an idea that may work.
The audio in any format is to be converted into pcm format and features like bandwidth, Zero Crossing Rate, Noise Frame Ratio, Pitch Strength and mel Frequency Cepctral Coefficients can be extracted from it.
Then a data set is prepared using these features and then various audio classifiaction algoriths are applied to it.
Kindly help how can i proceed further and extract audio features?
Thanx
Although it is a very old post but maybe someone would reach here after googling. Now there are some very good toolkits to use :
TarsoDSP https://github.com/JorenSix/TarsosDSP
OpenSmile http://www.audeering.com/research/opensmile
CMU Sphinx
This is probably too late to be of much help, but you should really look at the jmir project. It's a system for doing audio feature extraction and classification in Java. It's all open source and well documented.
Given a uncompressed input file with predefined frame format, need to build a simple video player. Could anyone advise where to start? like search keywords, what library to use or examples. Thanks!
For now, I just read all frames and store in linked list which seems not a good idea. Since it should be able to read/playback at same time.
I'm partial to Xuggler. See the MediaTool part of Xuggler that makes it really easy to write programs using media files.
You probably looking for the Java Media Framework
Samples you find here:
and here