Search Unity

  1. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  2. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  3. If you couldn't join the live stream, take a peek at what you missed.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  5. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  6. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

[Free] Midi Player Tool Kit Available !

Discussion in 'Made With Unity' started by BachmannT, Apr 14, 2018.

  1. BachmannT

    BachmannT

    Joined:
    Nov 20, 2016
    Posts:
    8
    Hello
    Midi Player Tool Kit is a package able to play music from Midi files in your application. There is no need of external component or device.

    Thank to SoundFont for adding hundred sounds of instruments for playing Midi files
    • No scripting C# or JS is mandatory: specific inspector defined all your needs directly in Unity editor. See Quick Start.
    • Add Midi Audio Source Prefab in your scene as much as you want.
    • Add Midi files (from the web or from your composition) as much as you want.
    • Play / Paused automatically based on distance.
    • API available to integrate MPTK in your application (coming soon !)
    Have Fun !
     
  2. BachmannT

    BachmannT

    Joined:
    Nov 20, 2016
    Posts:
    8
    Hi
    Version 1.1 available. Check API here.
    Version 1.2 on the rail with MidiStreamPlayer component to generate on the fly music midi.
    Perfect for Music Generator !

    Have Fun !
     
  3. Denis2018m

    Denis2018m

    Joined:
    Feb 11, 2018
    Posts:
    2
    Hello Bachmann! Thank you for the interesting asset. You write: "...Midi Player Tool Kit converts SoundFont to a simpler format with not all the functionalities of SoudFont..." Would you please tell, which exactly functional of SoundFont is modified in Unity, or will be not available?
     
  4. BachmannT

    BachmannT

    Joined:
    Nov 20, 2016
    Posts:
    8
    Hi Denis2018m,

    Included : key range, velocity range, pan, sample, loop sample, OverridingRootKey, FineTune, CoarseTune
    not included : ADSL, Chorus, Reverb, Frequency Modulation

    Mainly, all heavy CPU consumming generator are not implemented.

    Best regards
     
  5. CodeIsTheAnswer

    CodeIsTheAnswer

    Joined:
    Jul 16, 2013
    Posts:
    3
    Is there a way to dynamically "feed" the player with data instead of sending a prebuilt file?
    for example, what if I want to play a few chords instead of an entire song?
    thanks,
    Mark
     
  6. BachmannT

    BachmannT

    Joined:
    Nov 20, 2016
    Posts:
    8
    Hi
    If I well understand your question, you want to play music without a Midi file ?
    The last version 1.5, can be used to play notes with the API. For each notes you have to defined : note, instrument, duration, volume, ....
    Have a look to this two demo in the package :
    • TestMidiStreamSimple : very simple (and horrible!) music generator. Usefull to understand how to use the MidiStreamPlayer Prefab.
    • TestMidiStreamGenerator : a more complex music generator with some algorithm. Could become in futur a new asset in the store ;-)
    BR
    Thierry
     
    Last edited: Jun 10, 2018
  7. Defero

    Defero

    Joined:
    Jul 9, 2012
    Posts:
    200
    Hi,

    interested in the plugin for the music tiles type game. The api link is broken to see if it would be possible.

    Regards
     
  8. BachmannT

    BachmannT

    Joined:
    Nov 20, 2016
    Posts:
    8
    Last edited: Jun 20, 2018 at 6:38 AM
  9. BachmannT

    BachmannT

    Joined:
    Nov 20, 2016
    Posts:
    8