Closed neebooo closed 1 year ago
This addon does not play back MIDI files as audio (yet). If you want to sync the midi file playback to an audio track, you'll have to convert the midi to something like a WAV or OGG file in an external music production program and add it to an AudioStreamPlayer.
Playing back audio directly from MIDI files in Godot would require implementing a General MIDI synthesizer, it's something I'm looking into but probably won't get around to for a while as I am busy with other projects. If you feel like implementing it yourself, feel free to submit a pull request.
Something like https://github.com/schellingb/TinySoundFont seems like it would work great.
Oh. I'm so sorry for misinterpreting the projects abilities. Thank you so much for telling me how to play audio. (This project is really cool and it still helps me with the rhythm game I am trying to make :'D)
Godot version: v4.1.2.stable.voidlinux OS: Voidlinux glibc Kernel: Linux-LTS 6.3.13_1 Sound: Pipewire (but I have pipewire-pulse installed too) Extension version: 0.1.0
When I try to play a midi file using this code (I followed the tutorial in the readme)
I see
But no sound at all is being played (Sorry if I wrote this issue incorrectly This is the first time I made one)