pjlab-songcomposer / songcomposer

Apache License 2.0
159 stars 10 forks source link

MIDI file to melody #8

Open kily-wmz opened 6 months ago

kily-wmz commented 6 months ago

Hi! I would like to ask if you have written a function that can convert MIDI files into the tuple notation format used in your paper. I want to process a large number of MIDI files using your model to obtain the notation. If such a function exists, could you please share it? Thank you very much.

uu95 commented 5 months ago

@kily-wmz Hi, were you able to do it? If so, could you share the details? If not, can someone guide me on how to convert a MIDI file to the required notation?

kily-wmz commented 5 months ago

@uu95 Yep! I've already resolved this issue. If you need the detailed code, please leave your email address.

uu95 commented 5 months ago

@kily-wmz please share the code at: ubaid95@yu.ac.kr. Thank you

uu95 commented 5 months ago

@kily-wmz I wanted to confirm if you have already shared the code because I may have missed it.

Additionally, I tried to implement this on my own but can't seem to figure out why it always outputs in Chinese. Is there something I am missing here?

kily-wmz commented 5 months ago

@uu95 hi, I have sent the code to your email again, please check if you have received it.

uu95 commented 5 months ago

@kily-wmz Sorry for the delay. Yes, thank you, I received it and tried running it, but I can't figure out how to control the output language of the model as I need English only. I searched the Hugging Face multilingual documentation but still couldn't solve it. Is it related to the InternLM2 model, the tokenizer, or the format you used?

Mark12Ding commented 5 months ago

Thank you for your interest in our work. The language-specific prompt functionality is included in the newest version of our model. We will be releasing it soon, so please stay tuned.

Best, Shuangrui

youknowwyz commented 2 months ago

@kily-wmz Could you please share the code at: rylynn@pku.edu.cn? Thank you!

ywdong commented 1 month ago

@kily-wmz Could you please share the code at: ywdong8809@qq.com Thank you!

godofecht commented 1 month ago

I can add this functionality to song composer, if you'd like

PbRQianJiang commented 1 week ago

Could you please share the code at: 202316187@stu.neu.edu.cn Thank you!

godofecht commented 1 week ago

I'm just going to submit a PR for songcomposer for this... Don't get why everybody is giving out their emails like this

BlueOcean5911 commented 4 days ago

Could you please share the code at: russell.johnson.navy@gmail.com. Thank you!