Yet Another Synthesizer Engine
Loading...
Searching...
No Matches
pitches.hh
1
//
2
// YASE Pitch Definitions Header
3
//
4
// Copyright (C) 2022 Eric Klavins
5
// This file is part of YASE
6
//
7
// YASE is free software: you can redistribute it and/or modify it under the
8
// terms of the GNU General Public License as published by the Free Software
9
// Foundation, either version 3 of the License, or (at your option) any later
10
// version.
11
//
12
// YASE is distributed in the hope that it will be useful, but WITHOUT ANY
13
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15
// details.
16
//
17
// You should have received a copy of the GNU General Public License along
18
// with YASE. If not, see <https://www.gnu.org/licenses/>.
19
//
20
21
#ifndef YASE_PITCH_H
22
#define YASE_PITCH_H
23
24
namespace
yase
{
25
26
const
double
REST = -1.0;
27
const
double
C0 = 16.35;
28
const
double
CS0 = 17.32;
29
const
double
D0 = 18.35;
30
const
double
DS0 = 19.45;
31
const
double
E0 = 20.60;
32
const
double
F0 = 21.83;
33
const
double
FS0 = 23.12;
34
const
double
G0 = 24.50;
35
const
double
GS0 = 25.96;
36
const
double
A0 = 27.50;
37
const
double
AS0 = 29.14;
38
const
double
B0 = 30.87;
39
const
double
C1 = 32.70;
40
const
double
CS1 = 34.65;
41
const
double
D1 = 36.71;
42
const
double
DS1 = 38.89;
43
const
double
E1 = 41.20;
44
const
double
F1 = 43.65;
45
const
double
FS1 = 46.25;
46
const
double
G1 = 49.00;
47
const
double
GS1 = 51.91;
48
const
double
A1 = 55.00;
49
const
double
AS1 = 58.27;
50
const
double
B1 = 61.74;
51
const
double
C2 = 65.41;
52
const
double
CS2 = 69.30;
53
const
double
D2 = 73.42;
54
const
double
DS2 = 77.78;
55
const
double
E2 = 82.41;
56
const
double
F2 = 87.31;
57
const
double
FS2 = 92.50;
58
const
double
G2 = 98.00;
59
const
double
GS2 = 103.83;
60
const
double
A2 = 110.00;
61
const
double
AS2 = 116.54;
62
const
double
B2 = 123.47;
63
const
double
C3 = 130.81;
64
const
double
CS3 = 138.59;
65
const
double
D3 = 146.83;
66
const
double
DS3 = 155.56;
67
const
double
E3 = 164.81;
68
const
double
F3 = 174.61;
69
const
double
FS3 = 185.00;
70
const
double
G3 = 196.00;
71
const
double
GS3 = 207.65;
72
const
double
A3 = 220.00;
73
const
double
AS3 = 233.08;
74
const
double
B3 = 246.94;
75
const
double
C4 = 261.63;
76
const
double
CS4 = 277.18;
77
const
double
D4 = 293.66;
78
const
double
DS4 = 311.13;
79
const
double
E4 = 329.63;
80
const
double
F4 = 349.23;
81
const
double
FS4 = 369.99;
82
const
double
G4 = 392.00;
83
const
double
GS4 = 415.30;
84
const
double
A4 = 440.00;
85
const
double
AS4 = 466.16;
86
const
double
B4 = 493.88;
87
const
double
C5 = 523.25;
88
const
double
CS5 = 554.37;
89
const
double
D5 = 587.33;
90
const
double
DS5 = 622.25;
91
const
double
E5 = 659.26;
92
const
double
F5 = 698.46;
93
const
double
FS5 = 739.99;
94
const
double
G5 = 783.99;
95
const
double
GS5 = 830.61;
96
const
double
A5 = 880.00;
97
const
double
AS5 = 932.33;
98
const
double
B5 = 987.77;
99
const
double
C6 = 1046.50;
100
const
double
CS6 = 1108.73;
101
const
double
D6 = 1174.66;
102
const
double
DS6 = 1244.51;
103
const
double
E6 = 1318.51;
104
const
double
F6 = 1396.91;
105
const
double
FS6 = 1479.98;
106
const
double
G6 = 1567.98;
107
const
double
GS6 = 1661.22;
108
const
double
A6 = 1760.00;
109
const
double
AS6 = 1864.66;
110
const
double
B6 = 1975.53;
111
const
double
C7 = 2093.00;
112
const
double
CS7 = 2217.46;
113
const
double
D7 = 2349.32;
114
const
double
DS7 = 2489.02;
115
const
double
E7 = 2637.02;
116
const
double
F7 = 2793.83;
117
const
double
FS7 = 2959.96;
118
const
double
G7 = 3135.96;
119
const
double
GS7 = 3322.44;
120
const
double
A7 = 3520.00;
121
const
double
AS7 = 3729.31;
122
const
double
B7 = 3951.07;
123
const
double
C8 = 4186.01;
124
const
double
CS8 = 4434.92;
125
const
double
D8 = 4698.64;
126
const
double
DS8 = 4978.03;
127
const
double
E8 = 5274.04;
128
const
double
F8 = 5587.65;
129
const
double
FS8 = 5919.91;
130
const
double
G8 = 6271.93;
131
const
double
GS8 = 6644.88;
132
const
double
A8 = 7040.00;
133
const
double
AS8 = 7458.62;
134
const
double
B8 = 7902.13;
135
136
}
137
138
#endif
yase
Definition
additive_saw.cc:24
include
pitches.hh
YASE was developed by and is maintained by
Eric Klavins