waywardgeek / sonic-ndk Goto Github PK
View Code? Open in Web Editor NEWAndroid NDK wrapper for libsonic
Home Page: http://dev.vinux-project.org/sonic
License: GNU Lesser General Public License v2.1
Android NDK wrapper for libsonic
Home Page: http://dev.vinux-project.org/sonic
License: GNU Lesser General Public License v2.1
This is the libsonic Android NDK wrapper. I, Bill Cox, wrote it in 2011, with the exception of AndroidAudioDevice.java, which was written by Mario Zechner, who posted it on his blog at http://www.badlogicgames.com/wordpress/?p=228 Mario has given me permission to place this code into the public domain as well. I place all of the files created for this project into the public domain. However, the files sonic.c and sonic.h are from the Vinux "sonic" package and are licensed under GNU Lesser General Public License version 2.1. You can freely use this NDK application with your commercial application, but if you make changes to sonic.c or sonic.h, those changes must be shared as described in the file COPYING. Note: While this code works well, maintaining JNI wrapped C code in your Java project will be painful. There in the main sonic project, there is Sonic.java, which is a pure Java port of the sonic algorithm. The main sonic repo is at: https://github.com/waywardgeek/sonic I recently pulled a patch from the main sonic repo that fixes some bugs in this version. I release all the code in that patch to the public domain as well. For users who need an actual license, the main repo is licensed under Apache 2.0. If you need some other license, just drop me an email. My intent is to make this algorithm free software to all who want it, for any purpose whatsoever. Installing into your Android app -------------------------------- Unfortunately, Android makes sharing code very hard. The simplest way to use Sonic in your app is to import the Sonic class into your Eclipse project, and to import the sonic-ndk/libs directory into your apps libs directory. To import the Sonic class, use Import->File System, set "From directory: to sonic-ndk/src", and "Into folder" to your src direcory. After you've imported the sonic source, delete the two uneeded files from your project, which are: src/org/vinuxproject/SonicTest.java src/org/vinuxproject/AndroidAudioDevice.java If you don't have a libs directory in your project yet, create it using Eclipse. Then, import the libs directory from sonic-ndk into your libs directory.
as i know the android media player can do that , it have a seek to method. but if i change it to audio track for play the audio file, i can not support the seek to . the Android Osplayer also use the sonic , but it support that. ok. the question is how can i use your sonic for control the audio position (time) with seek bar .?
Thanks. (http://dev.vinux-project.org/sonic/)
hi dear.
im not found any refrence to give file to this library .
just found an file .bin .. and i not understand that what is?? :-s
so please say me how convert files to .bin
Hey. Did anyone port it to iOS ( Swift or Obj-C) ? Or is there any related lib to this written in Swift?
Dears,
I installed the ZIP file and imported it to eclipse, while running the application I have this run time error:
E/AndroidRuntime(10051): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load sonic: findLibrary returned null
can i change those parameters below like this example http://www.sonicapi.com/docs/live-task-demo
formant_semitones
pitchcorrection_percent
pitchdrift_percent
midi_pitches
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.