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
  4. Dismiss Notice

I would like to make a music maker, any engine or software out there to do just that?

Discussion in 'General Discussion' started by killhead98, Sep 18, 2013.

  1. killhead98

    killhead98

    Joined:
    Oct 17, 2012
    Posts:
    25
    I would like to develop a music maker, something similar to "ejey or FL Studio" I looked all over Google but I can not find anything, I need an easy program or anything to create a music maker software, It was my dream to make these type of programs but they are so hard to make, keep trying but failed I would try anything to make a music production software. If you can help I would be grateful, very grateful, if you can help thank you.
     
    Last edited: Sep 21, 2013
  2. JamesLeeNZ

    JamesLeeNZ

    Joined:
    Nov 15, 2011
    Posts:
    5,616
    you've got a long hard road ahead of you.

    Audio dev is pretty tough.

    I assume you have some music production experience?

    I also assume you know what a vst is? If yes, then I would start trying to create something like that.

    tbh, I dont think unity is the best tool for creating music software, however, hippocoder made some music related thing. Find his profile and check that out
     
  3. killhead98

    killhead98

    Joined:
    Oct 17, 2012
    Posts:
    25
    Ok thank you, I have made my own sound generator keyboard long time ago.
     
  4. killhead98

    killhead98

    Joined:
    Oct 17, 2012
    Posts:
    25
    Do any one else know how to make one of these?
     
  5. soldmeadow

    soldmeadow

    Joined:
    Jun 23, 2011
    Posts:
    42
    You can buy the complete source to a Monome like Unity app called Step Seq here: https://www.assetstore.unity3d.com/#/content/4314

    Or maybe something like Max? http://cycling74.com/products/max/

    Otherwise I agree with JamesLeeNZ - think about creating a VST first. Creating something like FL Studio is a lot of work and I'd be surprised if one person could do it within 10 years. Even the FL Studio guys license their really difficult code from these guys: http://www.zplane.de/index.php?page=description-elastique. To write your own time stretch/pitch shifting code you're going to need a college/university level understanding of digital signal processing just to get started.
     
  6. dxcam1

    dxcam1

    Joined:
    Feb 6, 2012
    Posts:
    477
  7. killhead98

    killhead98

    Joined:
    Oct 17, 2012
    Posts:
    25
    Ok thank you! anyone else?
     
    Last edited: Sep 19, 2013
  8. killhead98

    killhead98

    Joined:
    Oct 17, 2012
    Posts:
    25
    Something like ejay, like if play bar goes over sound block it will trigger it to play, I need to know how to make the play bar to "Stop Play pause" and let the user drag it, and drag and drop a sample on to the arranger.


    I have made my own sounds for it.
     
    Last edited: Sep 19, 2013
  9. Hikiko66

    Hikiko66

    Joined:
    May 5, 2013
    Posts:
    1,302
    What have you tried and why has it failed?
     
  10. killhead98

    killhead98

    Joined:
    Oct 17, 2012
    Posts:
    25
    Because programming these things is very hard, I tried PlayMaker but that is no use!
     
  11. XGundam05

    XGundam05

    Joined:
    Mar 29, 2012
    Posts:
    473
    Then you might want to take the time to learn programming first. Audio tool development can be a veritable pain in the arse.

    I'd probably go with some sort of Queue or List for each sound that stores the times at which it is to be played for starters. And from there you could have a CurrentPlayTime (or some such) var somewhere that would be used to go through the queues and play the sounds (I don't know whether or not Unity has some sort of PlaySoundStartingAt(time) to start playing in the middle of a sound or not).
     
  12. goat

    goat

    Joined:
    Aug 24, 2009
    Posts:
    5,182
    If you're in these forums you aren't very autistic and furthermore you shouldn't use autism as a crutch if you are so capable to post in these forums, frankly more coherently than many of the fully functional professionals and high school students are willing to post in these forums, because there are some with autism that face and have faced a much more challenging battle to seem 'normal' then you have.

    And how long ago is long ago to a 15 year old? Last summer? When I was 15 long ago was last month. Your age is irrelevant to what you want to accomplish unless you are not legally allowed to participate in an activity because of your age. Sounds like a crutch so you can be excused from trolling forums.

    But if you want a challenge then port a port of MuseScore to Unity would be a very nice start for you:

    http://musescore.org/en/development

    I'm guessing you can play an instrument and read/write music already?
     
    Last edited: Sep 20, 2013
  13. killhead98

    killhead98

    Joined:
    Oct 17, 2012
    Posts:
    25
    Just to let people know because I can not explain things very well.
     
  14. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
  15. I am da bawss

    I am da bawss

    Joined:
    Jun 2, 2011
    Posts:
    2,574
    I was just watching this on Youtube and I thought it is quite relevent.

    Unite 2013 - Real-time Audio Synthesis with SuperCollider



    "Zach Aikman (17-Bit) on SuperCollider - a multi-platform, open source, real-time audio synthesis toolkit. This talk explains how it works and how it's been integrated into Unity."

    This basically tells you how you can go about making your own music maker using Unity and SuperCollider.
     
  16. Starpaq2

    Starpaq2

    Joined:
    Mar 14, 2013
    Posts:
    77
    You could try my asset here:

    Music Sequencer Project
    https://www.assetstore.unity3d.com/#/content/647

    If you have questions or need an update on the package let me know. It's my first asset I created about a year ago, but it is very well commented.

    Other than that there are many different way to approach it. Some better than others. There is no clearly defined standard method yet - atleast not in unity.

    It's a good base to get you started in the right direction. Of course it may not have the visual appeal or sound like Quickfingers step Sequencer. His sequencer uses a special algorithm that makes each note generate an "appealing sound" when played with any other note. I'm not sure how advanced it is.
     
    profsteven7 likes this.
  17. killhead98

    killhead98

    Joined:
    Oct 17, 2012
    Posts:
    25
    Thank you so much everybody for the help, I am not looking to put any money in anything, I need to save up to build my new computer.
     
  18. profsteven7

    profsteven7

    Joined:
    Jun 14, 2016
    Posts:
    6
    I don't believe your asset it still available on the asset store. Would you be willing to help me with my efforts to make a simple sequencer? My proof of concepts using FixedUpdate or InvokeRepeating are not producing a perfectly consistent metronome click. It's close, but lags every so often. Is there a better way to get unity to PlayOneShot in a more consistent rhythmically perfect way?

    Thanks!
     
  19. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,325
    The thread you're responding to is 7 years old.

    FixedUpdate should be ONLY used when interacting with physics. Because it does not run at consistent framerate, and instead can fire in burst, or once per several frames.

    Implement your own timer within Update().
     
    UnityMaru, JoNax97, Ryiah and 2 others like this.
  20. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,137
    FixedUpdate() and InvokeRepeating() are not truly fixed to the intervals you set them to. FixedUpdate() is a fairly complex one and I've provided a detailed explanation at the link below, but the summary is that it's being called back-to-back and not at specific intervals.

    https://forum.unity.com/threads/choose-when-to-use-update-or-fixedupdate.997454/#post-6478265

    My understanding of InvokeRepeating() is a little less certain as there is far less information available both on the forums and in the official documentation, but my understanding is that it's tied to frame rate and thus very much affected by performance with an accuracy varying anywhere from on time to being behind by the duration of the next frame.
     
    Last edited: Nov 3, 2020
    Joe-Censored likes this.
  21. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,878
    Can confirm invoke repeating seems tied to framerate.

    Really it sounds like they need to purchase koreographer, which solves a lot of these and other issues related to audio syncing etc https://assetstore.unity.com/packages/tools/audio/koreographer-54639