#bindings #waveform #emulation #chip #sound #synthesis #meant

blip_buf

Blip_buf is a small waveform synthesis library meant for use in classic video game sound chip emulation. Bindings to blip_buf (https://code.google.com/p/blip-buf/)

5 releases

Uses old Rust 2015

0.1.4 Nov 6, 2015
0.1.3 Oct 23, 2015
0.1.2 Oct 15, 2015
0.1.1 Oct 12, 2015
0.1.0 Oct 10, 2015

#649 in Audio

Download history 42/week @ 2023-12-13 41/week @ 2023-12-20 18/week @ 2023-12-27 26/week @ 2024-01-03 44/week @ 2024-01-10 48/week @ 2024-01-17 55/week @ 2024-01-24 18/week @ 2024-01-31 41/week @ 2024-02-07 63/week @ 2024-02-14 59/week @ 2024-02-21 60/week @ 2024-02-28 65/week @ 2024-03-06 77/week @ 2024-03-13 67/week @ 2024-03-20 63/week @ 2024-03-27

278 downloads per month
Used in 3 crates (2 directly)

MIT license

6KB
75 lines

blip_buf-rs

Build Status Crates.io version

Documentation

Info

Rust bindings to blip-buf

Usage

Add the following to your Cargo.toml:

[dependencies]
blip_buf = "0.1"

lib.rs:

blip_buf is a small waveform synthesis library meant for use in classic video game sound chip emulation. It greatly simplifies sound chip emulation code by handling all the details of resampling. The emulator merely sets the input clock rate and output sample rate, adds waveforms by specifying the clock times where their amplitude changes, then reads the resulting output samples.

Features

  • Several code examples, including simple sound chip emulator.
  • Uses fast, high-quality band-limited resampling algorithm (BLEP).
  • Output is low-pass and high-pass filtered and clamped to 16-bit range.
  • Supports mono, stereo, and multi-channel synthesis.

Based upon

This library is a very thin wrapper on the original C library, found here: https://code.google.com/p/blip-buf/

Dependencies

~42KB