Jump to content


Photo

GM sound stuff


  • Please log in to reply
3 replies to this topic

#1 smallworld188

smallworld188

    GMC Member

  • New Member
  • 120 posts
  • Version:GM8

Posted 14 March 2011 - 04:59 AM

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?
  • 0

#2 MasterOfKings

MasterOfKings

    The True Master

  • GMC Member
  • 4888 posts
  • Version:GM8

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
  • 0

#3 linkis20

linkis20

    GMC Member

  • New Member
  • 15 posts

Posted 14 March 2011 - 12:01 PM

Use Saudio
NVG.
  • 0

#4 AndrewB

AndrewB

    Kibbles and bits

  • New Member
  • 336 posts
  • Version:GM8

Posted 14 March 2011 - 02:13 PM

Did a quick Google search for MCI commands, I think this should work... :)

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users