Open JLenzy opened 3 months ago
Can you provide the two midi files for subsequent testing? I will try to debug
Github isn't letting me upload .mid so here is a gdrive link: https://drive.google.com/drive/folders/1yZo1XlaEZU-WIW6uQkzULbCJ4M-TDAm1?usp=sharing
Thanks for the feedback. But I would like to remind you that the audio synthesis feature, at the moment, is still in an experimental stage, so if you want to use the synthesized results for experimentation or engineering purposes, I would recommend you to use fluidsynth (the audio synthesis backend used by musescore) from the command line, which provides more stable synthesis results.
The reason I didn't use fluidsynth directly in symusic is because fluidsynth has a lot of other dependencies that can't be installed across platforms very easily. Whereas our own rebuilt wheel can be statically linked directly into symusic without creating other dependencies.
Yes, your synthesizer is much easier and I'm very grateful for it! But in this case it works flawlessly with the first input. Do you have any idea why calling the Score() class on the second input MIDI file is returning a totally different type? That seems to be an issue that occurs prior to the synthesis stage
The first one shows indeed type information, but the second one looks like repr
In this case, what is the solution? Am I creating the initial score incorrectly perhaps? Or is it something I can convert?
Your code looks correct, but I don't have time to do further verification right now. I'm preparing a 3.24 gre test.
No worries at all =) Thanks again for all your patience and support!
I have test the midi files, but symusic just wokrs correctly on my macbook, although I did meet a known issue mentioned in the README (strange current noise at the end of audio).
@JLenzy Can you still reproduce the problem?
I want to do the following (in the context of a gradio interface):
The new MIDI scores are not being 'allowed' by the symusic synthesizer.render function.
Original MIDI (this works fine):
New MIDI (this breaks):
I've verified that the new MIDI file is in fact valid. Sorry if I'm missing something obvious. Why does the second 'Score' return a different type?