/stretch

Library for time stretching audio without changing pitch

Primary LanguageKotlinApache License 2.0Apache-2.0

Stretch


🌟 Support this project
Bitcoin (BTC) bc1qs6qq0fkqqhp4whwq8u8zc5egprakvqxewr5pmx
Ethereum (ETH) 0x3147bEE3179Df0f6a0852044BFe3C59086072e12
USDT (TRC-20) TKznmR65yhPt5qmYCML4tNSWFeeUkgYSEV

Audio stretching library for JVM based on the C++ library signalsmith-stretch

See also

Features

  • Stretches PCM audio data
  • Supports any sampling rate and number of channels

Usage

See the example module for implementation details

  1. Download latest release
  2. Add library dependency
    dependencies {
        implementation(file("/path/to/jar"))
    }
  3. Load binaries
    Stretch.Signalsmith.load(libstretch = "/path/to/stretch-signalsmith")
  4. Instantiate a library
    Stretch.Signalsmith.create(sampleRate = sampleRate, channels = channels, playbackSpeedFactor = defaultPlaybackSpeedFactor)

Requirements

  • JVM version 9 or higher.

License

This project is licensed under the Apache License 2.0.

Acknowledgments