New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[teleMelody] How to import lyric to the generated midi sample? #78
Comments
To match them together, we add each lyric with timestamp in midi files, please referring to the codes. And the music scores in the example link are exported from the app Feel free to tell me if I have any misunderstanding about your questions. |
Thank you for the quick response, it looks like the generated midi object already contains the lyric. However, when I open the generated midi file (with GarageBand), I can only listen to it and I could not find any lyric. How can I transform the midi file to the sample of your style: BTW, I upload a midi file that generated by the inference code. Thank you! |
BTW, it seems that lyric-melody alignment goes wrong in your midi files. You may check the input format, referring to the testset |
I see, I think I find the problem.
The text input I put
And the syllabus I get is
Could you tell me how to fix it? Thank you! |
|
Thank you for the clarification! I appreciate your time. But there is still slightly difference between my phone and the phone in the test file. Take the first sentence for instance:
From the test file, we notice that
corresponds to phone
However, when I type the same input to the function:
I got:
The position of d is different. How can I fix it? Thank you. |
I'm guessing it's related to the version, but could not check it due to the loss of my environment. BTW, I think both your code and result are correct and does not need a fix. |
I see, thank you for solving my problem! |
Hi @jzq2000, I have a quick question about inference. In the example link https://ai-muzic.github.io/telemelody/, I notice that each sample contains both media and lyric. From the code, we could generated the midi file given lyric. So how do we match them together? Thank you!
The text was updated successfully, but these errors were encountered: