playMaker

Author Topic: How to handle Music?  (Read 2030 times)

Red

  • Hero Member
  • *****
  • Posts: 563
    • View Profile
How to handle Music?
« on: February 21, 2013, 06:55:10 PM »
The sound bit i can understand and if it's merely a matter of just using the "play sound" then let me know and i'll see what i can do.

But, thing is, for the soundtrack for the game, what i'm hoping to do is to get the infrastructure set up now so that i'm not at a loss (and i know what i can reasonably expect to be able to do) when it comes.

What i'm hoping to do is a system that has two tracks... one for a low-energy moment and one for a high-energy moment that are in sync with eachother... when the action ramps up, the higher energy track plays (or it overlays onto the main theme) and when the action dies off, it ramps down.

Now, the playing the sound i can get... it's the whole "keeping them in sync with eachother."

would this be a matter where i'd have to reach into the file, figure out where in the track it is, extract that value as a float, apply the same float value to the new track and hopefully bob's-yer-uncle?

Don't get me wrong, i'm in no way dissapointed with how things are going so far (a few hiccups here and there and some setbacks since it's a learning experience for me) but a game without music to me is not as powerful of an experience (that is more personal opinion though.)

markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
    • View Profile
Re: How to handle Music?
« Reply #1 on: February 22, 2013, 04:02:04 AM »
Have you considered using FMod? Its an interactive music stem player, that has "some kind of implementation" in Unity but not sure what... I believe you need a plugin. http://www.squaretangle.com/FMODUnity.html

Fmod enables you to run various synched files, a bit like "tracks" on a multitrack program. Then when your player enters danger, FMod will fade up the tracks that for fighting music, or when you enter a pretty valley, the strings and harps play... YOu still have to write and record the music, but FMod allows you to cue them.

How it works in Unity is another question, dont know, but some have tried.. Do a search for FMod in Unity and you find a bunch of stuff...
not really PlayMaker related however, but IM sure you can use PM to trigger/fade in tracks in a rudimentary way, you just have to be careful on what the music is.
If its very beat oriented it will def sound odd as you fade from one part to another, but if you use non beat oriented for background (pads and washes of ambient sound) then only bring in drums and percussion on fights or excitement cues, then Im sure you can do some cool stuff.

Design your music around what you can do seamlessly, and no one will react, if you try to copy things you have heard elsewhere, you may get stuck... Remember endlessly repeating music is a nightmare, Its probably fine to bring in a piece on entrance to an new area, have the music play out and fade out to atmospheric sounds. Or bring in some low rumbling drones when entering risky areas(but no attack yet) then BAM BAM BAM on the percussion as the hoardes of Zombies leap out of their hiding places...

MArk

(professional film music composer)