forsynth Module

This module contains a few parameters, especially the sampling frequency and the temporal step.


Uses

  • module~~forsynth~~UsesGraph module~forsynth forsynth iso_fortran_env iso_fortran_env module~forsynth->iso_fortran_env

Used by

  • module~~forsynth~~UsedByGraph module~forsynth forsynth module~audio_effects audio_effects module~audio_effects->module~forsynth module~tape_recorder_class tape_recorder_class module~audio_effects->module~tape_recorder_class module~envelopes envelopes module~envelopes->module~forsynth module~envelopes->module~tape_recorder_class module~music music module~music->module~forsynth module~music->module~envelopes module~signals signals module~music->module~signals module~music->module~tape_recorder_class module~signals->module~forsynth module~signals->module~envelopes module~signals->module~tape_recorder_class module~tape_recorder_class->module~forsynth module~wav_file_class wav_file_class module~wav_file_class->module~forsynth module~wav_file_class->module~tape_recorder_class program~all_signals all_signals program~all_signals->module~forsynth program~all_signals->module~envelopes program~all_signals->module~music program~all_signals->module~signals program~all_signals->module~wav_file_class program~arpeggios arpeggios program~arpeggios->module~forsynth program~arpeggios->module~envelopes program~arpeggios->module~music program~arpeggios->module~signals program~arpeggios->module~wav_file_class program~blues blues program~blues->module~forsynth program~blues->module~audio_effects program~blues->module~music program~blues->module~signals program~blues->module~wav_file_class program~chords_and_melody chords_and_melody program~chords_and_melody->module~forsynth program~chords_and_melody->module~audio_effects program~chords_and_melody->module~envelopes program~chords_and_melody->module~music program~chords_and_melody->module~signals program~chords_and_melody->module~wav_file_class program~demo_effects demo_effects program~demo_effects->module~forsynth program~demo_effects->module~audio_effects program~demo_effects->module~envelopes program~demo_effects->module~music program~demo_effects->module~wav_file_class program~doppler_effect doppler_effect program~doppler_effect->module~forsynth program~doppler_effect->module~wav_file_class program~drone_music drone_music program~drone_music->module~forsynth program~drone_music->module~envelopes program~drone_music->module~music program~drone_music->module~wav_file_class program~drum_machine drum_machine program~drum_machine->module~forsynth program~drum_machine->module~signals program~drum_machine->module~wav_file_class program~misc_sounds misc_sounds program~misc_sounds->module~forsynth program~misc_sounds->module~music program~misc_sounds->module~tape_recorder_class program~misc_sounds->module~wav_file_class program~shepard_risset_glissando shepard_risset_glissando program~shepard_risset_glissando->module~forsynth program~shepard_risset_glissando->module~envelopes program~shepard_risset_glissando->module~wav_file_class program~shepard_scale shepard_scale program~shepard_scale->module~forsynth program~shepard_scale->module~audio_effects program~shepard_scale->module~wav_file_class

Variables

Type Visibility Attributes Name Initial
real(kind=wp), public, parameter :: PI = 4.0_wp*atan(1.0_wp)
integer, public, parameter :: RATE = 44100
real(kind=wp), public, parameter :: dt = 1.0_wp/RATE
integer, public, parameter :: wp = REAL64

The default working precision wp is REAL64. REAL32 can be set: it will accelerate computations and give good results most of the time. But in certain situations, for example drone music, it can introduce artefacts.


Subroutines

public subroutine test_the_machine()

A WAV file contains 64, 32 and 16 bits data or metadata, so we need those kinds.

Arguments

None