This program uses MIDI Format 1 as input and output file format. The user interface of the program is like:
The functions of each button are as the following,
Encode MIDI File: Transform the input MIDI file to the music pattern used for training. Because one MIDI file may have more than one track chunk which has notes, each track chunk except the first one is encode into a note file, *.not. (The first track chunk in a MIDI file only stores general infomation for the whole MIDI file; there is no note in this chunk.) For example, if the input MIDI file is input.mid and there are 3 track chunks in this MIDI file, the encoding process would generate two note file, input1.not and input2.not.
Train: The training process reads a note file and trains the neuron network. The weights of the trained network would be stored in a weight file, *.wgt. For example, if the input note file is input.not, the output file would be input.wgt. Sometimes the training procesure may proceed very slow.
Compose: The composing process reads a weight file and composes a piece of composition, including 256 notes in 32 bars. Then this composition would be transformed into MIDI File Formate 1. After composing, a Save File dialoge would execute so that users can save the new MIDI file.
Encode --> Train --> Compose: This button encapsulates all the above processes from encoding to composing for each track chunks except the first one in the input MIDI file. Therefore, the output is a MIDI file whose number of track chunks is as same as the input MIDI file and a piece of composition is stored in it.
Tutorials
|