Is anyone aware of any open source libraries/implementations of real-time timescale-pitch modification algorithms?
Scaletempo might do what you want. MPlayer uses it.
DSP Dimension provides some good tutorials on pitch-shifting and time-scale modification techniques. There are plenty of links to related material (various libraries, tutorials and implementations) as well as an open source Fourier-based implementation in C++ (check the Download section).
Try the Rubberband library. It's GPL-licensed and includes a library as well as CLI apps that use it.
Just to add to that list by the way, SoundTouch C++ library can do it: http://www.surina.net/soundtouch/
Related
I would like to use FFmpeg library on my android app.
I have no C/C++/Make knowledge and all the threads I've been reading about it talk about stuff I completely don't understand.
Is there any pre-compiled library which I can add to my project, then add a simple 'import' statement on my java class and then call it?
Thanks
Is there any particular reason why you need exactly FFmpeg? I guess it could be possible to get prebuilt binaries, but since it is a C library, you would also need a JNI wrapper code - I don't think anyone would generate that for the whole library since it's quite large, so even with a prebuilt library you still need to have some JNI knowledge to wire through the communication between Java and FFmpeg in C. Just for the purpose of demonstration - here is an example.
Apart from that if there is not a special reason to use FFmpeg, why can't you stick with MediaCodec that is a part of the Android API? It wraps the native StageFright library and could provide hardware support on devices where it is available, while FFmpeg would be a CPU only solution. Of course, if some unpopular codecs or muxers that are not available in MediaCodec are needed, then FFmpeg is the way.
You can use Xuggler for encoding and decoding audio and video. Their wesite says "Xuggler extensively uses FFmpeg to compress and uncompress media".
You could use precompiled libs from the JavaCPP Presets along with FFmpegFrameRecorder from JavaCV to compress images as well as audio samples, as shown in the RecordActivity sample, for example.
I have looked at many of the other similar questions but none of them seem to have a precise answer.
I'm working on an Android app that works with a lot of images. I am looking to add information to images by editing the value of their IPTC keyword tag (or other appropriate tags). I am using Metadata Extractor for reading metadata but this library doesn't support writing metadata.
I have looked at Apache Sanselan which doesn't seem to be appropriate because it has heavy dependency on java.awt (which is not available in Android). I'm aware of Imagero but I have not used it yet in the hope of finding a better open source library.
Has anyone come across such a library? I prefer it to be open source but even commercial suggestions would be appreciated.
Thanks in advance.
https://github.com/k3b/pixymeta-android/ is a fork of https://github.com/dragon66/pixymeta-android/ that implemented
single source for android and jave2se/awt
However there is still a lot of work to implement a simple to use api
Use http://sourceforge.net/projects/iim4j/ Won't work out of box, but can be adapted. I did it to add Copyright notice and Contact fields. Didn't tried other fields, as I didn't needed them. So that would be your bet.
Sorry, can't share the code.
Does anyone know any good API or LIBRARY that can listen(speech) text. I try to listen(speech) text in three languages and I would like to know where and how is best to start. Can I use general voice for all three languages? I will use eclipse and java for language.
Thank you.
There is one included in Oracles JRE, Java Speech API.
You might want to try Free Text-to-speech instead, to have an independent implementation.
Is there a way to run the echoprint-codegen on Android or is there a Java implementation for it?
Echoprint codegen on github: https://github.com/echonest/echoprint-codegen
There is a C++ implementation for it? I just cannot figure out how to port it to Java so that I can run it on an Android device, assuming Android 2.2 and up.
Take a look at Alex Restrepo's port of Echoprint to Android. His blog posting with the technical details is here:
http://masl.cis.gvsu.edu/2012/01/25/android-echoprint/
The complete code along with a sample Android application using it can be found here:
https://github.com/gvsumasl/EchoprintForAndroid
Try this open source project by Jacquet Wong, it's written in Java and Android compatible.
http://code.google.com/p/musicg/
It handles wave spectrogram, fingeprint and other audio features with FFT and other dsp algorithms.
There are java libraries to deal with FFT / Audio which may already do what you need.
Ropy van Rijn already did this, and got slap from Shazam patent holders.
See in detail:
http://www.redcode.nl/blog/2010/06/creating-shazam-in-java/
I will try to look here:
http://developer.echonest.com/
and then here:
http://developer.echonest.com/client_libraries.html
and after that you have downloaded the java client, this:
https://gist.github.com/1630910
could be useful (sorry is italian code, but im sure you won't have problem)
I'm trying to re-write a C# application of mine in Java. I've chosen Java because our target platform is now Linux, no longer Windows.
My C# application used Microsoft Office Interop to automate things like Word and Excel. It would simply open different documents and apply our formatting to them (adjust column width, remove italics, etc). Finally, it would save the documents as PDF.
Now that we are targeting Java and Linux, and knowing that OpenOffice can do all of these things, I figured it would be a smooth transition. OpenOffice is open source, so it must have a relatively nice automation interface, right?
I've been Google'ing and looking at docs all morning. I've downloaded the OpenOffice SDK. I've followed instructions involving installing MinGW and a Zip toolkit. I've tried NetBeans plugins and Eclipse configuration settings.
The funny thing is, I'm not even sure if I'm in the right direction. I've been reading about OpenOffice UDO interface, but that sounds more like in-OpenOffice Scripts, like VBA or something.
Does anyone know if there's simply some sort of import that allows me to use OpenOffice to open and manipulate documents, similar to Office's Interop libraries? If so, know of any recent examples or blog posts, etc?
Yes, the OpenOffice jar files themselves (from the app) are the SDK. The interface involves calling methods in them. It's not hard once you figure it out, but I agree, documentation for it is pretty weak. It was definitely written by people that know how to do it, and can use it as a reference, but aren't any good at explaining it to others. :-)