Map music
Dec 26 2012, 12:23 am
By: stickynote
Pages: < 1 2 3 >
 

Dec 27 2012, 5:53 am Leeroy_Jenkins Post #21



Quote from Oh_Man
I have done some testing with this and unfortunately I could always hear the transition, it seems basically impossible to not have some sound artefact at each break.

Also for decreasing length of WAVs you can use a program, like wavpad sound editor, to change the properties of the sound file.
Select 16 bits and mono. Mono because SC only plays in mono anyway, and 16 bits... for some reason I can't remember, but same deal.

Then you choose the Hz depending on how much you are willing to butcher the quality, I usually go for 11025Hz.

I had this same issue. Did you try looping 2.02 second files(or any other time proportional to the DC waits)? I haven't yet, I tried using regular waits.

Quote from Azrael
Quote from Oh_Man
I have done some testing with this and unfortunately I could always hear the transition, it seems basically impossible to not have some sound artefact at each break.

You mean the break between each segment of audio? If so, it certainly is possible to transition from one clip to another without any artifacts. Those generally occur when you compress the audio, however if it's left uncompressed then there shouldn't be any issues at all.
It's not a problem with the audio files... even badly compressed audio files will play together perfectly. It's an issue with the sound files overlapping (or delaying), so it's an issue with the wait timing inside the triggers.

Edit: Also, no one answered Tikels
Quote
I had a theory awhile back about this. If you mute and then unmute volume (ie ctrl+s) wavs stop playing, so with eud actions or neuds you could force type ctrl+s ... Maybe?

Is this sort of thing possible?

Post has been edited 1 time(s), last time on Dec 27 2012, 6:00 am by Leeroy_Jenkins.



None.

Dec 27 2012, 6:24 am Roy Post #22

An artist's depiction of an Extended Unit Death

Quote from Leeroy_Jenkins
Edit: Also, no one answered Tikels
Quote
I had a theory awhile back about this. If you mute and then unmute volume (ie ctrl+s) wavs stop playing, so with eud actions or neuds you could force type ctrl+s ... Maybe?

Is this sort of thing possible?
Force-typing, no, not really. Setting the sound volume to nothing (to turn it off) and then 100% (to turn it back on) is possible, but that won't stop a WAV that is currently playing. After doing a quick memory search, I didn't find anything obvious that kills or controls the volume of WAVs that are already playing.

There might be a way to kill a WAV in the same manner that CTRL+S does using EUDAs, but I don't know it.




Dec 27 2012, 6:45 am Dem0n Post #23

ᕕ( ᐛ )ᕗ

In Laconious' Vile Egression campaign, his missions were very event-based. Each different part of the mission had its own music playing, and when that portion of the mission was over, he displayed a message that said, "Press ESC to continue." Doing so would stop the wav (and the rest of the triggers I guess, as already mentioned), and I assume he used EUDs to figure out when ESC was pressed so that he could initiate the next sequence in the mission. If the player isn't roaming around areas freely, you could so something like that where they can't go to the next area until they press ESC, which would stop the music and allow you to start all the triggers required for the next area.




Dec 27 2012, 7:38 am Leeroy_Jenkins Post #24



Quote from Dem0n
In Laconious' Vile Egression campaign, his missions were very event-based. Each different part of the mission had its own music playing, and when that portion of the mission was over, he displayed a message that said, "Press ESC to continue." Doing so would stop the wav (and the rest of the triggers I guess, as already mentioned), and I assume he used EUDs to figure out when ESC was pressed so that he could initiate the next sequence in the mission. If the player isn't roaming around areas freely, you could so something like that where they can't go to the next area until they press ESC, which would stop the music and allow you to start all the triggers required for the next area.

How does pressing ESC stop the wav?



None.

Dec 27 2012, 8:00 am Dem0n Post #25

ᕕ( ᐛ )ᕗ

I don't know, but they do. TF- said this on page 1:

Quote from TF-
Sounds also stop when you hit ESC to halt all triggers, could be something there.





Dec 27 2012, 8:08 am Oh_Man Post #26

Find Me On Discord (Brood War UMS Community & Staredit Network)

I can confirm when you CTRL S twice it stops the WAV from continuing.
Maybe it is still technically going, but the user hears nothing.

Maybe there is a limit to the amount of WAVs that can be playing simultaneously? If such a limit exists, maybe if you go over the limit it stops all WAVs? Maybe it is possible to do something like that.

Also another issue with death counters is they are effected by lag, which I found out testing my RPG. If there is too much lag my music wouldn't loop properly, there would be a gap of silence proportional to the amount of lag. Same with the drop out box coming up.




Dec 27 2012, 8:45 am stickynote Post #27



Do you mean trigger lag (does that even happen) or do you mean lag between multiple players?

Also, pressing ESC doesnt stop a wav from playing (at least not when I'm doing it).



None.

Dec 27 2012, 12:44 pm Oh_Man Post #28

Find Me On Discord (Brood War UMS Community & Staredit Network)

Lag between multiple players. Internet lag, battlenet lag, connection lag - whatever you want to call it.




Dec 27 2012, 3:01 pm staxx Post #29



Quote from Oh_Man
Also another issue with death counters is they are effected by lag, which I found out testing my RPG. If there is too much lag my music wouldn't loop properly, there would be a gap of silence proportional to the amount of lag. Same with the drop out box coming up.

I don't know if this is 100%. From my experiences when theres lag the music gets choppy (everything gets choppy/sluggish during lag) but doesnt cause the death counters to be thrown off for the timing of seamless loops. Although I havent used sound files longer than 18 seconds, if you're theory is correct it shouldnt matter though as I should still get a gap proportionate to the lag.



None.

Dec 27 2012, 5:26 pm Oh_Man Post #30

Find Me On Discord (Brood War UMS Community & Staredit Network)

Fortunately it will only throw death counters off so that there's a gap of silence, not the other way so that music is starting too early.




Dec 28 2012, 2:52 am Leeroy_Jenkins Post #31



Quote from stickynote
Also, pressing ESC doesnt stop a wav from playing (at least not when I'm doing it).

No, it doesn't. I have no idea what demon is talking about.

Quote from staxx
Quote from Oh_Man
Also another issue with death counters is they are effected by lag, which I found out testing my RPG. If there is too much lag my music wouldn't loop properly, there would be a gap of silence proportional to the amount of lag. Same with the drop out box coming up.

I don't know if this is 100%. From my experiences when theres lag the music gets choppy (everything gets choppy/sluggish during lag) but doesnt cause the death counters to be thrown off for the timing of seamless loops. Although I havent used sound files longer than 18 seconds, if you're theory is correct it shouldnt matter though as I should still get a gap proportionate to the lag.

This is absolutely 100%. Notice if a player starts seriously lagging and the lag box comes up, the music continues to play. The music is unaffected by the lag, the triggers are not.



None.

Dec 28 2012, 3:10 am Pr0nogo Post #32



ESC only works in single-player to stop triggers and sounds.




Dec 28 2012, 3:12 am Azrael Post #33



Quote from Leeroy_Jenkins
Quote from Azrael
Quote from Oh_Man
I have done some testing with this and unfortunately I could always hear the transition, it seems basically impossible to not have some sound artefact at each break.

You mean the break between each segment of audio? If so, it certainly is possible to transition from one clip to another without any artifacts. Those generally occur when you compress the audio, however if it's left uncompressed then there shouldn't be any issues at all.
It's not a problem with the audio files... even badly compressed audio files will play together perfectly. It's an issue with the sound files overlapping (or delaying), so it's an issue with the wait timing inside the triggers.

Well no, he's talking about sound artifacts (ie, noises that shouldn't be there at each transition), not skipping or choppy playing.

In Autocracy RPG, I experienced exactly what he's talking about, when compressing the audio. Otherwise it works perfectly fine.




Dec 28 2012, 4:27 am Leeroy_Jenkins Post #34



Quote from Azrael
Quote from Leeroy_Jenkins
Quote from Azrael
Quote from Oh_Man
I have done some testing with this and unfortunately I could always hear the transition, it seems basically impossible to not have some sound artefact at each break.

You mean the break between each segment of audio? If so, it certainly is possible to transition from one clip to another without any artifacts. Those generally occur when you compress the audio, however if it's left uncompressed then there shouldn't be any issues at all.
It's not a problem with the audio files... even badly compressed audio files will play together perfectly. It's an issue with the sound files overlapping (or delaying), so it's an issue with the wait timing inside the triggers.

Well no, he's talking about sound artifacts (ie, noises that shouldn't be there at each transition), not skipping or choppy playing.

In Autocracy RPG, I experienced exactly what he's talking about, when compressing the audio. Otherwise it works perfectly fine.

You can still compress audio with a low file size in a decent sound editor (ableton etc.), and render it as a loop so it will sequence properly.



None.

Dec 28 2012, 5:25 am O)FaRTy1billion[MM] Post #35

👻 👾 👽 💪

Quote from Oh_Man
Maybe there is a limit to the amount of WAVs that can be playing simultaneously? If such a limit exists, maybe if you go over the limit it stops all WAVs? Maybe it is possible to do something like that.
I think that would just stop more WAVs from playing, but it wouldn't hurt to test it.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Dec 28 2012, 6:22 am Leeroy_Jenkins Post #36



Quote from O)FaRTy1billion[MM]
Quote from Oh_Man
Maybe there is a limit to the amount of WAVs that can be playing simultaneously? If such a limit exists, maybe if you go over the limit it stops all WAVs? Maybe it is possible to do something like that.
I think that would just stop more WAVs from playing, but it wouldn't hurt to test it.

I just tested this. Doesn't work. I did find however that constantly playing a wav is a great way to lock up your computer!



None.

Dec 28 2012, 7:02 am TF- Post #37

🤙🏾

Lulz, I forgot ESC is singleplayer only.

Another low-tech solution: use shorter sound loops and have a generic transition sound when music stops and the scene changes, the transition sound should cover up the music suddenly ending.



🤙🏾

Dec 28 2012, 7:05 pm Oh_Man Post #38

Find Me On Discord (Brood War UMS Community & Staredit Network)

Is there a way to cut the music precisely to 2.02 or w/e, because I'm just seperating it using the slider which really is not very precise.
If I could do that and retest I hope I would not get any artifacts then.

Which would be great because right now having large WAV chunks are a major aesthetic annoyance for me I do hope this way will work.




Dec 28 2012, 7:11 pm Roy Post #39

An artist's depiction of an Extended Unit Death

When I did this for Super Mario SC, I just found a program online. https://duckduckgo.com/?q=split+audio+file+program

I don't remember what I used, but any program ought to work well enough.




Dec 28 2012, 7:23 pm Dem0n Post #40

ᕕ( ᐛ )ᕗ

Audacity can get pretty exact with where you split the music. Just zoom in a bunch of times until you can see the tenths and hundredths of seconds on the wav.




Options
Pages: < 1 2 3 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Roy