Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 def play_midieventstream(self, midieventstream):
     midieventstream.create_midifile(self.m_tmpfilename)
     soundcard.play_mediafile('midi', self.m_tmpfilename)
Exemplo n.º 3
0
 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)
Exemplo n.º 4
0
 def play_midieventstream(self, midieventstream):
     midieventstream.create_midifile(self.m_tmpfilename)
     soundcard.play_mediafile('midi', self.m_tmpfilename)