(self)
| 153 | self.assertTrue(fluidsynth.play_Track(t), 0) |
| 154 | |
| 155 | def test_tracks(self): |
| 156 | b = Bar() |
| 157 | b + Note("C") |
| 158 | b + Note("E") |
| 159 | b + Note("A") |
| 160 | b + "E" |
| 161 | c = Bar() |
| 162 | c + Note("Eb") |
| 163 | c + "Gb" |
| 164 | c + "B" |
| 165 | c + Note("C", 5) |
| 166 | t = Track() |
| 167 | t + b |
| 168 | t + c |
| 169 | t2 = Track() |
| 170 | t2 + b |
| 171 | t2 + b |
| 172 | self.assertTrue(fluidsynth.play_Tracks([t, t2], [0, 1])) |
| 173 | |
| 174 | def test_composition(self): |
| 175 | m = MidiInstrument("Vibraphone") |
nothing calls this directly
no test coverage detected