Export a synesthR piece as video (reserved for a future release)
Source:R/tools.R
syn_export_video.RdA documented stub that demonstrates the CLI-orchestration pattern: it probes
for the ffmpeg binary and reports status, but video export is intentionally
not enabled in this version. Use syn_paint() for a still image and
syn_write_wav() for audio.
Usage
syn_export_video(score, path, fps = 12, call = rlang::caller_env())Arguments
- score
A
prosody_scorefromsyn_score().- path
Intended output path (unused in this version).
- fps
Frames per second for the future implementation. Default
12.- call
The calling environment, for error reporting. Experts only.
See also
Other assist functions:
syn_interpret(),
syn_llm_condense(),
syn_py_features(),
syn_suggest()
Examples
score <- syn_score(syn_read_text("A short calm line.", lang = "en"))
# Video export is not available in this version and always signals an error.
try(syn_export_video(score, tempfile(fileext = ".mp4")))
#> Error in eval(expr, envir) :
#> `syn_export_video()` is reserved for a future synesthR release.
#> ℹ ffmpeg was not found; it will be required when this feature ships.
#> ℹ For now use `syn_paint()` (still image) and `syn_write_wav()` (audio).