Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text2wave segmentation fault #33

Open
ropery opened this issue Jul 28, 2020 · 0 comments
Open

text2wave segmentation fault #33

ropery opened this issue Jul 28, 2020 · 0 comments

Comments

@ropery
Copy link

ropery commented Jul 28, 2020

The text2wave script produces segfault:

$ text2wave -o t.wav <<< test
[1] 307267 segmentation fault (core dumped) text2wave -o t.wav <<< test

The following patch (apparently) fixes it for me:

--- /usr/bin/text2wave	2020-05-19 09:57:28.000000000 +0000
+++ /usr/bin/text2wave	2020-05-19 09:57:28.000000000 +0000
@@ -140,7 +140,7 @@
 (define (combine_waves)
   "Join all the waves together into the desired output file
 and delete the intermediate ones."
-  (let ((wholeutt (utt.synth (Utterance Text ""))))
+  (let ((wholeutt (Utterance Text "")))
     (mapcar
      (lambda (d) 
        (utt.import.wave wholeutt d t)

This is reported on the Arch Linux bug tracker FS#67420.

Update: Since the b61902a rewrite this patch no more applies. The new script can't be run with festival 2.5.0, though. When festival makes a release 2.5.1, we'll see if it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant