TTS amaroK script

Audio Apps

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
An amaroK script that announces each song with a configureable message (which may contain title, artist, track length, etc.)

Dependancies:
- Python 2.3+
- KTTSD (KDE text-to-speech daemon). Available in the kdeaccessibility module.

To install:
From amaroK menubar select Tools->Scripts->Install Script
Last changelog:

Thu Feb 17 2005
Option of whether or not to pause playing of the song while it is being announced.

Tue Feb 15 2005
0.1 uploaded


Ratings & Comments

16 Comments

rvadmin

Dear users that have problems with XML saying. Untar script, open tts.py, replace line 46 with: return string then save and tar it. Than import Enjoy :) http://www.smsarea.net

rfdparker2002

I am using Amarok 1.4.1 on Kubuntu Dapper, and I have just found out about this script. I intall ktts and flite and set up a speaker, which worked fine in kttsmgr when reading the clipboard, but when I tried this it reads what it should, but first it says a load of things like "pitch=0" for some reason? Do you know what this is and how to fix it thankyou

JW00000

I've got the same problem. When I open the KDE Text-to-Speech Manager (kttsmgr) I can see the engine is actually saying something like this (literally): "<speak><voice gender="neutral" age="40"><prosody pitch="medium" range="medium" rate="medium" volume="medium">Title by Artist\nPause=0</prosody></voice></speak>" Which ends up in a lot of "greater than" and "less than"s said.

muesli

Traceback (most recent call last): File "/mnt/space/home/muesli/.kde/share/apps/amarok/scripts/tts/tts.py", line 95, in ? main() File "/mnt/space/home/muesli/.kde/share/apps/amarok/scripts/tts/tts.py", line 85, in main if configAsDict()["Pause"] == "1": KeyError: 'Pause' i receive this error... ideas? thanks, muesli

muesli

funny, i configured this script now via amarok's script dialog. now it starts working. but it seems to read some python source lines first, before finally announcing the song. funny :-)) ...muesli

cerulean

Might be reading out XML? That occurs in older versions of KTTSD. I'll probably just remove the SSML surrounding the text spoken - it's purpose was to allow for a little pause, though I guess it's unecessary.

ptitmain

File "/home/jf/.kde/share/apps/amarok/scripts/tts/tts.py", line 95, in ? main() File "/home/jf/.kde/share/apps/amarok/scripts/tts/tts.py", line 85, in main if configAsDict()["Pause"] == "1": KeyError: 'Pause' same error here. What could I do ???

gekko

It's a great idea, but how can I install it and which version of amaroK is needed?

markey

amaroK 1.2 is needed. Tools -> ScriptManager -> Install Script.

Ekardnam

I thought about something like this, but a wolf (cute) walking around on your desktop and tell you about the current track.

cepheus

That's brilliant. It would stop and "howl" the name every time it announced the track. Oh! And it could curl up to nap every now and again between tracks. Also! You could stage a dramatic chase between it and thesheep, korama, a permanent addition to the amarok cast of characters. It would be in the style of those road-runner cartoons, where amarok would never quite catch its prey, instead meeting great disastor, and thus ensuing great hilarity. All this could be done on the tops of various windows and bars on the desktop. So get right on that.

markey

ROFL

Ekardnam

Exactly what I meant! I'm looking forward to see your great work ;)

cerulean

Heh, sounds interesting. I'll get right on it :P

liquidrock222

Then add the ability to change "mascots" to other things, like a paper clip, and slap "Amarok Assistant" on it.

Superstoned

I can only say: you are a genius. should be merged with the OSD!

Pling
0 Affiliates
Details
license
version 0.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

Other Audio Apps:

1337-x369513929661000482
x369513929661000482
last update date: 15 years ago

Score 5.0

Hayes
Neil
last update date: 21 years ago

Score 5.0

SongBird
jce
last update date: 18 years ago

Score 5.0

KConvPlaylist
L0rclA5CII
last update date: 21 years ago

Score 5.0

QtRadio
ppustelnik
last update date: 20 years ago

Score 5.7

xmmsCue
staudi009
last update date: 19 years ago

Score 5.0