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.
[04:46 pm]
Ultraviolet -- @:@
@:@ shouted: this community still going strong?
Still going.. strong is debatable though.
[04:13 pm]
WeirdoX4857 -- I can't believe this is really been around since 2003 but it does look classic and old asf still better than talking to kids on discord ranting about skibidi toilet and sexuality or whatever mental illness is going on in their heads
[04:11 pm]
WeirdoX4857 -- Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
[04:10 pm]
WeirdoX4857 -- Where is everybody
[01:21 pm]
@:@ -- this community still going strong?
[2026-9-27. : 4:30 pm]
Oh_Man -- yeah, probs
[2026-9-27. : 3:11 pm]
NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
[2026-9-27. : 3:09 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
[2026-9-27. : 2:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-27. : 1:14 am]
Symmetry -- https://staredit.net/topic/18932/ check it
Please log in to shout.


Members Online: Roy, Prankenstein, DarkenedFantasies