Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'adjusting volume?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
adjusting volume?
Authored by: TTop on Mar 06, '03 04:24:46PM

This is a great script! My only complaint is that the spoken words seem much louder than they should be -- specifically in relation to iTunes, which I already have turned up to about 85% of max. Is there a way to modify the script so that the volume is toned down a bit? I poked around in System Preferences under both Sound and Speech and couldn't seem to find any way to adjust only the Speech items.



[ Reply to This | # ]
adjusting volume?
Authored by: porkchop_d_clown on Mar 06, '03 04:46:10PM

Unfortunately, I don't think you can. Say doesn't take a volume argument.

---
--
knock knock



[ Reply to This | # ]
adjusting volume?
Authored by: hayne on Mar 06, '03 07:25:13PM

You could do:
set volume 3.0
to turn down the volume before speaking the email
and then
set volume 5.8
to turn it back up
The AppleScript "set volume" command can set the volume between 0.0 and 7.0



[ Reply to This | # ]
adjusting volume? -- Yes you can!
Authored by: ghoppe on Mar 09, '03 02:08:35AM

You can adjust the volume by changing this line:

tell application "Finder" to say "Mail from " & thisSender

to

tell application "Finder" to say "[[volm 0.7]] Mail from" & thisSender

Toy with the value 0.7 (0=silence, 1.0=max) until you find a volume you find reasonable. Instead, you could use + or - before the number to raise or lower the volume.

Apple has a list of embedded speech commands on their site.

For example, if you want your mac to speak rapidly you could:

tell application "Finder" to say "[[rate 300]] Mail from" & thisSender



[ Reply to This | # ]