Message1170
Hi,
The following script works just fine on my Windows XP and Jython 2.2.1 :
import javax.sound.midi as midi
sequencer = midi.MidiSystem.getSequencer()
print 'got this far'
sequencer.open()
if sequencer.open:
print 'sequencer open'
sequencer.close()
else:
print 'sequencer not open'
On my system, it handles the difference between the sequencer.open() method and the sequencer.open boolean. This is handled all the time in Jython. I can't at all see why it is not working for you and it is working for me. But I do see that you submitted this a year and a half ago. So your Jython has to be 2.1, and Java 1.5 had several enhancements in Java Sound. I am running Java 1.6.0_03 with Jython 2.2.1.
- Bob |
|
Date |
User |
Action |
Args |
2008-02-20 17:17:31 | admin | link | issue1509095 messages |
2008-02-20 17:17:31 | admin | create | |
|