Windows Media Player - Controlling Playback Speed

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs