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

Dec 29 2012, 5:54 pm rockz Post #41

ᴄʜᴇᴇsᴇ ɪᴛ!

I used audacity and math.
EX:
song is 105 bpm, I want to split it every 4 beats.
to be as accurate as possible, I want to convert into samples per 4 beats (measure)
60 s / 105 BPM * 11025 samples Hz * 4 Beats per measure = 25200 samples per measure
This is a good amount since it's 27.2 triggers per measure, so there will be a little overlap from latency and such.
The beginning of the waveform starts at 12625 samples, so I'll start from there. Add a bookmark (ctrl+b) and make the length 25200 at the following areas:
Collapsable Box


You're left with the track split up and a repeating 27 DC to play each wave file on. File->export multiple to get them out of audacity



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Dec 29 2012, 6:23 pm staxx Post #42



Or you could just use the easier method of using the selection start/end at the bottom of the audacity program. Type in whatever time you want selection to start at and end. Simple, done.



None.

Dec 29 2012, 6:27 pm Dem0n Post #43

ᕕ( ᐛ )ᕗ

You can't specify milliseconds in the start/end thing at the bottom of Audacity. The smallest you can go is whole seconds.




Dec 29 2012, 6:35 pm staxx Post #44



yes you can, this is how it looks on mine

00h00m00.000s



None.

Dec 29 2012, 6:37 pm Dem0n Post #45

ᕕ( ᐛ )ᕗ

What version do you have? Everyone knows 1.3 Beta is the best one. :P




Dec 29 2012, 6:41 pm staxx Post #46



2.0.0

I guess you now have a reason to upgrade :P



None.

Dec 29 2012, 6:49 pm rockz Post #47

ᴄʜᴇᴇsᴇ ɪᴛ!


I've been able to do this since 1.2.6...

You can also break it up into 24 fps, which is what fastest runs at.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Dec 29 2012, 8:32 pm Leeroy_Jenkins Post #48



Quote from rockz
I used audacity and math.
EX:
song is 105 bpm, I want to split it every 4 beats.
to be as accurate as possible, I want to convert into samples per 4 beats (measure)
60 s / 105 BPM * 11025 samples Hz * 4 Beats per measure = 25200 samples per measure
This is a good amount since it's 27.2 triggers per measure, so there will be a little overlap from latency and such.
The beginning of the waveform starts at 12625 samples, so I'll start from there. Add a bookmark (ctrl+b) and make the length 25200 at the following areas:
Collapsable Box


You're left with the track split up and a repeating 27 DC to play each wave file on. File->export multiple to get them out of audacity

So this way it lines up with the DC timing, and is cut every measure? This seems like the legit way to do it, should be documented somewhere.



None.

Dec 29 2012, 8:35 pm O)FaRTy1billion[MM] Post #49

👻 👾 👽 💪

Quote from Dem0n
You can't specify milliseconds in the start/end thing at the bottom of Audacity. The smallest you can go is whole seconds.
You can choose what unit it is in. I have mine in samples. Select the little down arrow on the right of the box.



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 30 2012, 7:34 pm rockz Post #50

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Leeroy_Jenkins
So this way it lines up with the DC timing, and is cut every measure? This seems like the legit way to do it, should be documented somewhere.
I cut every measure because:
1) there is a natural break in the music there
2) any artifacts are going to be better placed there, since they go along with the rhythm
3) if there is lag, it won't sound as bad
4) it's usually not exactly divisible by 84 ms, so you will have a small amount of overlap which makes it mostly indistinguishable to the ear.
5) 1 measure is usually a few seconds, so you won't have 1000 wav files. You can also extend it to 2 measures if there are going to be way too many.

In this case, my 105 BPM song has a measure that lasts 2.29 seconds. I actually don't know the exact rate of hyper triggers on fastest. I've always assumed it was 84 ms, but if it's actually 83.33333, then it's closer to 27.5 hyper triggers. This is why it's best to manually test it out to see how many it needs to be.

I don't have a great way to explain my method, since I came up with this method by myself. Hopefully someone who can follow what I was saying can help explain it more, but suffice to say I'm just using unit cancellation to get the number of samples per measure. It came naturally to me to cut up music like this, which is why I don't really explain it very well (it's hard to explain the obvious).



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Dec 31 2012, 8:34 am Leeroy_Jenkins Post #51



Quote from rockz
It came naturally to me to cut up music like this, which is why I don't really explain it very well (it's hard to explain the obvious).

Yeah there's really no need to explain further, it makes sense.



None.

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.
[09:37 pm]
GGmano -- maybe its not about the size i guess since its now above 6000 and was saved
[09:05 pm]
GGmano -- just seems like 6000kb is an obstacle not sure
[09:05 pm]
GGmano -- idk it could also be about the map size its like above 6k kb map wont be saved,, 6000kb of triggers no sounds im aware sounds can go beyond that size
[08:51 pm]
GGmano -- heres link for the new release http://www.staredit.net/topic/18475/#1
[08:51 pm]
GGmano -- i now released it after deleting triggers 3 times sadly
[08:50 pm]
GGmano -- 100k i think
[03:39 pm]
Oh_Man -- how many trigs u got?
[09:34 am]
GGmano -- there must be a limit for one player on triggers but also a max trigger in total i think
[09:33 am]
GGmano -- after deleting alot og triggers i now have to reduce it even more
[09:33 am]
GGmano -- damn my file still too big but it doesnt crash only gives message that it cant save to disk,, freaking sad that i wanted to do more stuff but im limited here
Please log in to shout.


Members Online: RIVE, IlyaSnopchenko