2 releases

0.1.1 Dec 6, 2022
0.1.0 Dec 6, 2022

#2870 in Parser implementations

31 downloads per month
Used in 2 crates (via soundpad-remote-client)

MIT license

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.5–2.2MB
~45K SLoC