https://github.com/peteee/superpoweredplayer
Real-time time stretching and pitch-shifting with Superpowered SDK
https://github.com/peteee/superpoweredplayer
Last synced: 7 months ago
JSON representation
Real-time time stretching and pitch-shifting with Superpowered SDK
- Host: GitHub
- URL: https://github.com/peteee/superpoweredplayer
- Owner: peteee
- Created: 2020-03-18T16:50:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-18T19:34:08.000Z (about 6 years ago)
- Last Synced: 2025-01-07T14:47:12.416Z (over 1 year ago)
- Language: C++
- Size: 8.11 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SuperpoweredPlayer - "the missing demo"
Real-time time stretching and pitch-shifting of audio files with Superpowered SDK in this simple demo for Android

This extends the PlayerExample with the following:
```c++
// onSpeedSlider - Handle TimeStretching events.
extern "C" JNIEXPORT void
Java_com_superpowered_playerexample_MainActivity_onSpeedSlider (
JNIEnv * __unused env,
jobject __unused obj,
jint value
) {
player->setTempo((value/10000.0), true);
}
// onPitchSlider - Handle PitchShifting events.
extern "C" JNIEXPORT void
Java_com_superpowered_playerexample_MainActivity_onPitchSlider (
JNIEnv * __unused env,
jobject __unused obj,
jint value
) {
player->setPitchShift(value);
}
```
Check out in full: https://github.com/peteee/SuperpoweredPlayer/blob/master/app/src/main/cpp/PlayerExample.cpp
## What is Superpowered C++ Audio Library and SDK for Android, iOS, macOS, tvOS, Linux and Windows?
Check it out here: https://superpowered.com
Superpowered C++ Audio Library and SDK is the leading C++ Audio Library featuring low-power, real-time latency and cross-platform audio players, audio decoders, Fx (effects), audio I/O, streaming, music analysis and spatialization.
For the most up-to-date feature list, see: https://superpowered.com/audio-library-sdk
### NOTE: the Superpowered SDK is not included! This example uses Superpowered Audio SDK version 1.3.1
#### Download it from here: https://github.com/superpoweredSDK/Low-Latency-Android-iOS-Linux-Windows-tvOS-macOS-Interactive-Audio-Platform