Files
godot-demo-projects/audio/midi_piano
Hugo Locurcio bac1e69164 Use static typing in all demos (#1063)
This leads to code that is easier to understand and runs
faster thanks to GDScript's typed instructions.

The untyped declaration warning is now enabled on all projects
where type hints were added. All projects currently run without
any untyped declration warnings.

Dodge the Creeps and Squash the Creeps demos intentionally don't
use type hints to match the documentation, where type hints haven't
been adopted yet (given its beginner focus).
2024-06-01 12:12:18 +02:00
..
2022-02-13 15:30:55 -06:00

MIDI Piano

This demo shows how to use InputEventMIDI by creating a piano that can be controlled by a MIDI device. This is known to work with a Yamaha MX88.

The piano can also be controlled by clicking on the keys, or by manually calling the activate and deactivate methods on each key.

Note that MIDI output is not yet supported in Godot, only input works.

Language: GDScript

Renderer: Compatibility

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/1292

Screenshots

Screenshot