WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-26-2011, 01:35 AM
smith_toh smith_toh is offline
Member
 
Join Date: Mar 2011
Posts: 5
Midi player BPM (Beats per minute)

hi all
i use the following code to load and play a midi music

music = viz.addAudio('bach_air.mid')
music.play


Is there any way for me to set the BPM (Beats per minute) for the midi music?
Thank you so much.
Reply With Quote
  #2  
Old 09-26-2011, 01:29 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,462
There is no command that takes BPM as an argument. You can change the rate the audio is played at using the <multimedia:av>.setRate command.
Reply With Quote
  #3  
Old 09-26-2011, 10:08 PM
smith_toh smith_toh is offline
Member
 
Join Date: Mar 2011
Posts: 5
Thank you so much
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC