Programming is a great and marvellous journey. I hope to share with you some of my realizations.

Maestro - Midi Player Tool Kit

Midi Player Tool Kit is a package for Unity able to play music in your application. Three methods are available:

  • From MIDI files:
    • Download MIDI files from the web. Thank to the huge MIDI library available from the net!
    • Import these MIDI files into Maestro with the dedicated Maestro editor windows.
    • Add the Prefab "MidiFilePlayer" and ... Play! No scripting necessary. Details here.
  • From an algorithm of your own in your application:
    • From script, generate each notes with velocity, pitch, duration, delay.
    • Select instruments from hundreds of instruments in the selected SoundFont.
    • Build chords and ranges (pro).
    • Play with the accurate internal sequencer or write MIDI file.
  • From a keyboard or a synthesizer connected to a MIDI port (pro).


Get more control on music with MIDI:

  • Change tempo without affecting the pitch (perfect to adapt in real-time music speed to game speed).
  • Mute or Change instruments on fly.
  • Jump to other places in the music with a 100% smooth transition.
  • Make things happen in your game when certain notes are played in the music.
  • Apply all transformations you want on the music.
  • Nothing gets smaller than MIDI file. Absolutely the smallest file-size you’ll find to play music!


Main Fonctions:

  • Based on Unity AudioSource and SoundFont, there is no need of an external synthesizer. No scripting C# or JS is mandatory: a specific inspector defined all your needs directly in the Unity editor.
  • Add MIDI Audio Source Prefab in your scene as much as you want.
  • Add MIDI files as much as you want.
  • Play based on 3D location.
    • Ready for Virtual Reality application.
    • Play / Paused automatically based on distance.
  • Dynamic Sound Effects processing and Real Time Synthesizer Modulator.
  • Full API available to integrate MPTK in your application for more complex interactions.
  • Synthesizer based on SoundFont.
  • Full source code.

Please, have a look to theses pages :



If you have questions, remarks or suggestions, please contact me on the Unity forum:


Or by mail if you prefer a more private exchange:



Midi File Player Tool Kit Inspector:

Midi Synthesizer:


SoundFont Effects:


Setup SoundFonts:


Setup MIDI files:

A lot of demonstrations are available:


A Secret Life

Stores all your secrets in one place

Manage your secret life : web, bank, social, photo, free text, calendar, custo and synchronize between phone, desktop, tablet with a high level of encryption (AES 256 bits).



A free game for Windows Phone. You can participate to enhance this game : download the level editor and send me your creation.


A level editor :

Bachmann 3D

Pacman but in a 3D Universe !!!


Version imprimable Version imprimable | Plan du site
Thierry Bachmann Version 1.0