(self)
| 97 | self.assertTrue(fluidsynth.play_Bar(b), 0) |
| 98 | |
| 99 | def test_playbars(self): |
| 100 | b = Bar() |
| 101 | b + Note("C") |
| 102 | b + Note("E") |
| 103 | b + Note("G") |
| 104 | c = Bar() |
| 105 | c + Note("Eb") |
| 106 | c + "Gb" |
| 107 | c + "B" |
| 108 | c + Note("C", 5) |
| 109 | self.assertTrue(fluidsynth.play_Bars([b, c], [1, 2]), 0) |
| 110 | |
| 111 | def test_changing_bpm_bar(self): |
| 112 | b = Bar() |