Overview of the generated-tone, PLAY-string, mix, waveform, envelope, and instrument commands.
Description
Generated sound commands synthesize audio directly through sfxlib. They are useful for simple tones, retro-style PLAY strings, game sound effects that do not need external files, and quick diagnostics that prove the sound path works.
Command pages
- SOUND: generated tone.
- TONE: channel-specific tone.
- NOISE: generated noise.
- NOTE: named musical note.
- PLAY: BASIC PLAY strings.
- TEMPO: PLAY tempo.
- CHANNEL: default channel.
- OCTAVE: default octave.
- VOICE: default instrument.
- VOL: compact master volume.
- VOLUME: master or channel volume.
- BALANCE: master stereo balance.
- PAN: channel stereo pan.
- WAVE: waveform definition.
- ENVELOPE: ADSR envelope definition.
- INSTRUMENT: instrument definition or assignment.
Example
tempo 140
octave 4
channel 0
volume 0.5
play "cdefgab"