How to play audio files in Bark with pause 1sec?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Evgeny
Posts: 16
Joined: Sun Mar 13, 2016 11:18 am

How to play audio files in Bark with pause 1sec?

Post by Evgeny »

Hi! :)
There are several audio-files which are play through Bark system.
I use in Secuence:

SendMessage (OnUse, Ivy) @7;
Audio (Voiceover/Ivy/ivy00012_01)

It is necessary that the following OnUse was sent in a 1sec after completion of playing of the current sound file.
How to make it? :)
Attachments
bark.png
bark.png (41.92 KiB) Viewed 813 times
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to play audio files in Bark with pause 1sec?

Post by Tony Li »

Hi,

Try this:

Code: Select all

AudioWait(Voiceover/Ivy/ivy00012_01)->Message(AudioDone);
Delay(1)@Message(AudioDone)->Message(DelayDone);
SendMessage(OnUse, Ivy)@Message(DelayDone)
This is what it does:
  • AudioWait(Voiceover/Ivy/ivy00012_01)->Message(AudioDone); -- Plays the audio and waits until it's done. Then sends the sequencer command "AudioDone".
  • Delay(1)@Message(AudioDone)->Message(DelayDone); -- Waits until it receives the sequencer message "AudioDone". Then delays 1 second. Finally, sends the sequencer message "DelayDone".
  • SendMessage(OnUse, Ivy)@Message(DelayDone) -- Waits until it receives the sequencer message "DelayDone". Then sends the OnUse message.
If your bark sequences are going to get more complicated than this, you may find it easier to write a custom sequencer command that does all of the steps or use a scrubbing editor such as SLATE, Cinema Director, or uSequencer.
Post Reply