Sample Player
SamplingsampleplayerUnrated CPU
Plays a .wav from the SD card (Daisy Pod). Trig restarts; loop optional.
What it does
Streams a 16-bit .wav file from the SD card (Daisy Pod).
Wraps libDaisy WavPlayer over FatFS/SDMMC. Opens the named file from the card root and streams it through the audio callback, buffered off-ISR by Prepare() in the control loop. Output is float (converted from 16-bit on the fly).
Parameters
-
Filename
filenameName of the .wav file to open, read from the ROOT of the card — not a subfolder, and the name must match exactly including the extension. The file must be 16-bit; anything else will not play. ⚠ Nothing here can check the card at build time, so a typo produces silence on hardware rather than an error you can see.
-
Loop
loopWhether playback restarts automatically when the file reaches its end. With this off the tile plays once and then outputs silence until Trig fires again, which is what you want for one-shots; with it on the file runs continuously, which suits beds and loops.
Streams a 16-bit .wav from the SD card root by filename. Copy the file onto a FAT32 card from a computer. Wire a button into Trig to restart playback.
Ports
In
-
Trig
trig
Out
-
Audio Out
output
Audio Control
Inputs
- Trig
- Rising edge restarts playback from the start (one-shot retrigger).
Outputs
- Audio Out
- Mono playback stream.
Rules and gotchas
- Daisy Pod / Standard only — Touch 2 commits the SDMMC pins to its own driver.
- Copy the named 16-bit .wav to a FAT32 card root from a computer.
Patches using it
- Daisy Pod Sampler (SD)
pod
Bundled with the app — open one from the example browser.