2 releases
0.1.1 | Dec 6, 2022 |
---|---|
0.1.0 | Dec 6, 2022 |
#2937 in Parser implementations
24 downloads per month
Used in 2 crates
(via soundpad-remote-client)
8KB
191 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
~1.4–2.1MB
~44K SLoC