Пример #1
0
 def test_11(self):
     chord = np.array([tuple(['c', '6'])], dtype=self.dt)[0]
     self.assertEqual(find_chord_root(chord, 'pitch_spelling'), 'A-')
Пример #2
0
 def test_7(self):
     chord = np.array([tuple(['C', '3/3'])], dtype=self.dt)[0]
     self.assertEqual(find_chord_root(chord, 'pitch_spelling'), 'G')
Пример #3
0
 def test_4(self):
     chord = np.array([tuple(['B--', '7/5'])], dtype=self.dt)[0]
     self.assertEqual(find_chord_root(chord, 'pitch_spelling'), 'E-')
Пример #4
0
 def test_6(self):
     chord = np.array([tuple(['g#', '-3/+4'])], dtype=self.dt)[0]
     self.assertEqual(find_chord_root(chord, 'pitch_spelling'), 'E')
Пример #5
0
 def test_3(self):
     chord = np.array([tuple(['F-', '+1/+1'])], dtype=self.dt)[0]
     self.assertEqual(find_chord_root(chord, 'pitch_spelling'), 'F#')