From: <tt_...@gm...> - 2004-09-01 07:25:42
|
Hi Hiroo, Hiroo Hayashi wrote: > Hi Torsten, > > Torsten> > When I click 'Play', it sends Sysex message but does not send MIDI > Torsten> > note messages. > > Torsten> If I'm not wrong these SysexMessages are only the Patch which > Torsten> is send to your synth. I think the NoteOn/NoteOff messages > Torsten> are send bye the sequencer and not catched by our > Torsten> midi-monitor. > I'm using an external MIDI monitor program (MIDI-OX). > > Torsten> But alas the MIDI events of the Midi file are never send to > Torsten> this Receiver, only to Java's default synthesizer. > > I guess default Synthesizer (returned by MidSystem.getSysnthsizer()) on > my system is software synth of Windows. But I hear nothing. > > Torsten> It seems that the MIDI Sequencer in the Linux 1.4 Java > Torsten> environment doesn't concern about the new assigned Receiver > Torsten> "outRcvr". It only plays the midi file over Java's default > Torsten> synthesizer, which means you can hear the song over the "Line > Torsten> Out" output of your soundcard. Is this also correct under > Torsten> Windows?. > > It seems my XP system is worse than Linux. > > Torsten> Can you make a quick test with jdk1.5? > Torsten> If my sequencer part is working properly the MIDI file should > Torsten> be played over your synthesizer. If this is the case, I > Torsten> think the wrong behaviour is a Java 1.4 issue and I don't > Torsten> activate this feature until jdk1.5 will become a requirement > Torsten> and my code reached a "stable" state, of course. > > I have not decided to install 1.5 yet. > I don't prefer to install beta version. And I'm afraid having two > version of SDK will cause trouble for me. > > You can use core.Utility.getJavaVersion() and disable sequencer > without waiting for the time when 1.5 will be requirement. OK, I think it's better to use my sequencer code only with jdk1.5. It seem's to me that the 1.4 version doesn't do what I want. Bye Torsten |