Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: best way to loop short clips of music?
best way to loop short clips of music?
Sep 15 2009, 1:32 am
By: durbeans  

Sep 15 2009, 1:32 am durbeans Post #1



i have a 15 second clip i want to loop as long as a certain unit is on the field

i made a loop with death counts a long time ago on another map, but before i go looking for it, does anybody know a different/better way to loop music?



None.

Sep 15 2009, 2:02 am lil-Inferno Post #2

Just here for the pie

Multiply the length of the song by twelve, and that's the number of death counts needed to (theoretically) loop it perfectly. That's most likely your best bet for looping music, so I'm not sure why you'd use a different method. There's waits, but that causes heavy blocks.

If you want the short clip to end when you exit the field then split the music file into a few different .wav files and set the death count needed to play that clip accordingly.




Sep 15 2009, 9:51 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Since with music loops it's important to be exact to avoid stuttering I'd go with 11.8 death counts per second play time.
Round it up for short overlappings are less audible than short silences.




Sep 17 2009, 8:50 pm Vrael Post #4



Trial-and-error has always worked most effectively for me when it comes to looping music. If you want to split up your sound into smaller files like inferno suggested, Audacity is a good free program.



None.

Sep 18 2009, 12:55 am Neki Post #5



I don't think you can ever perfectly loop a sound clip though. Wouldn't the latency of the game affect the death counts for playing the music?



None.

Sep 18 2009, 1:02 am Kaias Post #6



Quote from name:Ultimo
I don't think you can ever perfectly loop a sound clip though. Wouldn't the latency of the game affect the death counts for playing the music?
Yes, and so do pauses and disconnect screens.



None.

Sep 18 2009, 1:22 am The Starport Post #7



Maybe one idea could be to let the users configure the playback rate in-game to compensate for lag? Like with an in-game slider or something.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
Please log in to shout.


Members Online: Sie_Sayoka, RIVE