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.
[08:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
Please log in to shout.


Members Online: Roy