From: <tt_...@gm...> - 2004-08-29 10:51:00
|
Hi Hiroo, Hiroo Hayashi wrote: > Torsten, > > I've tried your sequencer today. > > When I click 'Play', it sends Sysex message but does not send MIDI > note messages. If I'm not wrong these SysexMessages are only the Patch which is send to your synth. I think the NoteOn/NoteOff messages are send bye the sequencer and not catched by our midi-monitor. I don't see NoteOn/NoteOff messages too, but under jdk1.5 the midi file is played correctly about my synth. > ------------------------------------------------------------------------ > DBG>JSynthLib: 0.20-alpha, Java: 1.4.2, OS: Windows XP, 5.1 > ... > core.MidiUtil.startSequencer: seqTrans = com.sun.media.sound.AbstractPlayer$PlayerOutTransmitter@1885088 > core.MidiUtil.startSequencer: output MidiDevice = com.sun.media.sound.MidiOutDevice@5f387c > core.MidiUtil.startSequencer: outRcvr = com.sun.media.sound.MidiOutDevice$MidiOutReceiver@1756db3 > ... > ------------------------------------------------------------------------ This looks like my own output and tells that the right Receiver is connected. But alas the MIDI events of the Midi file are never send to this Receiver, only to Java's default synthesizer. > These are MIDI related descriptions in Bugs fixed in J2SETM 1.5.0 > Beta1 (http://java.sun.com/j2se/1.5.0/fixedbugs/fixedbugs.html). > > ------------------------------------------------------------------------ > 4773012 java classes_sound 36 votes RFE: Implement a new stand-alone sequencer > 4851018 java classes_sound 3 votes MidiMessage.getLength and .getData return wrong values > 4493775 java classes_sound 2 votes Sequencer method, setTickPosition(long) doesnot set the Tick position > 4782924 java classes_sound 2 votes RFE: Linux: Implement MIDI device I/O > 4204105 java classes_sound 1 vote RFE: add loop() method(s) to Sequencer > 4782900 java classes_sound 1 vote RFE: Linux: Implement Ports > ------------------------------------------------------------------------ > > Does this mean the MIDI sequencer is not implemented in 1.4? I'm suspecting that the MIDI sequencer isn't implemented properly in 1.4. It seems that the MIDI Sequencer in the Linux 1.4 Java environment doesn't concern about the new assigned Receiver "outRcvr". It only plays the midi file over Java's default synthesizer, which means you can hear the song over the "Line Out" output of your soundcard. Is this also correct under Windows?. Can you make a quick test with jdk1.5? If my sequencer part is working properly the MIDI file should be played over your synthesizer. If this is the case, I think the wrong behaviour is a Java 1.4 issue and I don't activate this feature until jdk1.5 will become a requirement and my code reached a "stable" state, of course. Bye Torsten |