Hello
I got a question.
I know that GM has sound functions but Ive never seen a function which keeps track of the length of the sound for example: "0:10/3:20"
is there any way to do that and if there is, then is it possible to manipulate particles with sounds?
GM sound stuff
Started by smallworld188, Mar 14 2011 04:59 AM
3 replies to this topic
#1
Posted 14 March 2011 - 04:59 AM
#2
Posted 14 March 2011 - 05:40 AM
I don't think GM has any built-in functions to do that. You can do the timing yourself. Or look for an audio extension.
-MoK
-MoK
#4
Posted 14 March 2011 - 02:13 PM
Did a quick Google search for MCI commands, I think this should work... 
That should return the length and current position for the sound.
length = MCI_command('status music length');
position = MCI_command('status music position');That should return the length and current position for the sound.
Edited by AndrewB, 14 March 2011 - 02:13 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











