Expand description
Speaker: the shared player’s Backend on the SDK’s sample players
(sounds in memory, each playback a player of its own) and file players
(music and voice clips streamed from the .pdx).
shuyi export playdate bakes each sound under
BAKED_SOUND_DIR and each track under BAKED_MUSIC_DIR, and the SDK
opens a file by its path without the extension. A track the game doesn’t
ship there is silence, with the player’s warning.
The SDK can pause both kinds of player and set their rates, so this keeps
no default of Backend’s. A sound the game makes at run time is a
sample the SDK makes from a copy of its samples, freed when it is
removed.
Structs§
- File
Clip - A file player open on its file: dropping it stops and frees it, which is how a track the player lets go of leaves the memory.
- Speaker
- The SDK’s speaker.
Enums§
Constants§
- SAMPLE_
PLAYERS - How many sounds play at once: one sample player each, made at the start. A sound asked for while all play stops one of them, each in turn.
Functions§
- player
- The player of
manifestonspeaker: its sounds loaded, from the.pdx.