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
-
#A0 ⇒ MTK::Core::Pitch
readonly
Pitch A0 (MIDI pitch 21).
-
#A1 ⇒ MTK::Core::Pitch
readonly
Pitch A1 (MIDI pitch 33).
-
#A2 ⇒ MTK::Core::Pitch
readonly
Pitch A2 (MIDI pitch 45).
-
#A3 ⇒ MTK::Core::Pitch
readonly
Pitch A3 (MIDI pitch 57).
-
#A4 ⇒ MTK::Core::Pitch
readonly
Pitch A4 (MIDI pitch 69).
-
#A5 ⇒ MTK::Core::Pitch
readonly
Pitch A5 (MIDI pitch 81).
-
#A6 ⇒ MTK::Core::Pitch
readonly
Pitch A6 (MIDI pitch 93).
-
#A7 ⇒ MTK::Core::Pitch
readonly
Pitch A7 (MIDI pitch 105).
-
#A8 ⇒ MTK::Core::Pitch
readonly
Pitch A8 (MIDI pitch 117).
-
#A_1 ⇒ MTK::Core::Pitch
readonly
Pitch A_1 (MIDI pitch 9).
-
#Ab0 ⇒ MTK::Core::Pitch
readonly
Pitch Ab0 (MIDI pitch 20).
-
#Ab1 ⇒ MTK::Core::Pitch
readonly
Pitch Ab1 (MIDI pitch 32).
-
#Ab2 ⇒ MTK::Core::Pitch
readonly
Pitch Ab2 (MIDI pitch 44).
-
#Ab3 ⇒ MTK::Core::Pitch
readonly
Pitch Ab3 (MIDI pitch 56).
-
#Ab4 ⇒ MTK::Core::Pitch
readonly
Pitch Ab4 (MIDI pitch 68).
-
#Ab5 ⇒ MTK::Core::Pitch
readonly
Pitch Ab5 (MIDI pitch 80).
-
#Ab6 ⇒ MTK::Core::Pitch
readonly
Pitch Ab6 (MIDI pitch 92).
-
#Ab7 ⇒ MTK::Core::Pitch
readonly
Pitch Ab7 (MIDI pitch 104).
-
#Ab8 ⇒ MTK::Core::Pitch
readonly
Pitch Ab8 (MIDI pitch 116).
-
#Ab_1 ⇒ MTK::Core::Pitch
readonly
Pitch Ab_1 (MIDI pitch 8).
-
#B0 ⇒ MTK::Core::Pitch
readonly
Pitch B0 (MIDI pitch 23).
-
#B1 ⇒ MTK::Core::Pitch
readonly
Pitch B1 (MIDI pitch 35).
-
#B2 ⇒ MTK::Core::Pitch
readonly
Pitch B2 (MIDI pitch 47).
-
#B3 ⇒ MTK::Core::Pitch
readonly
Pitch B3 (MIDI pitch 59).
-
#B4 ⇒ MTK::Core::Pitch
readonly
Pitch B4 (MIDI pitch 71).
-
#B5 ⇒ MTK::Core::Pitch
readonly
Pitch B5 (MIDI pitch 83).
-
#B6 ⇒ MTK::Core::Pitch
readonly
Pitch B6 (MIDI pitch 95).
-
#B7 ⇒ MTK::Core::Pitch
readonly
Pitch B7 (MIDI pitch 107).
-
#B8 ⇒ MTK::Core::Pitch
readonly
Pitch B8 (MIDI pitch 119).
-
#B_1 ⇒ MTK::Core::Pitch
readonly
Pitch B_1 (MIDI pitch 11).
-
#Bb0 ⇒ MTK::Core::Pitch
readonly
Pitch Bb0 (MIDI pitch 22).
-
#Bb1 ⇒ MTK::Core::Pitch
readonly
Pitch Bb1 (MIDI pitch 34).
-
#Bb2 ⇒ MTK::Core::Pitch
readonly
Pitch Bb2 (MIDI pitch 46).
-
#Bb3 ⇒ MTK::Core::Pitch
readonly
Pitch Bb3 (MIDI pitch 58).
-
#Bb4 ⇒ MTK::Core::Pitch
readonly
Pitch Bb4 (MIDI pitch 70).
-
#Bb5 ⇒ MTK::Core::Pitch
readonly
Pitch Bb5 (MIDI pitch 82).
-
#Bb6 ⇒ MTK::Core::Pitch
readonly
Pitch Bb6 (MIDI pitch 94).
-
#Bb7 ⇒ MTK::Core::Pitch
readonly
Pitch Bb7 (MIDI pitch 106).
-
#Bb8 ⇒ MTK::Core::Pitch
readonly
Pitch Bb8 (MIDI pitch 118).
-
#Bb_1 ⇒ MTK::Core::Pitch
readonly
Pitch Bb_1 (MIDI pitch 10).
-
#C0 ⇒ MTK::Core::Pitch
readonly
Pitch C0 (MIDI pitch 12).
-
#C1 ⇒ MTK::Core::Pitch
readonly
Pitch C1 (MIDI pitch 24).
-
#C2 ⇒ MTK::Core::Pitch
readonly
Pitch C2 (MIDI pitch 36).
-
#C3 ⇒ MTK::Core::Pitch
readonly
Pitch C3 (MIDI pitch 48).
-
#C4 ⇒ MTK::Core::Pitch
readonly
Pitch C4 (MIDI pitch 60).
-
#C5 ⇒ MTK::Core::Pitch
readonly
Pitch C5 (MIDI pitch 72).
-
#C6 ⇒ MTK::Core::Pitch
readonly
Pitch C6 (MIDI pitch 84).
-
#C7 ⇒ MTK::Core::Pitch
readonly
Pitch C7 (MIDI pitch 96).
-
#C8 ⇒ MTK::Core::Pitch
readonly
Pitch C8 (MIDI pitch 108).
-
#C9 ⇒ MTK::Core::Pitch
readonly
Pitch C9 (MIDI pitch 120).
-
#C_1 ⇒ MTK::Core::Pitch
readonly
Pitch C_1 (MIDI pitch 0).
-
#D0 ⇒ MTK::Core::Pitch
readonly
Pitch D0 (MIDI pitch 14).
-
#D1 ⇒ MTK::Core::Pitch
readonly
Pitch D1 (MIDI pitch 26).
-
#D2 ⇒ MTK::Core::Pitch
readonly
Pitch D2 (MIDI pitch 38).
-
#D3 ⇒ MTK::Core::Pitch
readonly
Pitch D3 (MIDI pitch 50).
-
#D4 ⇒ MTK::Core::Pitch
readonly
Pitch D4 (MIDI pitch 62).
-
#D5 ⇒ MTK::Core::Pitch
readonly
Pitch D5 (MIDI pitch 74).
-
#D6 ⇒ MTK::Core::Pitch
readonly
Pitch D6 (MIDI pitch 86).
-
#D7 ⇒ MTK::Core::Pitch
readonly
Pitch D7 (MIDI pitch 98).
-
#D8 ⇒ MTK::Core::Pitch
readonly
Pitch D8 (MIDI pitch 110).
-
#D9 ⇒ MTK::Core::Pitch
readonly
Pitch D9 (MIDI pitch 122).
-
#D_1 ⇒ MTK::Core::Pitch
readonly
Pitch D_1 (MIDI pitch 2).
-
#Db0 ⇒ MTK::Core::Pitch
readonly
Pitch Db0 (MIDI pitch 13).
-
#Db1 ⇒ MTK::Core::Pitch
readonly
Pitch Db1 (MIDI pitch 25).
-
#Db2 ⇒ MTK::Core::Pitch
readonly
Pitch Db2 (MIDI pitch 37).
-
#Db3 ⇒ MTK::Core::Pitch
readonly
Pitch Db3 (MIDI pitch 49).
-
#Db4 ⇒ MTK::Core::Pitch
readonly
Pitch Db4 (MIDI pitch 61).
-
#Db5 ⇒ MTK::Core::Pitch
readonly
Pitch Db5 (MIDI pitch 73).
-
#Db6 ⇒ MTK::Core::Pitch
readonly
Pitch Db6 (MIDI pitch 85).
-
#Db7 ⇒ MTK::Core::Pitch
readonly
Pitch Db7 (MIDI pitch 97).
-
#Db8 ⇒ MTK::Core::Pitch
readonly
Pitch Db8 (MIDI pitch 109).
-
#Db9 ⇒ MTK::Core::Pitch
readonly
Pitch Db9 (MIDI pitch 121).
-
#Db_1 ⇒ MTK::Core::Pitch
readonly
Pitch Db_1 (MIDI pitch 1).
-
#E0 ⇒ MTK::Core::Pitch
readonly
Pitch E0 (MIDI pitch 16).
-
#E1 ⇒ MTK::Core::Pitch
readonly
Pitch E1 (MIDI pitch 28).
-
#E2 ⇒ MTK::Core::Pitch
readonly
Pitch E2 (MIDI pitch 40).
-
#E3 ⇒ MTK::Core::Pitch
readonly
Pitch E3 (MIDI pitch 52).
-
#E4 ⇒ MTK::Core::Pitch
readonly
Pitch E4 (MIDI pitch 64).
-
#E5 ⇒ MTK::Core::Pitch
readonly
Pitch E5 (MIDI pitch 76).
-
#E6 ⇒ MTK::Core::Pitch
readonly
Pitch E6 (MIDI pitch 88).
-
#E7 ⇒ MTK::Core::Pitch
readonly
Pitch E7 (MIDI pitch 100).
-
#E8 ⇒ MTK::Core::Pitch
readonly
Pitch E8 (MIDI pitch 112).
-
#E9 ⇒ MTK::Core::Pitch
readonly
Pitch E9 (MIDI pitch 124).
-
#E_1 ⇒ MTK::Core::Pitch
readonly
Pitch E_1 (MIDI pitch 4).
-
#Eb0 ⇒ MTK::Core::Pitch
readonly
Pitch Eb0 (MIDI pitch 15).
-
#Eb1 ⇒ MTK::Core::Pitch
readonly
Pitch Eb1 (MIDI pitch 27).
-
#Eb2 ⇒ MTK::Core::Pitch
readonly
Pitch Eb2 (MIDI pitch 39).
-
#Eb3 ⇒ MTK::Core::Pitch
readonly
Pitch Eb3 (MIDI pitch 51).
-
#Eb4 ⇒ MTK::Core::Pitch
readonly
Pitch Eb4 (MIDI pitch 63).
-
#Eb5 ⇒ MTK::Core::Pitch
readonly
Pitch Eb5 (MIDI pitch 75).
-
#Eb6 ⇒ MTK::Core::Pitch
readonly
Pitch Eb6 (MIDI pitch 87).
-
#Eb7 ⇒ MTK::Core::Pitch
readonly
Pitch Eb7 (MIDI pitch 99).
-
#Eb8 ⇒ MTK::Core::Pitch
readonly
Pitch Eb8 (MIDI pitch 111).
-
#Eb9 ⇒ MTK::Core::Pitch
readonly
Pitch Eb9 (MIDI pitch 123).
-
#Eb_1 ⇒ MTK::Core::Pitch
readonly
Pitch Eb_1 (MIDI pitch 3).
-
#F0 ⇒ MTK::Core::Pitch
readonly
Pitch F0 (MIDI pitch 17).
-
#F1 ⇒ MTK::Core::Pitch
readonly
Pitch F1 (MIDI pitch 29).
-
#F2 ⇒ MTK::Core::Pitch
readonly
Pitch F2 (MIDI pitch 41).
-
#F3 ⇒ MTK::Core::Pitch
readonly
Pitch F3 (MIDI pitch 53).
-
#F4 ⇒ MTK::Core::Pitch
readonly
Pitch F4 (MIDI pitch 65).
-
#F5 ⇒ MTK::Core::Pitch
readonly
Pitch F5 (MIDI pitch 77).
-
#F6 ⇒ MTK::Core::Pitch
readonly
Pitch F6 (MIDI pitch 89).
-
#F7 ⇒ MTK::Core::Pitch
readonly
Pitch F7 (MIDI pitch 101).
-
#F8 ⇒ MTK::Core::Pitch
readonly
Pitch F8 (MIDI pitch 113).
-
#F9 ⇒ MTK::Core::Pitch
readonly
Pitch F9 (MIDI pitch 125).
-
#F_1 ⇒ MTK::Core::Pitch
readonly
Pitch F_1 (MIDI pitch 5).
-
#G0 ⇒ MTK::Core::Pitch
readonly
Pitch G0 (MIDI pitch 19).
-
#G1 ⇒ MTK::Core::Pitch
readonly
Pitch G1 (MIDI pitch 31).
-
#G2 ⇒ MTK::Core::Pitch
readonly
Pitch G2 (MIDI pitch 43).
-
#G3 ⇒ MTK::Core::Pitch
readonly
Pitch G3 (MIDI pitch 55).
-
#G4 ⇒ MTK::Core::Pitch
readonly
Pitch G4 (MIDI pitch 67).
-
#G5 ⇒ MTK::Core::Pitch
readonly
Pitch G5 (MIDI pitch 79).
-
#G6 ⇒ MTK::Core::Pitch
readonly
Pitch G6 (MIDI pitch 91).
-
#G7 ⇒ MTK::Core::Pitch
readonly
Pitch G7 (MIDI pitch 103).
-
#G8 ⇒ MTK::Core::Pitch
readonly
Pitch G8 (MIDI pitch 115).
-
#G9 ⇒ MTK::Core::Pitch
readonly
Pitch G9 (MIDI pitch 127).
-
#G_1 ⇒ MTK::Core::Pitch
readonly
Pitch G_1 (MIDI pitch 7).
-
#Gb0 ⇒ MTK::Core::Pitch
readonly
Pitch Gb0 (MIDI pitch 18).
-
#Gb1 ⇒ MTK::Core::Pitch
readonly
Pitch Gb1 (MIDI pitch 30).
-
#Gb2 ⇒ MTK::Core::Pitch
readonly
Pitch Gb2 (MIDI pitch 42).
-
#Gb3 ⇒ MTK::Core::Pitch
readonly
Pitch Gb3 (MIDI pitch 54).
-
#Gb4 ⇒ MTK::Core::Pitch
readonly
Pitch Gb4 (MIDI pitch 66).
-
#Gb5 ⇒ MTK::Core::Pitch
readonly
Pitch Gb5 (MIDI pitch 78).
-
#Gb6 ⇒ MTK::Core::Pitch
readonly
Pitch Gb6 (MIDI pitch 90).
-
#Gb7 ⇒ MTK::Core::Pitch
readonly
Pitch Gb7 (MIDI pitch 102).
-
#Gb8 ⇒ MTK::Core::Pitch
readonly
Pitch Gb8 (MIDI pitch 114).
-
#Gb9 ⇒ MTK::Core::Pitch
readonly
Pitch Gb9 (MIDI pitch 126).
-
#Gb_1 ⇒ MTK::Core::Pitch
readonly
Pitch Gb_1 (MIDI pitch 6).
Instance Attribute Details
#A0 ⇒ MTK::Core::Pitch (readonly)
Pitch A0 (MIDI pitch 21)
60 |
# File 'lib/mtk/lang/pitches.rb', line 60 define_pitch 'A0', 21 |
#A1 ⇒ MTK::Core::Pitch (readonly)
Pitch A1 (MIDI pitch 33)
72 |
# File 'lib/mtk/lang/pitches.rb', line 72 define_pitch 'A1', 33 |
#A2 ⇒ MTK::Core::Pitch (readonly)
Pitch A2 (MIDI pitch 45)
84 |
# File 'lib/mtk/lang/pitches.rb', line 84 define_pitch 'A2', 45 |
#A3 ⇒ MTK::Core::Pitch (readonly)
Pitch A3 (MIDI pitch 57)
96 |
# File 'lib/mtk/lang/pitches.rb', line 96 define_pitch 'A3', 57 |
#A4 ⇒ MTK::Core::Pitch (readonly)
Pitch A4 (MIDI pitch 69)
108 |
# File 'lib/mtk/lang/pitches.rb', line 108 define_pitch 'A4', 69 |
#A5 ⇒ MTK::Core::Pitch (readonly)
Pitch A5 (MIDI pitch 81)
120 |
# File 'lib/mtk/lang/pitches.rb', line 120 define_pitch 'A5', 81 |
#A6 ⇒ MTK::Core::Pitch (readonly)
Pitch A6 (MIDI pitch 93)
132 |
# File 'lib/mtk/lang/pitches.rb', line 132 define_pitch 'A6', 93 |
#A7 ⇒ MTK::Core::Pitch (readonly)
Pitch A7 (MIDI pitch 105)
144 |
# File 'lib/mtk/lang/pitches.rb', line 144 define_pitch 'A7', 105 |
#A8 ⇒ MTK::Core::Pitch (readonly)
Pitch A8 (MIDI pitch 117)
156 |
# File 'lib/mtk/lang/pitches.rb', line 156 define_pitch 'A8', 117 |
#A_1 ⇒ MTK::Core::Pitch (readonly)
Pitch A_1 (MIDI pitch 9)
48 |
# File 'lib/mtk/lang/pitches.rb', line 48 define_pitch 'A_1', 9 |
#Ab0 ⇒ MTK::Core::Pitch (readonly)
Pitch Ab0 (MIDI pitch 20)
59 |
# File 'lib/mtk/lang/pitches.rb', line 59 define_pitch 'Ab0', 20 |
#Ab1 ⇒ MTK::Core::Pitch (readonly)
Pitch Ab1 (MIDI pitch 32)
71 |
# File 'lib/mtk/lang/pitches.rb', line 71 define_pitch 'Ab1', 32 |
#Ab2 ⇒ MTK::Core::Pitch (readonly)
Pitch Ab2 (MIDI pitch 44)
83 |
# File 'lib/mtk/lang/pitches.rb', line 83 define_pitch 'Ab2', 44 |
#Ab3 ⇒ MTK::Core::Pitch (readonly)
Pitch Ab3 (MIDI pitch 56)
95 |
# File 'lib/mtk/lang/pitches.rb', line 95 define_pitch 'Ab3', 56 |
#Ab4 ⇒ MTK::Core::Pitch (readonly)
Pitch Ab4 (MIDI pitch 68)
107 |
# File 'lib/mtk/lang/pitches.rb', line 107 define_pitch 'Ab4', 68 |
#Ab5 ⇒ MTK::Core::Pitch (readonly)
Pitch Ab5 (MIDI pitch 80)
119 |
# File 'lib/mtk/lang/pitches.rb', line 119 define_pitch 'Ab5', 80 |
#Ab6 ⇒ MTK::Core::Pitch (readonly)
Pitch Ab6 (MIDI pitch 92)
131 |
# File 'lib/mtk/lang/pitches.rb', line 131 define_pitch 'Ab6', 92 |
#Ab7 ⇒ MTK::Core::Pitch (readonly)
Pitch Ab7 (MIDI pitch 104)
143 |
# File 'lib/mtk/lang/pitches.rb', line 143 define_pitch 'Ab7', 104 |
#Ab8 ⇒ MTK::Core::Pitch (readonly)
Pitch Ab8 (MIDI pitch 116)
155 |
# File 'lib/mtk/lang/pitches.rb', line 155 define_pitch 'Ab8', 116 |
#Ab_1 ⇒ MTK::Core::Pitch (readonly)
Pitch Ab_1 (MIDI pitch 8)
47 |
# File 'lib/mtk/lang/pitches.rb', line 47 define_pitch 'Ab_1', 8 |
#B0 ⇒ MTK::Core::Pitch (readonly)
Pitch B0 (MIDI pitch 23)
62 |
# File 'lib/mtk/lang/pitches.rb', line 62 define_pitch 'B0', 23 |
#B1 ⇒ MTK::Core::Pitch (readonly)
Pitch B1 (MIDI pitch 35)
74 |
# File 'lib/mtk/lang/pitches.rb', line 74 define_pitch 'B1', 35 |
#B2 ⇒ MTK::Core::Pitch (readonly)
Pitch B2 (MIDI pitch 47)
86 |
# File 'lib/mtk/lang/pitches.rb', line 86 define_pitch 'B2', 47 |
#B3 ⇒ MTK::Core::Pitch (readonly)
Pitch B3 (MIDI pitch 59)
98 |
# File 'lib/mtk/lang/pitches.rb', line 98 define_pitch 'B3', 59 |
#B4 ⇒ MTK::Core::Pitch (readonly)
Pitch B4 (MIDI pitch 71)
110 |
# File 'lib/mtk/lang/pitches.rb', line 110 define_pitch 'B4', 71 |
#B5 ⇒ MTK::Core::Pitch (readonly)
Pitch B5 (MIDI pitch 83)
122 |
# File 'lib/mtk/lang/pitches.rb', line 122 define_pitch 'B5', 83 |
#B6 ⇒ MTK::Core::Pitch (readonly)
Pitch B6 (MIDI pitch 95)
134 |
# File 'lib/mtk/lang/pitches.rb', line 134 define_pitch 'B6', 95 |
#B7 ⇒ MTK::Core::Pitch (readonly)
Pitch B7 (MIDI pitch 107)
146 |
# File 'lib/mtk/lang/pitches.rb', line 146 define_pitch 'B7', 107 |
#B8 ⇒ MTK::Core::Pitch (readonly)
Pitch B8 (MIDI pitch 119)
158 |
# File 'lib/mtk/lang/pitches.rb', line 158 define_pitch 'B8', 119 |
#B_1 ⇒ MTK::Core::Pitch (readonly)
Pitch B_1 (MIDI pitch 11)
50 |
# File 'lib/mtk/lang/pitches.rb', line 50 define_pitch 'B_1', 11 |
#Bb0 ⇒ MTK::Core::Pitch (readonly)
Pitch Bb0 (MIDI pitch 22)
61 |
# File 'lib/mtk/lang/pitches.rb', line 61 define_pitch 'Bb0', 22 |
#Bb1 ⇒ MTK::Core::Pitch (readonly)
Pitch Bb1 (MIDI pitch 34)
73 |
# File 'lib/mtk/lang/pitches.rb', line 73 define_pitch 'Bb1', 34 |
#Bb2 ⇒ MTK::Core::Pitch (readonly)
Pitch Bb2 (MIDI pitch 46)
85 |
# File 'lib/mtk/lang/pitches.rb', line 85 define_pitch 'Bb2', 46 |
#Bb3 ⇒ MTK::Core::Pitch (readonly)
Pitch Bb3 (MIDI pitch 58)
97 |
# File 'lib/mtk/lang/pitches.rb', line 97 define_pitch 'Bb3', 58 |
#Bb4 ⇒ MTK::Core::Pitch (readonly)
Pitch Bb4 (MIDI pitch 70)
109 |
# File 'lib/mtk/lang/pitches.rb', line 109 define_pitch 'Bb4', 70 |
#Bb5 ⇒ MTK::Core::Pitch (readonly)
Pitch Bb5 (MIDI pitch 82)
121 |
# File 'lib/mtk/lang/pitches.rb', line 121 define_pitch 'Bb5', 82 |
#Bb6 ⇒ MTK::Core::Pitch (readonly)
Pitch Bb6 (MIDI pitch 94)
133 |
# File 'lib/mtk/lang/pitches.rb', line 133 define_pitch 'Bb6', 94 |
#Bb7 ⇒ MTK::Core::Pitch (readonly)
Pitch Bb7 (MIDI pitch 106)
145 |
# File 'lib/mtk/lang/pitches.rb', line 145 define_pitch 'Bb7', 106 |
#Bb8 ⇒ MTK::Core::Pitch (readonly)
Pitch Bb8 (MIDI pitch 118)
157 |
# File 'lib/mtk/lang/pitches.rb', line 157 define_pitch 'Bb8', 118 |
#Bb_1 ⇒ MTK::Core::Pitch (readonly)
Pitch Bb_1 (MIDI pitch 10)
49 |
# File 'lib/mtk/lang/pitches.rb', line 49 define_pitch 'Bb_1', 10 |
#C0 ⇒ MTK::Core::Pitch (readonly)
Pitch C0 (MIDI pitch 12)
51 |
# File 'lib/mtk/lang/pitches.rb', line 51 define_pitch 'C0', 12 |
#C1 ⇒ MTK::Core::Pitch (readonly)
Pitch C1 (MIDI pitch 24)
63 |
# File 'lib/mtk/lang/pitches.rb', line 63 define_pitch 'C1', 24 |
#C2 ⇒ MTK::Core::Pitch (readonly)
Pitch C2 (MIDI pitch 36)
75 |
# File 'lib/mtk/lang/pitches.rb', line 75 define_pitch 'C2', 36 |
#C3 ⇒ MTK::Core::Pitch (readonly)
Pitch C3 (MIDI pitch 48)
87 |
# File 'lib/mtk/lang/pitches.rb', line 87 define_pitch 'C3', 48 |
#C4 ⇒ MTK::Core::Pitch (readonly)
Pitch C4 (MIDI pitch 60)
99 |
# File 'lib/mtk/lang/pitches.rb', line 99 define_pitch 'C4', 60 |
#C5 ⇒ MTK::Core::Pitch (readonly)
Pitch C5 (MIDI pitch 72)
111 |
# File 'lib/mtk/lang/pitches.rb', line 111 define_pitch 'C5', 72 |
#C6 ⇒ MTK::Core::Pitch (readonly)
Pitch C6 (MIDI pitch 84)
123 |
# File 'lib/mtk/lang/pitches.rb', line 123 define_pitch 'C6', 84 |
#C7 ⇒ MTK::Core::Pitch (readonly)
Pitch C7 (MIDI pitch 96)
135 |
# File 'lib/mtk/lang/pitches.rb', line 135 define_pitch 'C7', 96 |
#C8 ⇒ MTK::Core::Pitch (readonly)
Pitch C8 (MIDI pitch 108)
147 |
# File 'lib/mtk/lang/pitches.rb', line 147 define_pitch 'C8', 108 |
#C9 ⇒ MTK::Core::Pitch (readonly)
Pitch C9 (MIDI pitch 120)
159 |
# File 'lib/mtk/lang/pitches.rb', line 159 define_pitch 'C9', 120 |
#C_1 ⇒ MTK::Core::Pitch (readonly)
Pitch C_1 (MIDI pitch 0)
39 |
# File 'lib/mtk/lang/pitches.rb', line 39 define_pitch 'C_1', 0 |
#D0 ⇒ MTK::Core::Pitch (readonly)
Pitch D0 (MIDI pitch 14)
53 |
# File 'lib/mtk/lang/pitches.rb', line 53 define_pitch 'D0', 14 |
#D1 ⇒ MTK::Core::Pitch (readonly)
Pitch D1 (MIDI pitch 26)
65 |
# File 'lib/mtk/lang/pitches.rb', line 65 define_pitch 'D1', 26 |
#D2 ⇒ MTK::Core::Pitch (readonly)
Pitch D2 (MIDI pitch 38)
77 |
# File 'lib/mtk/lang/pitches.rb', line 77 define_pitch 'D2', 38 |
#D3 ⇒ MTK::Core::Pitch (readonly)
Pitch D3 (MIDI pitch 50)
89 |
# File 'lib/mtk/lang/pitches.rb', line 89 define_pitch 'D3', 50 |
#D4 ⇒ MTK::Core::Pitch (readonly)
Pitch D4 (MIDI pitch 62)
101 |
# File 'lib/mtk/lang/pitches.rb', line 101 define_pitch 'D4', 62 |
#D5 ⇒ MTK::Core::Pitch (readonly)
Pitch D5 (MIDI pitch 74)
113 |
# File 'lib/mtk/lang/pitches.rb', line 113 define_pitch 'D5', 74 |
#D6 ⇒ MTK::Core::Pitch (readonly)
Pitch D6 (MIDI pitch 86)
125 |
# File 'lib/mtk/lang/pitches.rb', line 125 define_pitch 'D6', 86 |
#D7 ⇒ MTK::Core::Pitch (readonly)
Pitch D7 (MIDI pitch 98)
137 |
# File 'lib/mtk/lang/pitches.rb', line 137 define_pitch 'D7', 98 |
#D8 ⇒ MTK::Core::Pitch (readonly)
Pitch D8 (MIDI pitch 110)
149 |
# File 'lib/mtk/lang/pitches.rb', line 149 define_pitch 'D8', 110 |
#D9 ⇒ MTK::Core::Pitch (readonly)
Pitch D9 (MIDI pitch 122)
161 |
# File 'lib/mtk/lang/pitches.rb', line 161 define_pitch 'D9', 122 |
#D_1 ⇒ MTK::Core::Pitch (readonly)
Pitch D_1 (MIDI pitch 2)
41 |
# File 'lib/mtk/lang/pitches.rb', line 41 define_pitch 'D_1', 2 |
#Db0 ⇒ MTK::Core::Pitch (readonly)
Pitch Db0 (MIDI pitch 13)
52 |
# File 'lib/mtk/lang/pitches.rb', line 52 define_pitch 'Db0', 13 |
#Db1 ⇒ MTK::Core::Pitch (readonly)
Pitch Db1 (MIDI pitch 25)
64 |
# File 'lib/mtk/lang/pitches.rb', line 64 define_pitch 'Db1', 25 |
#Db2 ⇒ MTK::Core::Pitch (readonly)
Pitch Db2 (MIDI pitch 37)
76 |
# File 'lib/mtk/lang/pitches.rb', line 76 define_pitch 'Db2', 37 |
#Db3 ⇒ MTK::Core::Pitch (readonly)
Pitch Db3 (MIDI pitch 49)
88 |
# File 'lib/mtk/lang/pitches.rb', line 88 define_pitch 'Db3', 49 |
#Db4 ⇒ MTK::Core::Pitch (readonly)
Pitch Db4 (MIDI pitch 61)
100 |
# File 'lib/mtk/lang/pitches.rb', line 100 define_pitch 'Db4', 61 |
#Db5 ⇒ MTK::Core::Pitch (readonly)
Pitch Db5 (MIDI pitch 73)
112 |
# File 'lib/mtk/lang/pitches.rb', line 112 define_pitch 'Db5', 73 |
#Db6 ⇒ MTK::Core::Pitch (readonly)
Pitch Db6 (MIDI pitch 85)
124 |
# File 'lib/mtk/lang/pitches.rb', line 124 define_pitch 'Db6', 85 |
#Db7 ⇒ MTK::Core::Pitch (readonly)
Pitch Db7 (MIDI pitch 97)
136 |
# File 'lib/mtk/lang/pitches.rb', line 136 define_pitch 'Db7', 97 |
#Db8 ⇒ MTK::Core::Pitch (readonly)
Pitch Db8 (MIDI pitch 109)
148 |
# File 'lib/mtk/lang/pitches.rb', line 148 define_pitch 'Db8', 109 |
#Db9 ⇒ MTK::Core::Pitch (readonly)
Pitch Db9 (MIDI pitch 121)
160 |
# File 'lib/mtk/lang/pitches.rb', line 160 define_pitch 'Db9', 121 |
#Db_1 ⇒ MTK::Core::Pitch (readonly)
Pitch Db_1 (MIDI pitch 1)
40 |
# File 'lib/mtk/lang/pitches.rb', line 40 define_pitch 'Db_1', 1 |
#E0 ⇒ MTK::Core::Pitch (readonly)
Pitch E0 (MIDI pitch 16)
55 |
# File 'lib/mtk/lang/pitches.rb', line 55 define_pitch 'E0', 16 |
#E1 ⇒ MTK::Core::Pitch (readonly)
Pitch E1 (MIDI pitch 28)
67 |
# File 'lib/mtk/lang/pitches.rb', line 67 define_pitch 'E1', 28 |
#E2 ⇒ MTK::Core::Pitch (readonly)
Pitch E2 (MIDI pitch 40)
79 |
# File 'lib/mtk/lang/pitches.rb', line 79 define_pitch 'E2', 40 |
#E3 ⇒ MTK::Core::Pitch (readonly)
Pitch E3 (MIDI pitch 52)
91 |
# File 'lib/mtk/lang/pitches.rb', line 91 define_pitch 'E3', 52 |
#E4 ⇒ MTK::Core::Pitch (readonly)
Pitch E4 (MIDI pitch 64)
103 |
# File 'lib/mtk/lang/pitches.rb', line 103 define_pitch 'E4', 64 |
#E5 ⇒ MTK::Core::Pitch (readonly)
Pitch E5 (MIDI pitch 76)
115 |
# File 'lib/mtk/lang/pitches.rb', line 115 define_pitch 'E5', 76 |
#E6 ⇒ MTK::Core::Pitch (readonly)
Pitch E6 (MIDI pitch 88)
127 |
# File 'lib/mtk/lang/pitches.rb', line 127 define_pitch 'E6', 88 |
#E7 ⇒ MTK::Core::Pitch (readonly)
Pitch E7 (MIDI pitch 100)
139 |
# File 'lib/mtk/lang/pitches.rb', line 139 define_pitch 'E7', 100 |
#E8 ⇒ MTK::Core::Pitch (readonly)
Pitch E8 (MIDI pitch 112)
151 |
# File 'lib/mtk/lang/pitches.rb', line 151 define_pitch 'E8', 112 |
#E9 ⇒ MTK::Core::Pitch (readonly)
Pitch E9 (MIDI pitch 124)
163 |
# File 'lib/mtk/lang/pitches.rb', line 163 define_pitch 'E9', 124 |
#E_1 ⇒ MTK::Core::Pitch (readonly)
Pitch E_1 (MIDI pitch 4)
43 |
# File 'lib/mtk/lang/pitches.rb', line 43 define_pitch 'E_1', 4 |
#Eb0 ⇒ MTK::Core::Pitch (readonly)
Pitch Eb0 (MIDI pitch 15)
54 |
# File 'lib/mtk/lang/pitches.rb', line 54 define_pitch 'Eb0', 15 |
#Eb1 ⇒ MTK::Core::Pitch (readonly)
Pitch Eb1 (MIDI pitch 27)
66 |
# File 'lib/mtk/lang/pitches.rb', line 66 define_pitch 'Eb1', 27 |
#Eb2 ⇒ MTK::Core::Pitch (readonly)
Pitch Eb2 (MIDI pitch 39)
78 |
# File 'lib/mtk/lang/pitches.rb', line 78 define_pitch 'Eb2', 39 |
#Eb3 ⇒ MTK::Core::Pitch (readonly)
Pitch Eb3 (MIDI pitch 51)
90 |
# File 'lib/mtk/lang/pitches.rb', line 90 define_pitch 'Eb3', 51 |
#Eb4 ⇒ MTK::Core::Pitch (readonly)
Pitch Eb4 (MIDI pitch 63)
102 |
# File 'lib/mtk/lang/pitches.rb', line 102 define_pitch 'Eb4', 63 |
#Eb5 ⇒ MTK::Core::Pitch (readonly)
Pitch Eb5 (MIDI pitch 75)
114 |
# File 'lib/mtk/lang/pitches.rb', line 114 define_pitch 'Eb5', 75 |
#Eb6 ⇒ MTK::Core::Pitch (readonly)
Pitch Eb6 (MIDI pitch 87)
126 |
# File 'lib/mtk/lang/pitches.rb', line 126 define_pitch 'Eb6', 87 |
#Eb7 ⇒ MTK::Core::Pitch (readonly)
Pitch Eb7 (MIDI pitch 99)
138 |
# File 'lib/mtk/lang/pitches.rb', line 138 define_pitch 'Eb7', 99 |
#Eb8 ⇒ MTK::Core::Pitch (readonly)
Pitch Eb8 (MIDI pitch 111)
150 |
# File 'lib/mtk/lang/pitches.rb', line 150 define_pitch 'Eb8', 111 |
#Eb9 ⇒ MTK::Core::Pitch (readonly)
Pitch Eb9 (MIDI pitch 123)
162 |
# File 'lib/mtk/lang/pitches.rb', line 162 define_pitch 'Eb9', 123 |
#Eb_1 ⇒ MTK::Core::Pitch (readonly)
Pitch Eb_1 (MIDI pitch 3)
42 |
# File 'lib/mtk/lang/pitches.rb', line 42 define_pitch 'Eb_1', 3 |
#F0 ⇒ MTK::Core::Pitch (readonly)
Pitch F0 (MIDI pitch 17)
56 |
# File 'lib/mtk/lang/pitches.rb', line 56 define_pitch 'F0', 17 |
#F1 ⇒ MTK::Core::Pitch (readonly)
Pitch F1 (MIDI pitch 29)
68 |
# File 'lib/mtk/lang/pitches.rb', line 68 define_pitch 'F1', 29 |
#F2 ⇒ MTK::Core::Pitch (readonly)
Pitch F2 (MIDI pitch 41)
80 |
# File 'lib/mtk/lang/pitches.rb', line 80 define_pitch 'F2', 41 |
#F3 ⇒ MTK::Core::Pitch (readonly)
Pitch F3 (MIDI pitch 53)
92 |
# File 'lib/mtk/lang/pitches.rb', line 92 define_pitch 'F3', 53 |
#F4 ⇒ MTK::Core::Pitch (readonly)
Pitch F4 (MIDI pitch 65)
104 |
# File 'lib/mtk/lang/pitches.rb', line 104 define_pitch 'F4', 65 |
#F5 ⇒ MTK::Core::Pitch (readonly)
Pitch F5 (MIDI pitch 77)
116 |
# File 'lib/mtk/lang/pitches.rb', line 116 define_pitch 'F5', 77 |
#F6 ⇒ MTK::Core::Pitch (readonly)
Pitch F6 (MIDI pitch 89)
128 |
# File 'lib/mtk/lang/pitches.rb', line 128 define_pitch 'F6', 89 |
#F7 ⇒ MTK::Core::Pitch (readonly)
Pitch F7 (MIDI pitch 101)
140 |
# File 'lib/mtk/lang/pitches.rb', line 140 define_pitch 'F7', 101 |
#F8 ⇒ MTK::Core::Pitch (readonly)
Pitch F8 (MIDI pitch 113)
152 |
# File 'lib/mtk/lang/pitches.rb', line 152 define_pitch 'F8', 113 |
#F9 ⇒ MTK::Core::Pitch (readonly)
Pitch F9 (MIDI pitch 125)
164 |
# File 'lib/mtk/lang/pitches.rb', line 164 define_pitch 'F9', 125 |
#F_1 ⇒ MTK::Core::Pitch (readonly)
Pitch F_1 (MIDI pitch 5)
44 |
# File 'lib/mtk/lang/pitches.rb', line 44 define_pitch 'F_1', 5 |
#G0 ⇒ MTK::Core::Pitch (readonly)
Pitch G0 (MIDI pitch 19)
58 |
# File 'lib/mtk/lang/pitches.rb', line 58 define_pitch 'G0', 19 |
#G1 ⇒ MTK::Core::Pitch (readonly)
Pitch G1 (MIDI pitch 31)
70 |
# File 'lib/mtk/lang/pitches.rb', line 70 define_pitch 'G1', 31 |
#G2 ⇒ MTK::Core::Pitch (readonly)
Pitch G2 (MIDI pitch 43)
82 |
# File 'lib/mtk/lang/pitches.rb', line 82 define_pitch 'G2', 43 |
#G3 ⇒ MTK::Core::Pitch (readonly)
Pitch G3 (MIDI pitch 55)
94 |
# File 'lib/mtk/lang/pitches.rb', line 94 define_pitch 'G3', 55 |
#G4 ⇒ MTK::Core::Pitch (readonly)
Pitch G4 (MIDI pitch 67)
106 |
# File 'lib/mtk/lang/pitches.rb', line 106 define_pitch 'G4', 67 |
#G5 ⇒ MTK::Core::Pitch (readonly)
Pitch G5 (MIDI pitch 79)
118 |
# File 'lib/mtk/lang/pitches.rb', line 118 define_pitch 'G5', 79 |
#G6 ⇒ MTK::Core::Pitch (readonly)
Pitch G6 (MIDI pitch 91)
130 |
# File 'lib/mtk/lang/pitches.rb', line 130 define_pitch 'G6', 91 |
#G7 ⇒ MTK::Core::Pitch (readonly)
Pitch G7 (MIDI pitch 103)
142 |
# File 'lib/mtk/lang/pitches.rb', line 142 define_pitch 'G7', 103 |
#G8 ⇒ MTK::Core::Pitch (readonly)
Pitch G8 (MIDI pitch 115)
154 |
# File 'lib/mtk/lang/pitches.rb', line 154 define_pitch 'G8', 115 |
#G9 ⇒ MTK::Core::Pitch (readonly)
Pitch G9 (MIDI pitch 127)
166 |
# File 'lib/mtk/lang/pitches.rb', line 166 define_pitch 'G9', 127 |
#G_1 ⇒ MTK::Core::Pitch (readonly)
Pitch G_1 (MIDI pitch 7)
46 |
# File 'lib/mtk/lang/pitches.rb', line 46 define_pitch 'G_1', 7 |
#Gb0 ⇒ MTK::Core::Pitch (readonly)
Pitch Gb0 (MIDI pitch 18)
57 |
# File 'lib/mtk/lang/pitches.rb', line 57 define_pitch 'Gb0', 18 |
#Gb1 ⇒ MTK::Core::Pitch (readonly)
Pitch Gb1 (MIDI pitch 30)
69 |
# File 'lib/mtk/lang/pitches.rb', line 69 define_pitch 'Gb1', 30 |
#Gb2 ⇒ MTK::Core::Pitch (readonly)
Pitch Gb2 (MIDI pitch 42)
81 |
# File 'lib/mtk/lang/pitches.rb', line 81 define_pitch 'Gb2', 42 |
#Gb3 ⇒ MTK::Core::Pitch (readonly)
Pitch Gb3 (MIDI pitch 54)
93 |
# File 'lib/mtk/lang/pitches.rb', line 93 define_pitch 'Gb3', 54 |
#Gb4 ⇒ MTK::Core::Pitch (readonly)
Pitch Gb4 (MIDI pitch 66)
105 |
# File 'lib/mtk/lang/pitches.rb', line 105 define_pitch 'Gb4', 66 |
#Gb5 ⇒ MTK::Core::Pitch (readonly)
Pitch Gb5 (MIDI pitch 78)
117 |
# File 'lib/mtk/lang/pitches.rb', line 117 define_pitch 'Gb5', 78 |
#Gb6 ⇒ MTK::Core::Pitch (readonly)
Pitch Gb6 (MIDI pitch 90)
129 |
# File 'lib/mtk/lang/pitches.rb', line 129 define_pitch 'Gb6', 90 |
#Gb7 ⇒ MTK::Core::Pitch (readonly)
Pitch Gb7 (MIDI pitch 102)
141 |
# File 'lib/mtk/lang/pitches.rb', line 141 define_pitch 'Gb7', 102 |
#Gb8 ⇒ MTK::Core::Pitch (readonly)
Pitch Gb8 (MIDI pitch 114)
153 |
# File 'lib/mtk/lang/pitches.rb', line 153 define_pitch 'Gb8', 114 |
#Gb9 ⇒ MTK::Core::Pitch (readonly)
Pitch Gb9 (MIDI pitch 126)
165 |
# File 'lib/mtk/lang/pitches.rb', line 165 define_pitch 'Gb9', 126 |
#Gb_1 ⇒ MTK::Core::Pitch (readonly)
Pitch Gb_1 (MIDI pitch 6)
45 |
# File 'lib/mtk/lang/pitches.rb', line 45 define_pitch 'Gb_1', 6 |