Synthesizes a tuneR Wave from the musical parameters mapped from the
score. Each note is a sine tone with soft harmonics and a short
attack/release envelope (to avoid clicks); notes are concatenated into one
Wave. Fully self-contained — no external software required. A richer engraved
backend is available via syn_play_gm().
Arguments
- score
A
prosody_scorefromsyn_score().- sample_rate
Samples per second. Default
44100.
Value
A tuneR::Wave object (16-bit PCM, mono).
See also
syn_paint() for the visual view, syn_write_wav() to save.
Other rendering functions:
syn_animate(),
syn_paint(),
syn_play_gm(),
syn_write_wav()
Examples
w <- syn_play(syn_score(syn_read_text("A short calm line.", lang = "en")))