Embedded musical notation

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By sxk
:warning: Old Version Published before Godot 3 was released.

Hi all

Just started playing with Godot. So far I am really happy with it. I am new to game programming and after trialing jme3, godot engine, unity - admittedly for a few days each, I settled on Godot for tinkering.

So please take the following question in that spirit - of a newbie. Is it possible to access any sort of midi output from with in Godot in a platform neutral way? What I am asking is - is it possible to open a midi node of some sort, then send notes to it on the fly? That will give us a feasibility to generate music programmatically and tie it in with what is happening in the game at that moment.

If it is possible, I will appreciate any pointers. I have in the remote past, written a DSL to convert text to midi - it worked, although unsightly. If there is a way to connect Godot engine to system midi output so to speak and even incorporate a public domain sound font like merlin, it will be great.

I am more than happy to clean up my feeble attempt at the DSL I did in 2006 and port that to Godot under gdscript.

Any suggestion?

Thanks

:bust_in_silhouette: Reply From: Freeman

I am a noob to, but I am sure you would need to write your own module in c++ because there is no I/O midi capability in Godot right now. I remember this midi discussion on Github: I/O from and to midi devices · Issue #6628 · godotengine/godot · GitHub

But, it does not mean that interactive music generation from code is not possible in Godot. It certainly is possible. Just in a different way.
Here is a one example I can point at GitHub - oamldev/oamlGodotModule: oaml module for godot engine Open Adaptive Music Library module if you don’t like to create your own solution.

However, I feel, that you have some interactive audio project in mind, so I think you should be aware of at least two present inconveniences in that matter:

and

Also, your question’s “subject” is a little misleading. You are asking about MIDI Input/output , not exactly a musical notation.

Thanks Freeman.

Yes, the question header is a little misleading, partly from my own confusion I guess.

I was thinking of a facility where you can increase or decrease an octave, write notes to a midi player using a notation system like “abc” etc. That way if someone is closer to being dead, you can play sad violin vs playing upbeat music to someone fighting away.

Thanks for the links. I read through them. Hope the sound delay gets fixed soon. I am sure the devs know what they are doing. I will continue with godot and see how far I can get.

Thanks

sxk | 2017-01-03 15:47