Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Music Programming platform compatible with Unity?

Discussion in 'Audio & Video' started by Aurongroove, Jan 29, 2015.

  1. Aurongroove

    Aurongroove

    Joined:
    Jan 29, 2015
    Posts:
    5
    Hy folks.

    I'm a long time electronic musician and I recently offered to make some music for a game being made on Unity.

    As I understand it, it's a small mobile game with very tight restrictions on file sizes, and I have to fit an entire soundtrack onto it.

    Due to restrictions I figured I may be as well off actually programming the music from a small bunch of samples. rather then compose 6 or 7, 0.45 seconds long audio loops.

    Are there any well known platforms or programmes/Compilers that will allow me to compose the music then compile it and hand it over as samples and code to the main unity file? or is the only way to record the tracks then compress them as small as possible to save space?
    I've used FMOD, but it seems to be geared more around ambience, SFX and imported music files where as I am hoping for something with tempo grids and basic FX like a DAW.
     
  2. jerotas

    jerotas

    Joined:
    Sep 4, 2011
    Posts:
    5,555
    Don't know about any programs like that.

    For mobile, there are 2 concerns, total download size and "audio footprint size", meaning the amount of memory that's taken up at any one time by the audio.

    By using Resource files, you can just load up one or two music clips at a time, and the rest won't be taking up any audio memory except when they're playing or getting scheduled to play after the current clip.

    Not sure if you knew that. Our Master Audio plugin handles all that code for you by the way (loading / unloading / scheduling), and a ton of useful sound effects features as well.
     
  3. Aurongroove

    Aurongroove

    Joined:
    Jan 29, 2015
    Posts:
    5
    Hurray
    Some dude found it on another forum I posted to.

    It's called a "music tracker" apparently, and yes there are several that are compatible with Unity (according to Unity's manual).

    Happy days.
     
  4. AKAdriano

    AKAdriano

    Joined:
    Oct 10, 2014
    Posts:
    9
    that can all be done in Fmod studio as well and Fmod is native to unity.
     
  5. Werkmeister

    Werkmeister

    Joined:
    Jan 7, 2015
    Posts:
    16
    Hi,
    you may check out psai. It's an interactive music engine which fits the process you describe: As a composer you can create an interactive soundtrack, check out and tune everything outside the game and then hand over the soundtrack package to the developer. The developer has to purchase and integrate the plugin, though.

    https://www.assetstore.unity3d.com/en/#!/search/psai
    www.homeofpsai.com

    Cheers,
    Jan
     
  6. Veemix

    Veemix

    Joined:
    Dec 5, 2014
    Posts:
    25
    If you are developing for iOS, check out AudioKit, it is based on the Csound audio programming language and enables the creation of Music-N style operation codes using familiar Objective-C/Swift syntax.
     
  7. Aurongroove

    Aurongroove

    Joined:
    Jan 29, 2015
    Posts:
    5
    Back when I use FMOD it had nothing like those features, are you saying it now has a beat sequencer? i.e., for constructing and looping complex rhythm from short percussion samples?
     
  8. Aurongroove

    Aurongroove

    Joined:
    Jan 29, 2015
    Posts:
    5
    That sounds great, my audio programming modules in Uni was based in C++, so it is one I'm familiar with.
    Definitely one I will look at when my new laptop arrives.