Skip to content

Temporary Repository for New Android Example of RubberBand Library

License

Notifications You must be signed in to change notification settings

devingryu/RubberBandAndroidExample

Repository files navigation

About this repository

screen

This project is simple Android Example for RubberBand Library.

Sample song, which is pitch shifted with ratio 1.2 and sped up with ratio 1.3, will be played automatically when you run this example. (Note that speed ratio > 1 means it is sped up, unlike RubberBand Library. You might want to put inverse value of ratio you expect to change speed in RubberBand)

ExoPlayer is used to play the audio file, and custom AudioProcessor RubberBandAudioProcessor is added to process audio with RubberBand.
Copyright information of the sample song is noted below section. For bundled libraries, check this.

For intergration

You need to build RubberBand with android-ndk first. See here for further information.

Then you need to include RubberBandStretcher.java and RubberBandAudioProcessor.kt in this project.
Note that RubberBandStretcher.java is different from the one in RubberBand Library! You should include version of this project to make this correcty operate.

Lastly, Create ExoPlayer instance with RubberBandAudioProcessorChain.

Sample Song Information

Song: Step! by Hybee

About

Temporary Repository for New Android Example of RubberBand Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published