F# Project - Sound Synthesis
View the Project on GitHub PaulMarisOUMary/ALGOSUP_2022_Project_3_B
module Note
Attributes:
none
Methods:
Types:
method GetFrequency (note:Note) (octave: int)
Return the frequency in function of a note and octave. This method is mainly use in the Wave.MakeNote method.
let calculateFrequency = Note.GetFrequency Note.A 4
Returns a frequency of Note.A octave 4.
note : mandatory
Type : Note
octave : mandatory
The octave, between [0 and 8].
Type : int
Returns the frequency. Type : float
type Note
The note type. Mainly use in the GetFrequency method and while creating sounds. This type is in agreement with the music range.
- A
- As
- B
- C
- Cs
- D
- Ds
- E
- F
- Fs
- G
- Gs
- LFO
- REST // avoid computation of the wave returns always 0
- DEBUG // used to debug and visualize waves with Charts