2 unstable releases
0.2.0 | Dec 6, 2022 |
---|---|
0.1.0 | Dec 6, 2022 |
#998 in Audio
Used in soundpad-bumblebee
45KB
844 lines
soundpad-rs
Libraries for interacting with Soundpad
Usage
#[tokio::main]
async fn main -> Result<()> {
// Create a new API client
let client = ClientBuilder::new().connect()?;
// Retrieve a list with all available sounds from Soundpad
let sounds = client.get_sound_list().await?;
// Play the first sound
client.play_sound(sounds[0])
}
Crates
Dependencies
~33MB
~479K SLoC