WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Midi player BPM (Beats per minute) (https://forum.worldviz.com/showthread.php?t=3928)

smith_toh 09-26-2011 01:35 AM

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.

Jeff 09-26-2011 01:29 PM

There is no command that takes BPM as an argument. You can change the rate the audio is played at using the .setRate command.

smith_toh 09-26-2011 10:08 PM

Thank you so much


All times are GMT -7. The time now is 06:07 AM.

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