Skip to contents

Builds a generative ggplot2 composition from the deterministic visual parameters mapped from the score. The element cloud, colours, and theme are all derived from the same score that drives syn_play(), so the picture and the music are two views of one analysis. The object is returned, never printed.

Usage

syn_paint(score, ...)

Arguments

score

A prosody_score from syn_score().

...

Reserved for future use; must be empty.

Value

A ggplot2 object.

See also

syn_play() for the audio view, syn_animate() for animation.

Other rendering functions: syn_animate(), syn_play(), syn_play_gm(), syn_write_wav()

Examples

p <- syn_paint(syn_score(syn_read_text(syn_example_text("en"), lang = "en")))