| Crates.io | playdate-sound |
| lib.rs | playdate-sound |
| version | 0.4.5 |
| created_at | 2023-09-08 13:00:44.531409+00 |
| updated_at | 2025-03-19 17:21:56.135651+00 |
| description | High-level sound API built on-top of Playdate API |
| homepage | https://github.com/boozook/playdate |
| repository | https://github.com/boozook/playdate.git |
| max_upload_size | |
| id | 967086 |
| size | 98,721 |
High-level sound API built on-top of playdate-sys.
Covered parts of the sound API:
Not covered things:
⚠️ Prior to the version 1.0 API is unstable and can be changed without deprecation period.
use playdate_sound::sample::*;
use playdate_sound::player::sp::*;
use playdate_sound::player::Repeat;
let player = Player::<api::Cache>::new()?;
let sample = Sample::new_from_file("game_main_theme.pda")?;
player.set_sample(&sample);
player.play(Repeat::LoopsEndlessly, 1.0);
See more in examples.
This software is not sponsored or supported by Panic.