playMaker

Author Topic: AudioSource.timeSamples how to use? [solved]  (Read 3028 times)

boblin

  • Playmaker Newbie
  • *
  • Posts: 6
AudioSource.timeSamples how to use? [solved]
« on: June 29, 2013, 03:26:34 AM »
What is most rightful PlayMaker way of accessing AudioSource.timeSamples?
I want my actions to be executed after reaching some intervals in audioclips (sync with audio). Cannot just use wait cause i need more precision. Thanks!

ps: my luckiest guess is what i have to write an action Wait for timesamples? Will it work? Will it be precise enough? If i'm right can you help me in writing it?
« Last Edit: August 26, 2013, 12:18:08 PM by boblin »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: AudioSource.timeSamples how to use?
« Reply #1 on: July 01, 2013, 03:12:24 AM »
Hi,

 Simply use "Get Property". Drag the Audio source component from the insepctor onto playmaker state editor and you have access to the time samples. it will be as precise as if you wrote a script or custom action.

bye,

 Jean