4 releases

0.2.0 Oct 17, 2023
0.1.2 Oct 15, 2023
0.1.1 Oct 14, 2023
0.1.0 Oct 14, 2023

#977 in Audio

Download history 13/week @ 2024-07-19 73/week @ 2024-07-26 65/week @ 2024-08-02 33/week @ 2024-08-09 81/week @ 2024-08-16 62/week @ 2024-08-23 38/week @ 2024-08-30 27/week @ 2024-09-06 23/week @ 2024-09-13 26/week @ 2024-09-20 27/week @ 2024-09-27 31/week @ 2024-10-04 27/week @ 2024-10-11 21/week @ 2024-10-18 48/week @ 2024-10-25 37/week @ 2024-11-01

136 downloads per month
Used in 3 crates (via soundtouch)

LGPL-2.1

1MB
8K SLoC

C++ 4.5K SLoC // 0.3% comments Visual Studio Project 1K SLoC C# 727 SLoC // 0.4% comments Rust 712 SLoC // 0.0% comments Pascal 367 SLoC // 0.2% comments Java 187 SLoC // 0.2% comments Visual Studio Solution 138 SLoC Batch 108 SLoC Automake 77 SLoC // 0.7% comments .NET Resource 58 SLoC // 0.5% comments M4 30 SLoC // 0.5% comments Shell 15 SLoC // 0.4% comments

Contains (Windows DLL, 475KB) NAudio.dll, (Windows DLL, 150KB) SoundTouch.dll, (JAR file, 55KB) gradle-wrapper.jar, (obscure autoconf code, 11KB) soundtouch-2_3_2/configure.ac

soundtouch-ffi

Crates.io Documentation

Rust bindings to the SoundTouch C++ audio library.

There is already a soundtouch-sys crate, but it hasn't been updated in 5 years and doesn't use static linking so I made this one. This crate also includes other structs in the library such as BPMDetect and FIFOSampleBuffer, which the sys crate is missing.

This is static only build with bundled version 2.3.2 (latest as of October 2023).

If you're looking for a safe wrapper around these bindings I also made a crate for that: https://crates.io/crates/soundtouch.

Dependencies

~0–2.1MB
~44K SLoC