I am trying to extract features of an audio signal in my project. Is there any jar in java that helps me in extracting features.
Have you done your research? It this what you are looking for?: https://docs.oracle.com/javase/tutorial/sound/capturing.html
Related
I'm developing a java library for use on Android devices and java desktop applications.
In this library, I want to pack several files in one file with a custom extension.
The only need I have at that extension is to add and delete files (text and images).
What would be the simplest way to implement this?
I'm trying with tar and zip. But in these formats I can not delete entries easily.
I know ZipFileSystem, but it depends on nio and Android does not have full support.
I want a solution that is purely java, and can run on android and java desktop applications.
I want a format that works as a folder.
Thank you.
Excuse my English.
can we read with calculating object surface as example of a drawing autocad forms using java?
I found some package that can read and display the dxf file
I don't have experience with AutoCAD files and java, but per your comment regarding C#...You can use the AutoCAD .NET API with C# or VB.net. There is also the ObjectARX library for C++. These are shipped with AutoCAD and are typically used for building AutoCAD plugins.
If you don't have access to AutoCAD, or need to run your application outside of AutoCAD I'd suggest looking into Open Design Alliance. They have libraries for manipulating Autodesk files outside of the Autodesk suites.
I want to write code in java to extract the images in a mp4 file. Kindly guide me how to go about it. I am totally clueless.
Java SE has Java Media Framework (JMF) but it provides support for only a few video formats, not including MPEG-4.
Of course, you have some third-party choices to achieve your goal. One of them is Jffmpeg. It is an extension to JMF which contains support for MPEG-4.
Xuggler is another good choice with GPL/LGPL license. It works on Windows, Mac OS X and Linux.
Xuggler is an open-source third party library you can use to do this. Read through the API's. and sample code.
I want to ask for resources on how to load ogg/mp3 files and play them using the OpenAL facilities in LWJGL. The problem is
I want/need a pure java solution
Would nice if necessary libs are in a maven repo
Wav would be nice, too
Googling for this lead to three pages of Minecraft error questions. So, can anyone hint me here?
There's JOrbis (http://www.jcraft.com/jorbis/) which is pure Java and used by the jmonkeyengine.org project to handle ogg playback.
There is a pure java solution to play mp3 files or convert them to wav. However it might be simpler to use ogg.
Why not use openal with slick and lwjgl? It provides support for aif mp3 wav ogg. There are tutorials on the lwjgl wiki.
Is it possible to stream mp3s using pure Java?
If so, what are the best resources to implement this.
If not, are any other music formats streamable using Java only?
As Mario says, JMF - Java Media Framework is a good starting point.
What Mario does not say is that Sun killed MP3 support since 2.1.1b as detailed in the "My Lost Streaming MP3 Article" blog entry.
So you need to add a plugin to support MP3:
the JMF Formats list does mention MP3 (under the ACM -- Window's Audio Compression Manager support -- section), but only for Windows, and not with JMF alone.
You could use MP3SPI from JavaZoom to stream MP3 files
As it says on their webpage:
"MP3SPI is a Java Service Provider Interface that adds MP3 (MPEG 1/2/2.5 Layer 1/2/3) audio format support for Java Platform. It supports streaming, ID3v2 frames, Equalizer, .... "
People have already used it to build applicatons that stream from Shoutcast
Hope this helps
I think you can use the Java Media Framework from SUN to achieve what you want. Being this the official SUN implementation this would be the way to go. I am pretty sure that the actual streaming is native though.
I looked in the FAQ and I found the following answer:
Q: Will JMF 2.1.1 support streaming?
Yes. JMF 2.1.1 provides RTP/RTSP
streaming support.
JMF 2.1.1 also provides HTTP and FTP
streaming support on the client side.