Sound problem - Help!

Hello!
I want to add a sound (gunshot) each time an overlay appears on the screen and each overlay takes 0.4 miliseconds to appear. It’s four overlays in total, meaning it would be four sounds in a row and 0.4 miliseconds apart from each other. The problem is that it only sounds once and not four times in a row. I’ve tried multiple codings to somewhat fix this issue, but it doesn’t work out. I’m tryna figure out how I can achieve that and for that I do need some help/guidance from someone in here. I hope I explained my issue well. :disappointed:

Here’s the coding:

Summary

INT. MUSIC SPLASH FOR IF
@transition fade in black 5
@pause for 4

@pause for 0.4
sound gunshot
&overlay BULLET HOLE create
&overlay BULLET HOLE shifts to -54 217 in 0
&overlay BULLET HOLE scales to 0.262 0.262 in 0
&overlay BULLET HOLE opacity 1 in 0
@pause for 0.4

@pause for 0.4
sound gunshot
&overlay BULLET HOLE_2 create from BULLET HOLE
&overlay BULLET HOLE_2 shifts to 141 192 in 0
&overlay BULLET HOLE_2 scales to 0.262 0.262 in 0
&overlay BULLET HOLE_2 opacity 1 in 0
@pause for 0.4

@pause for 0.4
sound gunshot
&overlay BULLET HOLE_3 create from BULLET HOLE
&overlay BULLET HOLE_3 shifts to 41 -8 in 0
&overlay BULLET HOLE_3 scales to 0.262 0.262 in 0
&overlay BULLET HOLE_3 opacity 1 in 0
@pause for 0.4

@pause for 0.4
sound gunshot
&overlay BULLET HOLE_4 create from BULLET HOLE
&overlay BULLET HOLE_4 shifts to -97 243 in 0
&overlay BULLET HOLE_4 scales to 0.550 0.550 in 0
&overlay BULLET HOLE_4 opacity 1 in 0
@pause for 0.4

@pause for 4
@transition fade out black 5

Merry Christmas, by the way.

I think you have to do sound off every time you put a sound in

1 Like

Either that or try using the code:

music gunshot

It should repeat itself until you add in the code for it to stop, because the only difference between the sound and music code is that sound only plays the song once and music loops the sound

1 Like

Try this:

Code

INT. MUSIC SPLASH FOR IF
&overlay BULLET HOLE create
&overlay BULLET HOLE shifts to -54 217 in 0
&overlay BULLET HOLE scales to 0.262 0.262 in 0
&overlay BULLET HOLE_2 create from BULLET HOLE
&overlay BULLET HOLE_2 shifts to 141 192 in 0
&overlay BULLET HOLE_2 scales to 0.262 0.262 in 0
&overlay BULLET HOLE_3 create from BULLET HOLE
&overlay BULLET HOLE_3 shifts to 41 -8 in 0
&overlay BULLET HOLE_3 scales to 0.262 0.262 in 0
&overlay BULLET HOLE_4 create from BULLET HOLE
&overlay BULLET HOLE_4 shifts to -97 243 in 0
&overlay BULLET HOLE_4 scales to 0.550 0.550 in 0
@transition fade in black 5
@pause for 4

@pause for 0.4
&overlay BULLET HOLE opacity 1 in 0
sound gunshot
@pause for 0.4

@pause for 0.4
&overlay BULLET HOLE_2 opacity 1 in 0
sound gunshot
@pause for 0.4

@pause for 0.4
&overlay BULLET HOLE_3 opacity 1 in 0
sound gunshot
@pause for 0.4

@pause for 0.4
&overlay BULLET HOLE_4 opacity 1 in 0
sound gunshot
@pause for 0.4

@pause for 4
@transition fade out black 5

1 Like

Moved to Directing Helps and Tips since this involves coding. Make sure to check out our Forum Tutorial for more info about where to correctly create topics, and feel to PM me if there are any questions. :wink:

1 Like

I think there has to be at least a beat between each sound. So maybe extend the pause for 0.4 to 0.5 so it makes a second :thinking: or try the music command as suggested above to loop the sound

1 Like

Yeah, that worked best for me since I tried many other things and it still didn’t work the way I wanted it to work. Thanks for your input, and sorry for the late reply. Lol

1 Like

It’s cool :grin: glad I could help

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.