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


Click here to return to the 'Listen to podcasts at 1.5x speed' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Listen to podcasts at 1.5x speed
Authored by: scienceandpoetry on Jan 09, '08 09:41:21PM

I added the try statement to allow for the selected track to play if nothing is currently playing. I use iTunes' sound check, which inevitably lowers the volume of all of my tracks, so I also set QT Player's volume lower. I also like the player brought to the front.

tell application "iTunes"
try
pause
set my_track to location of current track
set my_seconds to player position
on error
set my_track to location of item 1 of selection
set my_seconds to 0
end try
end tell

tell application "QuickTime Player"
open my_track
set my_movie to first document
set sound volume of my_movie to 128 --set volume to 50%
set ts to time scale of my_movie
set current time of my_movie to my_seconds * ts
set rate of my_movie to 1.5 -- starts playing
activate
end tell



[ Reply to This | # ]