def test_XXX_player(self, w, typeid, testfile): try: soundcard.play_mediafile( typeid, os.path.join('exercises/standard/lesson-files/share', testfile)) except osutils.BinaryBaseException, e: solfege.win.display_error_message2(e.msg1, e.msg2)
def play_midieventstream(self, midieventstream): midieventstream.create_midifile(self.m_tmpfilename) soundcard.play_mediafile('midi', self.m_tmpfilename)
def test_XXX_player(self, w, typeid, testfile): try: soundcard.play_mediafile(typeid, os.path.join('exercises/standard/lesson-files/share', testfile)) except osutils.BinaryBaseException, e: solfege.win.display_error_message2(e.msg1, e.msg2)