Module: MTK::Lang::Pitches

Defined in:
lib/mtk/lang/pitches.rb

Overview

Defines a constants for each Core::Pitch in the standard MIDI range using scientific pitch notation. The constants range from C-1 (MIDI value 0) to G9 (MIDI value)

Because the character ‘#’ cannot be used in the name of a constant, the “black key” pitches are all named as flats with ‘b’ (for example, Gb3 or Db4). And because the character ‘-’ (minus) cannot be used in the name of a constant, the low pitches use ‘_’ (underscore) in place of ‘-’ (minus) (for example C_1).

To help automate the documentation, the constants are listed under “Instance Attribute Summary” on this page.

Constant Summary collapse

PITCHES =
Note:

This is populated dynamically so the documentation does not reflect the actual value

The values of all constants defined in this module

[]
PITCH_NAMES =
Note:

This is populated dynamically so the documentation does not reflect the actual value

The names of all constants defined in this module

[]

Instance Attribute Summary collapse

Instance Attribute Details

#A0MTK::Core::Pitch (readonly)

Pitch A0 (MIDI pitch 21)

Returns:



60
# File 'lib/mtk/lang/pitches.rb', line 60

define_pitch 'A0', 21

#A1MTK::Core::Pitch (readonly)

Pitch A1 (MIDI pitch 33)

Returns:



72
# File 'lib/mtk/lang/pitches.rb', line 72

define_pitch 'A1', 33

#A2MTK::Core::Pitch (readonly)

Pitch A2 (MIDI pitch 45)

Returns:



84
# File 'lib/mtk/lang/pitches.rb', line 84

define_pitch 'A2', 45

#A3MTK::Core::Pitch (readonly)

Pitch A3 (MIDI pitch 57)

Returns:



96
# File 'lib/mtk/lang/pitches.rb', line 96

define_pitch 'A3', 57

#A4MTK::Core::Pitch (readonly)

Pitch A4 (MIDI pitch 69)

Returns:



108
# File 'lib/mtk/lang/pitches.rb', line 108

define_pitch 'A4', 69

#A5MTK::Core::Pitch (readonly)

Pitch A5 (MIDI pitch 81)

Returns:



120
# File 'lib/mtk/lang/pitches.rb', line 120

define_pitch 'A5', 81

#A6MTK::Core::Pitch (readonly)

Pitch A6 (MIDI pitch 93)

Returns:



132
# File 'lib/mtk/lang/pitches.rb', line 132

define_pitch 'A6', 93

#A7MTK::Core::Pitch (readonly)

Pitch A7 (MIDI pitch 105)

Returns:



144
# File 'lib/mtk/lang/pitches.rb', line 144

define_pitch 'A7', 105

#A8MTK::Core::Pitch (readonly)

Pitch A8 (MIDI pitch 117)

Returns:



156
# File 'lib/mtk/lang/pitches.rb', line 156

define_pitch 'A8', 117

#A_1MTK::Core::Pitch (readonly)

Pitch A_1 (MIDI pitch 9)

Returns:



48
# File 'lib/mtk/lang/pitches.rb', line 48

define_pitch 'A_1', 9

#Ab0MTK::Core::Pitch (readonly)

Pitch Ab0 (MIDI pitch 20)

Returns:



59
# File 'lib/mtk/lang/pitches.rb', line 59

define_pitch 'Ab0', 20

#Ab1MTK::Core::Pitch (readonly)

Pitch Ab1 (MIDI pitch 32)

Returns:



71
# File 'lib/mtk/lang/pitches.rb', line 71

define_pitch 'Ab1', 32

#Ab2MTK::Core::Pitch (readonly)

Pitch Ab2 (MIDI pitch 44)

Returns:



83
# File 'lib/mtk/lang/pitches.rb', line 83

define_pitch 'Ab2', 44

#Ab3MTK::Core::Pitch (readonly)

Pitch Ab3 (MIDI pitch 56)

Returns:



95
# File 'lib/mtk/lang/pitches.rb', line 95

define_pitch 'Ab3', 56

#Ab4MTK::Core::Pitch (readonly)

Pitch Ab4 (MIDI pitch 68)

Returns:



107
# File 'lib/mtk/lang/pitches.rb', line 107

define_pitch 'Ab4', 68

#Ab5MTK::Core::Pitch (readonly)

Pitch Ab5 (MIDI pitch 80)

Returns:



119
# File 'lib/mtk/lang/pitches.rb', line 119

define_pitch 'Ab5', 80

#Ab6MTK::Core::Pitch (readonly)

Pitch Ab6 (MIDI pitch 92)

Returns:



131
# File 'lib/mtk/lang/pitches.rb', line 131

define_pitch 'Ab6', 92

#Ab7MTK::Core::Pitch (readonly)

Pitch Ab7 (MIDI pitch 104)

Returns:



143
# File 'lib/mtk/lang/pitches.rb', line 143

define_pitch 'Ab7', 104

#Ab8MTK::Core::Pitch (readonly)

Pitch Ab8 (MIDI pitch 116)

Returns:



155
# File 'lib/mtk/lang/pitches.rb', line 155

define_pitch 'Ab8', 116

#Ab_1MTK::Core::Pitch (readonly)

Pitch Ab_1 (MIDI pitch 8)

Returns:



47
# File 'lib/mtk/lang/pitches.rb', line 47

define_pitch 'Ab_1', 8

#B0MTK::Core::Pitch (readonly)

Pitch B0 (MIDI pitch 23)

Returns:



62
# File 'lib/mtk/lang/pitches.rb', line 62

define_pitch 'B0', 23

#B1MTK::Core::Pitch (readonly)

Pitch B1 (MIDI pitch 35)

Returns:



74
# File 'lib/mtk/lang/pitches.rb', line 74

define_pitch 'B1', 35

#B2MTK::Core::Pitch (readonly)

Pitch B2 (MIDI pitch 47)

Returns:



86
# File 'lib/mtk/lang/pitches.rb', line 86

define_pitch 'B2', 47

#B3MTK::Core::Pitch (readonly)

Pitch B3 (MIDI pitch 59)

Returns:



98
# File 'lib/mtk/lang/pitches.rb', line 98

define_pitch 'B3', 59

#B4MTK::Core::Pitch (readonly)

Pitch B4 (MIDI pitch 71)

Returns:



110
# File 'lib/mtk/lang/pitches.rb', line 110

define_pitch 'B4', 71

#B5MTK::Core::Pitch (readonly)

Pitch B5 (MIDI pitch 83)

Returns:



122
# File 'lib/mtk/lang/pitches.rb', line 122

define_pitch 'B5', 83

#B6MTK::Core::Pitch (readonly)

Pitch B6 (MIDI pitch 95)

Returns:



134
# File 'lib/mtk/lang/pitches.rb', line 134

define_pitch 'B6', 95

#B7MTK::Core::Pitch (readonly)

Pitch B7 (MIDI pitch 107)

Returns:



146
# File 'lib/mtk/lang/pitches.rb', line 146

define_pitch 'B7', 107

#B8MTK::Core::Pitch (readonly)

Pitch B8 (MIDI pitch 119)

Returns:



158
# File 'lib/mtk/lang/pitches.rb', line 158

define_pitch 'B8', 119

#B_1MTK::Core::Pitch (readonly)

Pitch B_1 (MIDI pitch 11)

Returns:



50
# File 'lib/mtk/lang/pitches.rb', line 50

define_pitch 'B_1', 11

#Bb0MTK::Core::Pitch (readonly)

Pitch Bb0 (MIDI pitch 22)

Returns:



61
# File 'lib/mtk/lang/pitches.rb', line 61

define_pitch 'Bb0', 22

#Bb1MTK::Core::Pitch (readonly)

Pitch Bb1 (MIDI pitch 34)

Returns:



73
# File 'lib/mtk/lang/pitches.rb', line 73

define_pitch 'Bb1', 34

#Bb2MTK::Core::Pitch (readonly)

Pitch Bb2 (MIDI pitch 46)

Returns:



85
# File 'lib/mtk/lang/pitches.rb', line 85

define_pitch 'Bb2', 46

#Bb3MTK::Core::Pitch (readonly)

Pitch Bb3 (MIDI pitch 58)

Returns:



97
# File 'lib/mtk/lang/pitches.rb', line 97

define_pitch 'Bb3', 58

#Bb4MTK::Core::Pitch (readonly)

Pitch Bb4 (MIDI pitch 70)

Returns:



109
# File 'lib/mtk/lang/pitches.rb', line 109

define_pitch 'Bb4', 70

#Bb5MTK::Core::Pitch (readonly)

Pitch Bb5 (MIDI pitch 82)

Returns:



121
# File 'lib/mtk/lang/pitches.rb', line 121

define_pitch 'Bb5', 82

#Bb6MTK::Core::Pitch (readonly)

Pitch Bb6 (MIDI pitch 94)

Returns:



133
# File 'lib/mtk/lang/pitches.rb', line 133

define_pitch 'Bb6', 94

#Bb7MTK::Core::Pitch (readonly)

Pitch Bb7 (MIDI pitch 106)

Returns:



145
# File 'lib/mtk/lang/pitches.rb', line 145

define_pitch 'Bb7', 106

#Bb8MTK::Core::Pitch (readonly)

Pitch Bb8 (MIDI pitch 118)

Returns:



157
# File 'lib/mtk/lang/pitches.rb', line 157

define_pitch 'Bb8', 118

#Bb_1MTK::Core::Pitch (readonly)

Pitch Bb_1 (MIDI pitch 10)

Returns:



49
# File 'lib/mtk/lang/pitches.rb', line 49

define_pitch 'Bb_1', 10

#C0MTK::Core::Pitch (readonly)

Pitch C0 (MIDI pitch 12)

Returns:



51
# File 'lib/mtk/lang/pitches.rb', line 51

define_pitch 'C0', 12

#C1MTK::Core::Pitch (readonly)

Pitch C1 (MIDI pitch 24)

Returns:



63
# File 'lib/mtk/lang/pitches.rb', line 63

define_pitch 'C1', 24

#C2MTK::Core::Pitch (readonly)

Pitch C2 (MIDI pitch 36)

Returns:



75
# File 'lib/mtk/lang/pitches.rb', line 75

define_pitch 'C2', 36

#C3MTK::Core::Pitch (readonly)

Pitch C3 (MIDI pitch 48)

Returns:



87
# File 'lib/mtk/lang/pitches.rb', line 87

define_pitch 'C3', 48

#C4MTK::Core::Pitch (readonly)

Pitch C4 (MIDI pitch 60)

Returns:



99
# File 'lib/mtk/lang/pitches.rb', line 99

define_pitch 'C4', 60

#C5MTK::Core::Pitch (readonly)

Pitch C5 (MIDI pitch 72)

Returns:



111
# File 'lib/mtk/lang/pitches.rb', line 111

define_pitch 'C5', 72

#C6MTK::Core::Pitch (readonly)

Pitch C6 (MIDI pitch 84)

Returns:



123
# File 'lib/mtk/lang/pitches.rb', line 123

define_pitch 'C6', 84

#C7MTK::Core::Pitch (readonly)

Pitch C7 (MIDI pitch 96)

Returns:



135
# File 'lib/mtk/lang/pitches.rb', line 135

define_pitch 'C7', 96

#C8MTK::Core::Pitch (readonly)

Pitch C8 (MIDI pitch 108)

Returns:



147
# File 'lib/mtk/lang/pitches.rb', line 147

define_pitch 'C8', 108

#C9MTK::Core::Pitch (readonly)

Pitch C9 (MIDI pitch 120)

Returns:



159
# File 'lib/mtk/lang/pitches.rb', line 159

define_pitch 'C9', 120

#C_1MTK::Core::Pitch (readonly)

Pitch C_1 (MIDI pitch 0)

Returns:



39
# File 'lib/mtk/lang/pitches.rb', line 39

define_pitch 'C_1', 0

#D0MTK::Core::Pitch (readonly)

Pitch D0 (MIDI pitch 14)

Returns:



53
# File 'lib/mtk/lang/pitches.rb', line 53

define_pitch 'D0', 14

#D1MTK::Core::Pitch (readonly)

Pitch D1 (MIDI pitch 26)

Returns:



65
# File 'lib/mtk/lang/pitches.rb', line 65

define_pitch 'D1', 26

#D2MTK::Core::Pitch (readonly)

Pitch D2 (MIDI pitch 38)

Returns:



77
# File 'lib/mtk/lang/pitches.rb', line 77

define_pitch 'D2', 38

#D3MTK::Core::Pitch (readonly)

Pitch D3 (MIDI pitch 50)

Returns:



89
# File 'lib/mtk/lang/pitches.rb', line 89

define_pitch 'D3', 50

#D4MTK::Core::Pitch (readonly)

Pitch D4 (MIDI pitch 62)

Returns:



101
# File 'lib/mtk/lang/pitches.rb', line 101

define_pitch 'D4', 62

#D5MTK::Core::Pitch (readonly)

Pitch D5 (MIDI pitch 74)

Returns:



113
# File 'lib/mtk/lang/pitches.rb', line 113

define_pitch 'D5', 74

#D6MTK::Core::Pitch (readonly)

Pitch D6 (MIDI pitch 86)

Returns:



125
# File 'lib/mtk/lang/pitches.rb', line 125

define_pitch 'D6', 86

#D7MTK::Core::Pitch (readonly)

Pitch D7 (MIDI pitch 98)

Returns:



137
# File 'lib/mtk/lang/pitches.rb', line 137

define_pitch 'D7', 98

#D8MTK::Core::Pitch (readonly)

Pitch D8 (MIDI pitch 110)

Returns:



149
# File 'lib/mtk/lang/pitches.rb', line 149

define_pitch 'D8', 110

#D9MTK::Core::Pitch (readonly)

Pitch D9 (MIDI pitch 122)

Returns:



161
# File 'lib/mtk/lang/pitches.rb', line 161

define_pitch 'D9', 122

#D_1MTK::Core::Pitch (readonly)

Pitch D_1 (MIDI pitch 2)

Returns:



41
# File 'lib/mtk/lang/pitches.rb', line 41

define_pitch 'D_1', 2

#Db0MTK::Core::Pitch (readonly)

Pitch Db0 (MIDI pitch 13)

Returns:



52
# File 'lib/mtk/lang/pitches.rb', line 52

define_pitch 'Db0', 13

#Db1MTK::Core::Pitch (readonly)

Pitch Db1 (MIDI pitch 25)

Returns:



64
# File 'lib/mtk/lang/pitches.rb', line 64

define_pitch 'Db1', 25

#Db2MTK::Core::Pitch (readonly)

Pitch Db2 (MIDI pitch 37)

Returns:



76
# File 'lib/mtk/lang/pitches.rb', line 76

define_pitch 'Db2', 37

#Db3MTK::Core::Pitch (readonly)

Pitch Db3 (MIDI pitch 49)

Returns:



88
# File 'lib/mtk/lang/pitches.rb', line 88

define_pitch 'Db3', 49

#Db4MTK::Core::Pitch (readonly)

Pitch Db4 (MIDI pitch 61)

Returns:



100
# File 'lib/mtk/lang/pitches.rb', line 100

define_pitch 'Db4', 61

#Db5MTK::Core::Pitch (readonly)

Pitch Db5 (MIDI pitch 73)

Returns:



112
# File 'lib/mtk/lang/pitches.rb', line 112

define_pitch 'Db5', 73

#Db6MTK::Core::Pitch (readonly)

Pitch Db6 (MIDI pitch 85)

Returns:



124
# File 'lib/mtk/lang/pitches.rb', line 124

define_pitch 'Db6', 85

#Db7MTK::Core::Pitch (readonly)

Pitch Db7 (MIDI pitch 97)

Returns:



136
# File 'lib/mtk/lang/pitches.rb', line 136

define_pitch 'Db7', 97

#Db8MTK::Core::Pitch (readonly)

Pitch Db8 (MIDI pitch 109)

Returns:



148
# File 'lib/mtk/lang/pitches.rb', line 148

define_pitch 'Db8', 109

#Db9MTK::Core::Pitch (readonly)

Pitch Db9 (MIDI pitch 121)

Returns:



160
# File 'lib/mtk/lang/pitches.rb', line 160

define_pitch 'Db9', 121

#Db_1MTK::Core::Pitch (readonly)

Pitch Db_1 (MIDI pitch 1)

Returns:



40
# File 'lib/mtk/lang/pitches.rb', line 40

define_pitch 'Db_1', 1

#E0MTK::Core::Pitch (readonly)

Pitch E0 (MIDI pitch 16)

Returns:



55
# File 'lib/mtk/lang/pitches.rb', line 55

define_pitch 'E0', 16

#E1MTK::Core::Pitch (readonly)

Pitch E1 (MIDI pitch 28)

Returns:



67
# File 'lib/mtk/lang/pitches.rb', line 67

define_pitch 'E1', 28

#E2MTK::Core::Pitch (readonly)

Pitch E2 (MIDI pitch 40)

Returns:



79
# File 'lib/mtk/lang/pitches.rb', line 79

define_pitch 'E2', 40

#E3MTK::Core::Pitch (readonly)

Pitch E3 (MIDI pitch 52)

Returns:



91
# File 'lib/mtk/lang/pitches.rb', line 91

define_pitch 'E3', 52

#E4MTK::Core::Pitch (readonly)

Pitch E4 (MIDI pitch 64)

Returns:



103
# File 'lib/mtk/lang/pitches.rb', line 103

define_pitch 'E4', 64

#E5MTK::Core::Pitch (readonly)

Pitch E5 (MIDI pitch 76)

Returns:



115
# File 'lib/mtk/lang/pitches.rb', line 115

define_pitch 'E5', 76

#E6MTK::Core::Pitch (readonly)

Pitch E6 (MIDI pitch 88)

Returns:



127
# File 'lib/mtk/lang/pitches.rb', line 127

define_pitch 'E6', 88

#E7MTK::Core::Pitch (readonly)

Pitch E7 (MIDI pitch 100)

Returns:



139
# File 'lib/mtk/lang/pitches.rb', line 139

define_pitch 'E7', 100

#E8MTK::Core::Pitch (readonly)

Pitch E8 (MIDI pitch 112)

Returns:



151
# File 'lib/mtk/lang/pitches.rb', line 151

define_pitch 'E8', 112

#E9MTK::Core::Pitch (readonly)

Pitch E9 (MIDI pitch 124)

Returns:



163
# File 'lib/mtk/lang/pitches.rb', line 163

define_pitch 'E9', 124

#E_1MTK::Core::Pitch (readonly)

Pitch E_1 (MIDI pitch 4)

Returns:



43
# File 'lib/mtk/lang/pitches.rb', line 43

define_pitch 'E_1', 4

#Eb0MTK::Core::Pitch (readonly)

Pitch Eb0 (MIDI pitch 15)

Returns:



54
# File 'lib/mtk/lang/pitches.rb', line 54

define_pitch 'Eb0', 15

#Eb1MTK::Core::Pitch (readonly)

Pitch Eb1 (MIDI pitch 27)

Returns:



66
# File 'lib/mtk/lang/pitches.rb', line 66

define_pitch 'Eb1', 27

#Eb2MTK::Core::Pitch (readonly)

Pitch Eb2 (MIDI pitch 39)

Returns:



78
# File 'lib/mtk/lang/pitches.rb', line 78

define_pitch 'Eb2', 39

#Eb3MTK::Core::Pitch (readonly)

Pitch Eb3 (MIDI pitch 51)

Returns:



90
# File 'lib/mtk/lang/pitches.rb', line 90

define_pitch 'Eb3', 51

#Eb4MTK::Core::Pitch (readonly)

Pitch Eb4 (MIDI pitch 63)

Returns:



102
# File 'lib/mtk/lang/pitches.rb', line 102

define_pitch 'Eb4', 63

#Eb5MTK::Core::Pitch (readonly)

Pitch Eb5 (MIDI pitch 75)

Returns:



114
# File 'lib/mtk/lang/pitches.rb', line 114

define_pitch 'Eb5', 75

#Eb6MTK::Core::Pitch (readonly)

Pitch Eb6 (MIDI pitch 87)

Returns:



126
# File 'lib/mtk/lang/pitches.rb', line 126

define_pitch 'Eb6', 87

#Eb7MTK::Core::Pitch (readonly)

Pitch Eb7 (MIDI pitch 99)

Returns:



138
# File 'lib/mtk/lang/pitches.rb', line 138

define_pitch 'Eb7', 99

#Eb8MTK::Core::Pitch (readonly)

Pitch Eb8 (MIDI pitch 111)

Returns:



150
# File 'lib/mtk/lang/pitches.rb', line 150

define_pitch 'Eb8', 111

#Eb9MTK::Core::Pitch (readonly)

Pitch Eb9 (MIDI pitch 123)

Returns:



162
# File 'lib/mtk/lang/pitches.rb', line 162

define_pitch 'Eb9', 123

#Eb_1MTK::Core::Pitch (readonly)

Pitch Eb_1 (MIDI pitch 3)

Returns:



42
# File 'lib/mtk/lang/pitches.rb', line 42

define_pitch 'Eb_1', 3

#F0MTK::Core::Pitch (readonly)

Pitch F0 (MIDI pitch 17)

Returns:



56
# File 'lib/mtk/lang/pitches.rb', line 56

define_pitch 'F0', 17

#F1MTK::Core::Pitch (readonly)

Pitch F1 (MIDI pitch 29)

Returns:



68
# File 'lib/mtk/lang/pitches.rb', line 68

define_pitch 'F1', 29

#F2MTK::Core::Pitch (readonly)

Pitch F2 (MIDI pitch 41)

Returns:



80
# File 'lib/mtk/lang/pitches.rb', line 80

define_pitch 'F2', 41

#F3MTK::Core::Pitch (readonly)

Pitch F3 (MIDI pitch 53)

Returns:



92
# File 'lib/mtk/lang/pitches.rb', line 92

define_pitch 'F3', 53

#F4MTK::Core::Pitch (readonly)

Pitch F4 (MIDI pitch 65)

Returns:



104
# File 'lib/mtk/lang/pitches.rb', line 104

define_pitch 'F4', 65

#F5MTK::Core::Pitch (readonly)

Pitch F5 (MIDI pitch 77)

Returns:



116
# File 'lib/mtk/lang/pitches.rb', line 116

define_pitch 'F5', 77

#F6MTK::Core::Pitch (readonly)

Pitch F6 (MIDI pitch 89)

Returns:



128
# File 'lib/mtk/lang/pitches.rb', line 128

define_pitch 'F6', 89

#F7MTK::Core::Pitch (readonly)

Pitch F7 (MIDI pitch 101)

Returns:



140
# File 'lib/mtk/lang/pitches.rb', line 140

define_pitch 'F7', 101

#F8MTK::Core::Pitch (readonly)

Pitch F8 (MIDI pitch 113)

Returns:



152
# File 'lib/mtk/lang/pitches.rb', line 152

define_pitch 'F8', 113

#F9MTK::Core::Pitch (readonly)

Pitch F9 (MIDI pitch 125)

Returns:



164
# File 'lib/mtk/lang/pitches.rb', line 164

define_pitch 'F9', 125

#F_1MTK::Core::Pitch (readonly)

Pitch F_1 (MIDI pitch 5)

Returns:



44
# File 'lib/mtk/lang/pitches.rb', line 44

define_pitch 'F_1', 5

#G0MTK::Core::Pitch (readonly)

Pitch G0 (MIDI pitch 19)

Returns:



58
# File 'lib/mtk/lang/pitches.rb', line 58

define_pitch 'G0', 19

#G1MTK::Core::Pitch (readonly)

Pitch G1 (MIDI pitch 31)

Returns:



70
# File 'lib/mtk/lang/pitches.rb', line 70

define_pitch 'G1', 31

#G2MTK::Core::Pitch (readonly)

Pitch G2 (MIDI pitch 43)

Returns:



82
# File 'lib/mtk/lang/pitches.rb', line 82

define_pitch 'G2', 43

#G3MTK::Core::Pitch (readonly)

Pitch G3 (MIDI pitch 55)

Returns:



94
# File 'lib/mtk/lang/pitches.rb', line 94

define_pitch 'G3', 55

#G4MTK::Core::Pitch (readonly)

Pitch G4 (MIDI pitch 67)

Returns:



106
# File 'lib/mtk/lang/pitches.rb', line 106

define_pitch 'G4', 67

#G5MTK::Core::Pitch (readonly)

Pitch G5 (MIDI pitch 79)

Returns:



118
# File 'lib/mtk/lang/pitches.rb', line 118

define_pitch 'G5', 79

#G6MTK::Core::Pitch (readonly)

Pitch G6 (MIDI pitch 91)

Returns:



130
# File 'lib/mtk/lang/pitches.rb', line 130

define_pitch 'G6', 91

#G7MTK::Core::Pitch (readonly)

Pitch G7 (MIDI pitch 103)

Returns:



142
# File 'lib/mtk/lang/pitches.rb', line 142

define_pitch 'G7', 103

#G8MTK::Core::Pitch (readonly)

Pitch G8 (MIDI pitch 115)

Returns:



154
# File 'lib/mtk/lang/pitches.rb', line 154

define_pitch 'G8', 115

#G9MTK::Core::Pitch (readonly)

Pitch G9 (MIDI pitch 127)

Returns:



166
# File 'lib/mtk/lang/pitches.rb', line 166

define_pitch 'G9', 127

#G_1MTK::Core::Pitch (readonly)

Pitch G_1 (MIDI pitch 7)

Returns:



46
# File 'lib/mtk/lang/pitches.rb', line 46

define_pitch 'G_1', 7

#Gb0MTK::Core::Pitch (readonly)

Pitch Gb0 (MIDI pitch 18)

Returns:



57
# File 'lib/mtk/lang/pitches.rb', line 57

define_pitch 'Gb0', 18

#Gb1MTK::Core::Pitch (readonly)

Pitch Gb1 (MIDI pitch 30)

Returns:



69
# File 'lib/mtk/lang/pitches.rb', line 69

define_pitch 'Gb1', 30

#Gb2MTK::Core::Pitch (readonly)

Pitch Gb2 (MIDI pitch 42)

Returns:



81
# File 'lib/mtk/lang/pitches.rb', line 81

define_pitch 'Gb2', 42

#Gb3MTK::Core::Pitch (readonly)

Pitch Gb3 (MIDI pitch 54)

Returns:



93
# File 'lib/mtk/lang/pitches.rb', line 93

define_pitch 'Gb3', 54

#Gb4MTK::Core::Pitch (readonly)

Pitch Gb4 (MIDI pitch 66)

Returns:



105
# File 'lib/mtk/lang/pitches.rb', line 105

define_pitch 'Gb4', 66

#Gb5MTK::Core::Pitch (readonly)

Pitch Gb5 (MIDI pitch 78)

Returns:



117
# File 'lib/mtk/lang/pitches.rb', line 117

define_pitch 'Gb5', 78

#Gb6MTK::Core::Pitch (readonly)

Pitch Gb6 (MIDI pitch 90)

Returns:



129
# File 'lib/mtk/lang/pitches.rb', line 129

define_pitch 'Gb6', 90

#Gb7MTK::Core::Pitch (readonly)

Pitch Gb7 (MIDI pitch 102)

Returns:



141
# File 'lib/mtk/lang/pitches.rb', line 141

define_pitch 'Gb7', 102

#Gb8MTK::Core::Pitch (readonly)

Pitch Gb8 (MIDI pitch 114)

Returns:



153
# File 'lib/mtk/lang/pitches.rb', line 153

define_pitch 'Gb8', 114

#Gb9MTK::Core::Pitch (readonly)

Pitch Gb9 (MIDI pitch 126)

Returns:



165
# File 'lib/mtk/lang/pitches.rb', line 165

define_pitch 'Gb9', 126

#Gb_1MTK::Core::Pitch (readonly)

Pitch Gb_1 (MIDI pitch 6)

Returns:



45
# File 'lib/mtk/lang/pitches.rb', line 45

define_pitch 'Gb_1', 6