4 stable releases

2.1.0 Oct 23, 2020
2.0.0 Mar 27, 2020
1.0.1 Feb 23, 2020

#484 in Audio

Download history 18/week @ 2023-11-27 8/week @ 2023-12-04 55/week @ 2023-12-11 52/week @ 2023-12-18 96/week @ 2023-12-25 30/week @ 2024-01-01 24/week @ 2024-01-08 83/week @ 2024-01-15 31/week @ 2024-01-22 37/week @ 2024-01-29 36/week @ 2024-02-05 38/week @ 2024-02-12 69/week @ 2024-02-19 57/week @ 2024-02-26 27/week @ 2024-03-04 31/week @ 2024-03-11

190 downloads per month
Used in 4 crates

MIT/Apache

1MB
15K SLoC

Rust-LV2's URID handling library.

URI <-> URID mapping utilities used by rust-lv2, a safe, fast, and ergonomic framework to create LV2 plugins for audio processing, written in Rust.

LV2 often uses URIs to identify types. However, comparing strings isn't particularly performant. Therefore, every URI can be mapped to a URID (basically a u32) by the host, which can be efficiently compared. This concept is implemented by the urid crate and this crate adapts it for the use by an LV2 plugin or host.

Documentation

The original LV2 API (in the C programming language) is documented by "the LV2 book". This book is in the process of being translated to Rust along with the development of rust-lv2 (link) and describes how to properly use rust-lv2.

Features

Like any other crate of rust-lv2, this crate has the optional host feature. Some of the types defined by some crates are only useful for testing or LV2 hosts. Since the goal of this framework is to provide an easy way to create plugins, these aren't necessary and therefore gated behind that feature.

License

Licensed under either of

at your option.

Dependencies

~1.5MB
~33K SLoC