daisy / pipeline-mod-tts

!! NOTE: This project is now part of the pipeline-modules project !! | TTS-based production modules for the DAISY Pipeline 2
4 stars 3 forks source link

acapela adapter won't work #68

Open larsvoigt opened 8 years ago

larsvoigt commented 8 years ago

Hi again, I try to get run the dp2 with acapela as tts engine. The aim is to produce a computer narrated epub3 book. To do this I use the DTBook to EPUB3 script. I investigate a lot of time with testing of different setups but acapela adapter won`t work. The Espeak adapter works fine for this task.

Now I have this setup:

Debian 4.6.4-1 (2016-07-18) i686 GNU/Linux

dpkg -s daisy-pipeline2 

Package: daisy-pipeline2
Status: install ok half-configured
Priority: optional
Section: text
Installed-Size: 40592
Maintainer: Romain Deltour <romain.deltour@gmail.com>
Architecture: all
Version: 1.9.16~20160918.193012
Config-Version: 1.9.16~20160917.212729
Depends: debconf, lsb-base (>= 3.0-6), adduser (>= 3.9), java7-runtime
Conffiles:
 /etc/opt/daisy-pipeline2/config-logback.xml 4dc76874c83035a640a4dcda1f1cffd9
 /etc/default/pipeline2d 1473843f51de3d0757954694a4d4b581

java version "1.7.0_111" OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-1) OpenJDK Server VM (build 24.111-b01, mixed mode)

Acapela TTS Server V8.100 - voices (en, de) 32bit -> is running and works fine.

The Adapter test:

tts-adapter-acapela$ mvn test -P tester

Results :

Failed tests: 
  AcapelaTest.multithreadedSpeak:177 null
  AcapelaTest.utf8chars:266 null

Tests in error: 
  AcapelaTest.speakEasy:79 » NullPointer
  AcapelaTest.oneBookmark:104->simpleBookmark:92 » UnsupportedOperation
  AcapelaTest.endingBookmark:110->simpleBookmark:92 » UnsupportedOperation
  AcapelaTest.multiVoices:192 » NullPointer
  AcapelaTest.accents:218 » NullPointer

Tests run: 14, Failures: 2, Errors: 5, Skipped: 1

From the job log: [WARN ] org.daisy.pipeline.tts.TTSRegistry - Errors found while testing, acapela-jna: One bookmark events expected, received 0 instead.

Has anybody a working solution with acapela as tts engine under linux? Can anybody help me to fix this issue?

Thanks and best regards, Lars

bertfrees commented 8 years ago

Hello Lars. I am not familiar with the TTS part of the system yet (and the person who has developed it has left). I am going to get familiar with it as soon as possible, and then I can hopefully help you out with this issue. I'm sorry that I'm not more helpful at the moment. In the meantime, if you haven't solved the issue yet, maybe you can try the latest beta release (1.10-beta). You can also try our mailing list because Alex, who is an active user of the TSS scripts, reads it.

alexbernier commented 8 years ago

Hi Lars,

Have a look to the "issue_68" branch. It works with the last version (8.20) of Acapela TTS Server; I hope it'll work with the version you use (8.10 if I remember well).

Alex

bertfrees commented 8 years ago

@alexbernier Thank you very much for helping us out! @larsvoigt I'm interested to know whether this works for you.

larsvoigt commented 8 years ago

Thank you guys @alexbernier @bertfrees for taking your time in helping me. I tested with updated wrapper branch but the problem is still the same. I get exactly the same test result like I wrote above at my first entry. Maybe I do something wrong?

git checkout issue_68 mvn clean test -e -P tester

Remark: I have tested also on Acapella 8.000R2 and pipeline-mod-tts 1.9 which worked fine.