MCPcopy Create free account
hub / github.com/bspaans/python-mingus / test_tracks

Method test_tracks

tests/integration/test_fluidsynth.py:155–172  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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")

Callers

nothing calls this directly

Calls 4

BarClass · 0.85
NoteClass · 0.85
TrackClass · 0.85
play_TracksMethod · 0.45

Tested by

no test coverage detected