play_chord Subroutine

public subroutine play_chord(self, channel, note, chord, velocity, value)

Writes a chord, waits for its duration, and writes the OFF events

Type Bound

MIDI_file

Arguments

Type IntentOptional Attributes Name
class(MIDI_file), intent(inout) :: self
integer, intent(in) :: channel
integer, intent(in) :: note
integer, intent(in), dimension(:) :: chord
integer, intent(in) :: velocity
integer, intent(in) :: value

Calls

proc~~play_chord~~CallsGraph proc~play_chord MIDI_file%play_chord proc~checked_int32 checked_int32 proc~play_chord->proc~checked_int32 proc~delta_time MIDI_file%delta_time proc~play_chord->proc~delta_time proc~note_off MIDI_file%Note_OFF proc~play_chord->proc~note_off proc~note_on MIDI_file%Note_ON proc~play_chord->proc~note_on proc~delta_time->proc~checked_int32 proc~write_variable_length_quantity MIDI_file%write_variable_length_quantity proc~delta_time->proc~write_variable_length_quantity proc~checked_int8 checked_int8 proc~note_off->proc~checked_int8 proc~note_on->proc~checked_int8 proc~variable_length_quantity variable_length_quantity proc~write_variable_length_quantity->proc~variable_length_quantity

Called by

proc~~play_chord~~CalledByGraph proc~play_chord MIDI_file%play_chord program~blues blues program~blues->proc~play_chord program~circle_of_fifths circle_of_fifths program~circle_of_fifths->proc~play_chord program~la_folia la_folia program~la_folia->proc~play_chord program~motifs motifs program~motifs->proc~play_chord