MrCheeze / musenet-midi

A tool for converting input and output data for OpenAI's MuseNet from and to MIDI. https://mrcheeze.github.io/musenet-midi/
59 stars 27 forks source link

can I mass input midi files? #4

Open breadbrowser opened 1 year ago

breadbrowser commented 1 year ago

I have 180,000 midi files that are type 1 and I need to make a dataset of midi type 0 to train my ai model called MuseNeo on.

MrCheeze commented 1 year ago

You are asking how to do a bulk conversion of Midi files to musenet's data format?

Here's the core of my conversion logic, you'll have to do some work on your own to pull that out into a bulk tool.

If you do manage to get some remotely decent results, do let me know :)

breadbrowser commented 1 year ago

You are asking how to do a bulk conversion of Midi files to musenet's data format?

Here's the core of my conversion logic, you'll have to do some work on your own to pull that out into a bulk tool.

If you do manage to get some remotely decent results, do let me know :)

the only one i know of is https://www.gnmidi.com/. it's from 2001, I think.

MrCheeze commented 1 year ago

You are asking how to do a bulk conversion of Midi files to musenet's data format? Here's the core of my conversion logic, you'll have to do some work on your own to pull that out into a bulk tool. If you do manage to get some remotely decent results, do let me know :)

the only one i know of is https://www.gnmidi.com/. it's from 2001, I think.

This tool has no relation to the midi text format that OpenAI created. You'll need to write your own if you want to use their format. If you want to use some other textual midi format, then I don't have any particular info to provide.

breadbrowser commented 1 year ago

You are asking how to do a bulk conversion of Midi files to musenet's data format? Here's the core of my conversion logic, you'll have to do some work on your own to pull that out into a bulk tool. If you do manage to get some remotely decent results, do let me know :)

the only one i know of is https://www.gnmidi.com/. it's from 2001, I think.

This tool has no relation to the midi text format that OpenAI created. You'll need to write your own if you want to use their format. If you want to use some other textual midi format, then I don't have any particular info to provide.

image

I need to get this type of data for this dataset, I'm making https://huggingface.co/datasets/breadlicker45/midi-music-codes