dvruette / figaro

Source code for "FIGARO: Generating Symbolic Music with Fine-Grained Artistic Control"
MIT License
138 stars 21 forks source link

Generate from scratch #10

Open iamamiramine opened 1 day ago

iamamiramine commented 1 day ago

Is it possible to generate a new piece from scratch without providing test files as input?

dvruette commented 1 day ago

The intended workflow is conditional generation: Some description is provided (either hand-written, extracted from test data, or procedurally generated) and the sample is generated conditionally. One can also imagine training an unconditional model on expert descriptions in order to generate new samples unconditionally, but this was left as future work.

iamamiramine commented 1 day ago

Understood. Thank you for your reply.

From a code perspective, can I provide only one decription file or latent file and generate one midi file accordingly? Because in the generate code, the script prepares a new datamodule from a set of midi files before each generation. Is it possible that my prompt could be only one description or latent file?

dvruette commented 1 day ago

It's been a while since I've worked with the code, so I don't remember the implementation details. I'd suggest you just try and see what happens. Alternatively you can take a look at the colab demo, which works on individual descriptions.

iamamiramine commented 1 day ago

Alright thank you for your help! Will go by your suggestions and let you know if it works.

dvruette commented 1 day ago

No problem! :)