add_note Subroutine

public subroutine add_note(tape, track, t1, t2, f, Amp, envelope)

A note of fundamental frequency f with harmonics, based on sine waves. https://en.wikipedia.org/wiki/Harmonic

Arguments

Type IntentOptional Attributes Name
type(tape_recorder), intent(inout) :: tape
integer, intent(in) :: track
real(kind=wp), intent(in) :: t1
real(kind=wp), intent(in) :: t2
real(kind=wp), intent(in) :: f
real(kind=wp), intent(in) :: Amp
type(ADSR_envelope), intent(inout), optional :: envelope

Calls

proc~~add_note~~CallsGraph proc~add_note add_note proc~add_sine_wave add_sine_wave proc~add_note->proc~add_sine_wave proc~adsr_level ADSR_envelope%ADSR_level proc~add_sine_wave->proc~adsr_level

Called by

proc~~add_note~~CalledByGraph proc~add_note add_note proc~add_chord add_chord proc~add_chord->proc~add_note program~chords_and_melody chords_and_melody program~chords_and_melody->proc~add_chord program~demo_effects demo_effects program~demo_effects->proc~add_chord