summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-05 22:35:35 -0500
committerXANTRONIX Development2022-03-05 22:35:35 -0500
commit346fbb71cb39d578a39c88be51fbe81614c87dc0 (patch)
tree70ebc8d2d9685a1bdf9f2e5ee551f7795910caf2 /examples
parentb90c3e14988c2180fd5b8028fec74527501a4deb (diff)
downloadxas-346fbb71cb39d578a39c88be51fbe81614c87dc0.tar.gz
xas-346fbb71cb39d578a39c88be51fbe81614c87dc0.tar.bz2
xas-346fbb71cb39d578a39c88be51fbe81614c87dc0.zip
Set default text2wave voice to avoid crash
Diffstat (limited to 'examples')
-rw-r--r--examples/seq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/seq.c b/examples/seq.c
index 3c0293a..0788673 100644
--- a/examples/seq.c
+++ b/examples/seq.c
@@ -96,6 +96,7 @@ int main(int argc, char **argv) {
goto error_spatial_scene_stream_new;
}
+ xas_vox_set_voice(voice->ctx, "voice_cmu_us_slt_cg");
xas_vox_set_parameter_float(voice->ctx, "Duration_Stretch", 1.3);
xas_seq_add_set_frequency(seq, synth_l, (struct timeval){ 0, 0 }, 220);