Forum: Ruby Windows Media Player - Controlling Playback Speed

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Alex D. (Guest)
on 2009-03-17 02:31
I'm using WIN32OLE to control Windows Media Player.  I want to be able
to change the playback rate.  My code is:

require 'win32ole'
song = "some_song.wma"
player ='WMPlayer.OCX')
player.settings.Rate = 0.5

The "Player.settings.Rate = 0.5" seems to have no effect on the playback

If I do

print player.settings.isAvailable('Rate'), "\n"

it returns "true", so this method should be available.

Can anyone help?

-- Alex
This topic is locked and can not be replied to.