コード例 #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#')