1337-x369513929661000482
x369513929661000482
Source (link to git-repo or to original if based on someone elses unmodified work):
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
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
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
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.
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
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
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.
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 ???
It's a great idea, but how can I install it and which version of amaroK is needed?
amaroK 1.2 is needed. Tools -> ScriptManager -> Install Script.
I thought about something like this, but a wolf (cute) walking around on your desktop and tell you about the current track.
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.
ROFL
Exactly what I meant! I'm looking forward to see your great work ;)
Heh, sounds interesting. I'll get right on it :P
Then add the ability to change "mascots" to other things, like a paper clip, and slap "Amarok Assistant" on it.
I can only say: you are a genius. should be merged with the OSD!