From owner-freebsd-questions@FreeBSD.ORG Mon Jun 23 13:39:50 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54EBD904 for ; Mon, 23 Jun 2014 13:39:50 +0000 (UTC) Received: from outbound-queue-1.mail.thdo.gradwell.net (outbound-queue-1.mail.thdo.gradwell.net [212.11.70.34]) by mx1.freebsd.org (Postfix) with ESMTP id E704B2934 for ; Mon, 23 Jun 2014 13:39:49 +0000 (UTC) Received: from outbound-edge-2.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-1.mail.thdo.gradwell.net (Postfix) with ESMTP id 276402228E for ; Mon, 23 Jun 2014 14:38:46 +0100 (BST) Received: from cpc7-jarr12-2-0-cust882.16-2.cable.virginm.net (HELO amd.asgard.uk) (92.238.71.115) (smtp-auth username fbsd%pop3.dgmm.net, mechanism plain) by outbound-edge-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Mon, 23 Jun 2014 14:38:45 +0100 From: Dave To: freebsd-questions@freebsd.org Subject: Using mbrola voices with either espeak or festival Date: Mon, 23 Jun 2014 14:38:40 +0100 Message-ID: <6416730.casMxTUN4C@amd.asgard.uk> User-Agent: KMail/4.12.5 (FreeBSD/9.2-RELEASE-p7; KDE/4.12.5; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gradwell-MongoId: 53a82de5.177f5-28e9-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: fbsd@pop3.dgmm.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2014 13:39:50 -0000 First off.... FreeBSD testbox.asgard.uk 9.2-RELEASE-p7 FreeBSD 9.2-RELEASE-p7 #0: Tue Jun 3 11:05:13 UTC 2014 root@amd64- builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 I'm got both espeak and festival working using their default and supplied voices but can't get either to use any of the mbrola voices. mbrola works standalone... testbox:/usr/local/share/mbrolavox/en1 %mbrola ./en1 ./TEST/mbrola.pho ~/test.wav && mplayer ~/test.wav ...at which point mplayer plays the .wav file Using espeak... espeak -v mb-en1 "this is a test" | mbrola -e /usr/local/share/mbrolavox/en1/ - - > ~/fred.raw Binary number format error You are probably using a version of /usr/local/share/mbrolavox/en1/ incompatible with your machine architecture. Get the right one from the MBROLA project homepage : http://tcts.fpms.ac.be/synthesis mbrowrap error: /proc is unaccessible: No such file or directory mbrola voice not found espeak speaks using the default voice at about half speed in a very deep bass voice. mbrolavox was installed from ports and /proc is mounted testbox:/home/dave %cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ada1p2 / ufs rw 1 1 /dev/ada1p3 none swap sw 0 0 /dev/ada1p4 /var ufs rw 2 2 /dev/ada1p5 /tmp ufs rw 2 2 /dev/ada1p6 /usr ufs rw 2 2 proc /proc procfs rw,noauto,0,0 Likewise, using this... testbox:/home/dave %espeak -v us-mbrola-2 "this is a test" mbrowrap error: /proc is unaccessible: No such file or directory mbrola voice not found ...also speaks slow and basso whereas... espeak -v english "this is a test" ...works fine Ports installed are... %pkg info | grep espeak espeak-1.47.11 Software speech synthesizer %pkg info | grep fest festdoc-1.4.0.1 Documentation for Festival festival-2.1_1 Multi-lingual speech synthesis system festival-freebsoft-utils-0.10_2 Festival utilities focused on interaction with Speech Dispatcher festlex-cmu-1.95 CMU American English pronunciation dictionary for Festival festlex-oald-1.4.1_1 Oxford Advanced Learner's pronunciation dictionary for Festival festlex-poslex-1.4.1_2 English lexicon for Festival festvox-don-1.4.0_2 British English male voice for Festival speech synthesis system festvox-el11-1.4.0_2 Castilian Spanish male voice for Festival festvox-kal16-1.4.0 American English male voice, sampled at 16 kHz, for Festival festvox-ked16-1.4.0_1 American English male voice, sampled at 16 kHz, for Festival festvox-rab16-1.4.1_2 16 kHz British English male voice for Festival festvox-us1-mbrola-20041012_1 The MBROLA us1 voice (American English, female) for Festival festvox-us2-mbrola-20041012_1 The MBROLA us2 voice (American English, low- pitched male) for Festival festvox-us3-mbrola-20041012_1 The MBROLA us3 voice (American English, high- pitched male) for Festival %pkg info | grep mbrol festvox-us1-mbrola-20041012_1 The MBROLA us1 voice (American English, female) for Festival festvox-us2-mbrola-20041012_1 The MBROLA us2 voice (American English, low- pitched male) for Festival festvox-us3-mbrola-20041012_1 The MBROLA us3 voice (American English, high- pitched male) for Festival linux-mbrola-3.0.1 MBROLA speech synthesizer for Linux mbrolavox-3.0.1_1 Voices for MBROLA voice synthesizer espeak is my preference as I'd like to convert a couple of ebooks for a non- technical friend who doesn't have a PC so the option to write to a .wav file and split on the fly in 30 minute chunks is a nice plus but not essential. It might even be better to split the text files into separate chapters anyway since there's only a couple of plaintext books to convert. There may be more later now that I told him about Project Gutenberg :-)