Mar-26-2019, 10:25 AM
I need to generate a set of random music files in wav format. I need to save information about which notes I play and the duration it have in a separate file (this is not the problem).
The part I don't now how to do:
How do I easiest make a wav file with piano sounds from a list of notes and durations. The notes can be represented as midi note numbers (or other note numbering system). The duration has to be in seconds. It would be nice if different piano sounds can be used, but it need to be somewhat realistic piano sound.
Grateful for help, I have no idea of which library to use.
The part I don't now how to do:
How do I easiest make a wav file with piano sounds from a list of notes and durations. The notes can be represented as midi note numbers (or other note numbering system). The duration has to be in seconds. It would be nice if different piano sounds can be used, but it need to be somewhat realistic piano sound.
Grateful for help, I have no idea of which library to use.