<div dir="ltr"><div><div class="gmail_quote">On Sun, Mar 21, 2010 at 10:10 AM, Christopher Lemire <span dir="ltr"><<a href="mailto:christopher.lemire@gmail.com">christopher.lemire@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><div class="gmail_quote">On Sat, Mar 20, 2010 at 5:24 PM, Fred Roller <span dir="ltr"><<a href="mailto:fred@fwrgallery.com" target="_blank">fred@fwrgallery.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
Christopher Lemire wrote:<br>
><br>
> [snip]<br>
<div><br>
> So if using mbrola voices requires downloading from their website<br>
> rather than using what's in espeak-data, maybe I should remove that<br>
> package from my system. I just thought that it would be easier for<br>
> other users using my software to only have to install an ubuntu<br>
> package to make it work.<br>
><br>
><br>
> If I were to run the command with absolute paths then it would look<br>
> something like:<br>
><br>
><br>
> espeak -s 200 -k 20 -v mb-en1 -m "this is a test using mbrola<br>
> with espeak" |mbrola -e /Crypt/Software/mbrola/en1/en1 - test.wav<br>
><br>
><br>
> How does mbrola know that is the absolute path you downloaded the<br>
> voices to when you use mbrola -e en1/en1 instead?<br>
</div>As mentioned before, the original command was running from a working<br>
directory and the path was relative. Put this in your browser<br>
<br>
file:///usr/share/doc/espeak/mbrola.html<br>
<br>
It should exist on your system if you down loaded from the repos. You<br>
still need to download languages from the referred sites within the<br>
documentation.<br>
<br>
As for software knowing where to find languages then a feild for<br>
language location and a browse button ought to handle that function. A<br>
tools option can be developed to query the download site, filter the<br>
options of languages, and download the language of choice to a chosen<br>
directory or to your software default. Setting this language as<br>
variable to query for the -v option in espeak (I choose en1 so espeak<br>
knows to set mb-en1) which allows the user to only work with their<br>
downloaded options.<br>
<div><div></div><div><br>
><br>
><br>
> -v mb-en1 (the mbrola voice to let espeak know you are<br>
> using<br>
> mbrola)<br>
><br>
><br>
> Does this change depending on the mbrola voice you are using? If so,<br>
> how do you know what to change it to?<br>
><br>
> Here's the software I've created so far for anybody wanting to try it.<br>
> <a href="http://nanomachine.byethost22.com/files/" target="_blank">http://nanomachine.byethost22.com/files/</a><br>
><br>
> It may not work with the gnu java included by default with Ubuntu. If<br>
> it doesn't, you will need to install sun-java6-jre so that java points<br>
> to this.<br>
><br>
> chris@ubuntu910:~/Desktop$ ls -l `which java`<br>
> lrwxrwxrwx 1 root root 22 2010-02-13 01:34 /usr/bin/java -><br>
> /etc/alternatives/java<br>
> chris@ubuntu910:~/Desktop$ ls -l /etc/alternatives/java<br>
> lrwxrwxrwx 1 root root 36 2010-02-13 01:34 /etc/alternatives/java -><br>
> /usr/lib/jvm/java-6-sun/jre/bin/java<br>
> chris@ubuntu910:~/Desktop$<br>
><br>
> That change should happen automatically when you install the<br>
> sun-java6-jre package. If it doesn't, use the update-alternatives<br>
> command.<br>
><br>
> To run the program, use this command<br>
><br>
> java -jar TTSReader.jar<br>
><br>
> Once it's running, highlight any text and push control c, pdfs,<br>
> firefox, any text you can highlight, and it should be read<br>
> automatically. I'll make a nice gui for it later, but right now I am<br>
> concentrating on the functionality of it. I want the speed to be able<br>
> to be changed, ability to use other voices than the default espeak one<br>
> that I can't stand, etc.<br>
><br>
> Christopher Lemire <<a href="mailto:christopher.lemire@gmail.com" target="_blank">christopher.lemire@gmail.com</a>><br>
> Ubuntu 64 bit Linux Raid Level 0<br>
</div></div>Very nice, I will be happy to help how ever I can. This would be a nice<br>
applet for the Ubuntu panel. Get an icon button. Depressed it is<br>
scanning the clipboard, undepressed it stops. Right click for<br>
preferences and make the changes necessary. If you would like I will<br>
look at the mbrola interaction and see if I can't help. I am /not/ a<br>
programmer but have been wanting to learn, so I hope I can be of some help.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div>Fred<br>
<a href="http://www.fwrgallery.com" target="_blank">www.fwrgallery.com</a><br>
<br>
"Life is like linux, simple. If you are fighting it you are doing something wrong."<br>
<br>
<br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a></div></div></blockquote></div></div></div></blockquote>
<div><br></div>Fred,<div><br></div><div>Yes, there are plenty of ways you can help without any coding knowledge.</div><div><br></div><div>Whenever I get all my ideas for this application coded, it's going to be a really badass app, and it will be nice to finally have a free alternative to the software in Windows such as 2nd Speech Center (I hate having to reboot to Windows because I want to use this), and TextAloud.</div>
<div><br></div><div>Plus, as an end user of these different software, I have a good idea of how an ideal one should be.</div><div><br></div><div>/usr/share/doc/espeak/mbrola.html</div><div><br></div><div>Even though I knew these docs existed, it never came to my mind to look there, so thanks for the reminder. I had been using these docs so much, that I have added /usr/share/doc/ as a bookmark in Nautilus (the file browser for Gnome), and it now shows up under my Places menu.</div>
<div><br clear="all">Christopher Lemire <<a href="mailto:christopher.lemire@gmail.com">christopher.lemire@gmail.com</a>><br></div><div>Ubuntu 64 bit Linux Raid Level 0 </div></div><br></div><div><br></div></div>