play_note Subroutine

public subroutine play_note(self, channel, note, velocity, value)

Write a Note ON event, waits for its duration, and writes a Note OFF.

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) :: velocity
integer, intent(in) :: value

Calls

proc~~play_note~~CallsGraph proc~play_note MIDI_file%play_note proc~checked_int32 checked_int32 proc~play_note->proc~checked_int32 proc~delta_time MIDI_file%delta_time proc~play_note->proc~delta_time proc~note_off MIDI_file%Note_OFF proc~play_note->proc~note_off proc~note_on MIDI_file%Note_ON proc~play_note->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_note~~CalledByGraph proc~play_note MIDI_file%play_note program~canon canon program~canon->proc~play_note program~motifs motifs program~motifs->proc~play_note program~third_kind third_kind program~third_kind->proc~play_note