-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

amarokEspeak

   0.2  

Amarok Script

Score 50%
Link:  http://
Downloads:  645
Submitted:  Aug 28 2007
Updated:  Aug 30 2007

Description:

A version of Nighto's amarokTalker that instead uses Espeak, as it's much faster than festival.

Basically it will announce the currently playing track, using espeak to generate a .wav file (put into the /tmp directory), and then aplay to play it.




Changelog:

v0.2 29/08/2007 Now says the name of the album, if it's different from the last track. Also added checks for the aplay and espeak binaries.




LicenseGPL
Source
Send to a friend
Subscribe
Other  Apps  from BoredByPolitics
Report inappropriate content



-
.

 Way Nicer!

 
 by arlindo on: Aug 28 2007
 
Score 50%

Wow! I didn't know espeak... it sounds (IMO) way better than festival. It also supports my native language (pt-br).

I noticed espeak supports lots of languages, btw, and wondered about a configuration window for choosing the language, but I have no idea of how to do it.
Maybe that window should have the option of choosing or not the cache activation, because each wav file is about 200kB. For those who have a big music collection, that may be bad.

[]
Nighto


Reply to this

-
.

 Re: Way Nicer!

 
 by BoredByPolitics on: Aug 28 2007
 
Score 50%

I've tried a quite a few tracks now, and I think you're right, that Espeak is clearer than festival.

I'm toying with the idea of rewriting the script in python, along with the inclusion of configuration options, so watch this space!


Pete
Reply to this

-
.

 espeak

 
 by rvadmin on: Aug 28 2007
 
Score 50%

Espeak is realy better than festival. I found buggy script on kde-apps.org (not AmarokFestival), that used festival, modified for espeak and fixed bugs.

I do not downloaded your script, but have a question: Do you kill the espeak before saying track?
On fast track change maybe multiple instances of espeak and you didn't hear anything. I do `killall espeak` before launching

Sorry for my English


http://www.smsarea.net
Reply to this

-

 Re: espeak

 
 by BoredByPolitics on: Aug 28 2007
 
Score 50%

I use espeak to generate a .wav file in the /tmp directory, then use aplay to play it, as by default espeak tries to open the /dev/dsp device (which of course is locked when amarok is playing).

I don't have espeak running all the time, just start it to generate the wav file, after which it exits.


Pete
Reply to this

-
.

 Re: Re: espeak

 
 by rvadmin on: Aug 30 2007
 
Score 50%

My script uses libaoss.so (alsa-oss package)

So, to start espeak I need to run:
killall espeak
LD_PRELOAD=libaoss.so espeak "text to say"

It works, and I think it will be better than generate a wav file


Reply to this

-
.

 Re: Re: Re: espeak

 
 by BoredByPolitics on: Aug 30 2007
 
Score 50%

I had a look at that method on my system this evening, but unfortunately all that happens is that espeak pushes the CPU usage to 100% without actually producing any speech (probably a misconfiguration on my Ubuntu 7.04 system). In the end I give up waiting for it to complete, and terminate the process.

Thanks for the suggestion though!


Pete
Reply to this

-
.

 Cool!

 
 by arlindo on: Sep 1 2007
 
Score 50%

Cool! Rock on!


Reply to this

-
.

 /tmp, ogg

 
 by arlindo on: Sep 1 2007
 
Score 50%

Looking at the code, i thought about something.

I don't know if this is the default, but at least in the distro i'm using (Ubuntu) the /tmp folder is flushed in every boot. So, IMO, you shouldn't worry about erasing the wav files.

Am I wrong? Why?

Thinking about the caching option, we should think of naming the wav files without random numbers, but with the title/+artist of the music. Going further, even (after playing) encoding the wav file into a (low bitrated) ogg, and before playing, check if a ogg file named accordingly exists.

Just some thoughts. This sadly is over my scripting capacities =/

Waiting for next version ;)


Nighto
Reply to this

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.