Create a new MIDI file and its metadata track. Concerning the "divisions" argument, ForMIDI uses the "metrical timing" scheme, defining the number of ticks in a quarter note. The "timecode" scheme is not implemented. SMF format: 0: only one track in the file 1: several tracks played together (generally used) 2: several tracks played sequentially
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(MIDI_file), | intent(inout) | :: | self | |||
character(len=*), | intent(in) | :: | file_name | |||
integer, | intent(in) | :: | format | |||
integer, | intent(in) | :: | tracks | |||
integer, | intent(in) | :: | divisions | |||
integer, | intent(in) | :: | tempo | |||
integer, | intent(in), | optional | :: | time_signature(:) | ||
character(len=*), | intent(in), | optional | :: | copyright | ||
character(len=*), | intent(in), | optional | :: | text_event |