Crates.io | soundpad-xml |
lib.rs | soundpad-xml |
version | 0.1.1 |
source | src |
created_at | 2022-12-06 03:30:00.507224 |
updated_at | 2022-12-06 17:10:19.715469 |
description | A library for deserializing Soundpad's XML files |
homepage | |
repository | https://github.com/benthillerkus/soundpad-rs |
max_upload_size | |
id | 730822 |
size | 9,800 |
Libraries for interacting with Soundpad
#[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])
}