Jump to content

On sounds marker complete


fitness23
 Share

Recommended Posts

Hi,

Should be an easy one but I can't work it out.

I am making a marker for a particular sound, but I need to do something after the marker has finished.

So far I have this, but this isn't correct as it's not firing based on the current marker. Any ideas?

this.foleySounds.addMarker("nextSoundToCompile", param1, param2);
this.foleySounds.play("nextSoundToCompile");

this.foleySounds.onMarkerComplete.add(function() {
                                  
                                 alert("done");
                                  
                            }, this);

How can I change this based on when the marker "nextSoundToCompile" has finished?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...