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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[2026-7-26. : 11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Symmetry