Skip to main content
Participant
October 15, 2021
Question

Play sound only on certain frames

  • October 15, 2021
  • 1 reply
  • 1443 views

I have been looking to find a way to add sounds to certain frames in the timeline and have them only play on the frames they exist on. If I select the Stream audio, it does seem to play when I want but, the animation becomes choppy and out of sync when testing. If I select the Event, the animation runs smoothley but everytime I click on a button all my sounds will play off that event and some sounds will loop beyond their keyframes. What setting should I be using?

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
October 15, 2021

event should work if you don't care about frame syncing and you only want the sound to play when the frame is entered.  the problems you report are from user error.

 

you could also use code to play your sound(s).

KwixbAuthor
Participant
October 15, 2021

Thanks for the response! I'm not entirely sure what you mean by frame syncing. To be clear, I have my audio lined on with specific frames of my animation. When the timeline plays, I want the audio to play while those frames are active. If I select sound Event, the timeline audio will play beyond the keyframe and will also trigger every time I press a button and will loop beyond its keyframes. It is also important to note that, I have a separate sound for button press interactions.

If I select the Stream option, the audio works as intended however, the animation becomes very choppy and the audio becomes out of sync.

kglad
Community Expert
Community Expert
October 15, 2021

frame syncing means the sound must play in sync with the display.  it's essential for lip-synching but not much else.  for sound effects, each sound effect should be its own file.

 

this isn't understandable because it's unknown what you mean by frames being active, "When the timeline plays, I want the audio to play while those frames are active."

 

this isn't understandable because it's unknown what your button triggers, " If I select sound Event, the timeline audio will play beyond the keyframe and will also trigger every time I press a button and will loop beyond its keyframes."

 

and from looking at the timeline.png, it looks like not all the sounds (eg, music) need to "sync".