Skip to content
/ stretch Public

Library for time stretching audio without changing pitch

License

Notifications You must be signed in to change notification settings

numq/stretch

Repository files navigation

Stretch

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

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.load(libstretch = "/path/to/libstretch")
  4. Instantiate a library
    Stretch.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