Closed ForNeVeR closed 1 year ago
If you are using Raylib_CsLo and MeltySynth, you can stream MIDI files using Raylib_CsLo's AudioStream.
Here is a link to a code example (in C#): https://github.com/sinshu/meltysynth/tree/main/Examples/Raylib_CsLo
By using this method, you won't need NAudio, and there is no need to place large sound data in memory.
@sinshu, thanks a lot for your advice — and for MeltySynth as well. It's great!
https://github.com/sinshu/meltysynth/tree/main/Examples/Raylib_CsLo works flawlessly.
TODO
Try finding a lighter library for.wav
file writingMaybe see this threadMigrate to Raylib.wav
playback facilityIf we still use NAudio, use only those sub-libraries that we need, and not the whole library suite.wav
file is kinda scaryTest on MacAfter review
After merge