mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 06:22:24 +00:00
The SoundFont 2 reader of LoopCraft's loopcraft-audiofile crate (sf2.rs at storytold/loopcraft@0d150c1), over a neutral model of its own: the sample pool, presets and resolved key/velocity regions with tuning, loop points, pan, gain and volume envelope. The fixture writer its tests use is the test-support feature, so readers in other crates can test with real files. Co-authored-by: bflatastic <bombayapirat@gmail.com>
22 lines
585 B
TOML
22 lines
585 B
TOML
[package]
|
|
name = "craft-sf2"
|
|
description = "SoundFont 2 (.sf2) reader: the sample pool and, for every preset, the key and velocity regions a note sounds, bounded on hostile input"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# `fixture`: a writer of small, valid SoundFont 2 files, for the tests of crates that read them.
|
|
test-support = []
|
|
|
|
[dependencies]
|
|
thiserror.workspace = true
|
|
|
|
[dev-dependencies]
|
|
craft-sf2 = { path = ".", features = ["test-support"] }
|