Author |
Message |
Ka5par
Joined: Apr 08, 2008 Posts: 14 Location: Estonia
|
Posted: Tue Apr 08, 2008 10:39 am Post subject:
MIDI Connection problem |
 |
|
Hi!
I would like to say that I'm very impressed with what I saw in the demo video.
Because of this, it saddens me even more, that I'm unable to use your fabulous editor.
OS - WinXPSP2
MIDI - M-Audio Audiophile 2496 and Soundblaster Live.
When I try to connect to my NM rack, after a while I get the following message:
net.sf.nmedit.jsynth.SynthException: javax.sound.midi.MidiUnavailableException: This function is not supported. Use the Capabilities function to determine which functions and messages the driver supports.
at net.sf.nmedit.jsynth.clavia.nordmodular.NordModular.connect(NordModular.java:324)
at net.sf.nmedit.jsynth.clavia.nordmodular.NordModular.setConnected(NordModular.java:881)
at net.sf.nmedit.jsynth.nomad.forms.SynthObjectForm.trySetConnectedState(SynthObjectForm.java:958)
at net.sf.nmedit.jsynth.nomad.forms.SynthObjectForm$1$1.run(SynthObjectForm.java:599)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: javax.sound.midi.MidiUnavailableException: This function is not supported. Use the Capabilities function to determine which functions and messages the driver supports.
at com.sun.media.sound.MidiInDevice.nOpen(Native Method)
at com.sun.media.sound.MidiInDevice.implOpen(Unknown Source)
at com.sun.media.sound.AbstractMidiDevice.doOpen(Unknown Source)
at com.sun.media.sound.AbstractMidiDevice.open(Unknown Source)
at net.sf.nmedit.jnmprotocol2.MidiDriver.connect(MidiDriver.java:79)
at net.sf.nmedit.jsynth.clavia.nordmodular.NordModular.connect(NordModular.java:320)
... 10 more
----------------------------------------------------------
I hope there's an easy solution and the problem is caused by my ignorance
Thanks! |
|
Back to top
|
|
 |
julien
Joined: Dec 08, 2006 Posts: 56 Location: Paris
|
Posted: Tue Apr 08, 2008 1:08 pm Post subject:
|
 |
|
Hello,
Which version of Java are you using? You should use at least Java 1.5 . Which card are you using to connect to your nord, the maudio or the sound blaster ? M-audio cards seem to work well with nomad, at least the midisport series. |
|
Back to top
|
|
 |
Ka5par
Joined: Apr 08, 2008 Posts: 14 Location: Estonia
|
Posted: Tue Apr 08, 2008 2:12 pm Post subject:
|
 |
|
Java is jre1.5.0_06.
I tried both cards with the same result. |
|
Back to top
|
|
 |
julien
Joined: Dec 08, 2006 Posts: 56 Location: Paris
|
Posted: Tue Apr 08, 2008 2:16 pm Post subject:
|
 |
|
Try to upgrade to java 6. |
|
Back to top
|
|
 |
Ka5par
Joined: Apr 08, 2008 Posts: 14 Location: Estonia
|
Posted: Tue Apr 08, 2008 2:55 pm Post subject:
|
 |
|
OK, thanks, I'll try that.
In the meantime I tried a 0.2.1 version of Nomad - it works... |
|
Back to top
|
|
 |
Ka5par
Joined: Apr 08, 2008 Posts: 14 Location: Estonia
|
Posted: Tue Apr 08, 2008 3:24 pm Post subject:
|
 |
|
Upgraded java to v6, but still the same problem.
Has NET framework got any relevance to how java works?
I have v3.5 BTW.
Is it possible to find an answer through the differences of 0.2 and 0.3 versions of Nomad, why one works and not the other? |
|
Back to top
|
|
 |
Ka5par
Joined: Apr 08, 2008 Posts: 14 Location: Estonia
|
Posted: Wed Apr 09, 2008 12:01 am Post subject:
|
 |
|
With java 6, the error looks like this:
net.sf.nmedit.jsynth.SynthException: net.sf.nmedit.jnmprotocol2.MidiException: timeout: 10000ms (net.sf.nmedit.jnmprotocol2.SynthSettingsMessage) [error=-1001]
at net.sf.nmedit.jsynth.clavia.nordmodular.NordModular.connect(NordModular.java:411)
at net.sf.nmedit.jsynth.clavia.nordmodular.NordModular.setConnected(NordModular.java:881)
at net.sf.nmedit.jsynth.nomad.forms.SynthObjectForm.trySetConnectedState(SynthObjectForm.java:958)
at net.sf.nmedit.jsynth.nomad.forms.SynthObjectForm$1$1.run(SynthObjectForm.java:599)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: net.sf.nmedit.jnmprotocol2.MidiException: timeout: 10000ms (net.sf.nmedit.jnmprotocol2.SynthSettingsMessage) [error=-1001]
at net.sf.nmedit.jnmprotocol2.NmMessageAcceptor.waitForReply(NmMessageAcceptor.java:111)
at net.sf.nmedit.jsynth.clavia.nordmodular.NordModular.connect(NordModular.java:400)
... 11 more _________________ http://www.kaspartorn.eu |
|
Back to top
|
|
 |
Ka5par
Joined: Apr 08, 2008 Posts: 14 Location: Estonia
|
Posted: Wed Apr 09, 2008 12:08 am Post subject:
|
 |
|
Looked at the logfile of Nomad and here are the last 2 lines (maybe of relevance):
WARN : unknown listener org.java.plugin.standard.StandardPluginManager$1@856d3b
INFO : shutdown done _________________ http://www.kaspartorn.eu |
|
Back to top
|
|
 |
julien
Joined: Dec 08, 2006 Posts: 56 Location: Paris
|
Posted: Wed Apr 09, 2008 1:26 am Post subject:
|
 |
|
From the faq:
I get Midi timeouts.
Try disabling external midi clock on the synthesizer using the Clavia editor, then try Nomad again.
------
The library jnmprotocol was updated between the two versions. That's the reason. |
|
Back to top
|
|
 |
Ka5par
Joined: Apr 08, 2008 Posts: 14 Location: Estonia
|
Posted: Wed Apr 09, 2008 2:02 am Post subject:
|
 |
|
This is strange! Thanks!
I had MIDI clock set to "Internal" and had to change it to "External" instead.
With this setting Nomad connects to NM, but I wonder what happens to patches that use MIDI clock? _________________ http://www.kaspartorn.eu |
|
Back to top
|
|
 |
julien
Joined: Dec 08, 2006 Posts: 56 Location: Paris
|
Posted: Wed Apr 09, 2008 2:21 am Post subject:
|
 |
|
I'm glad it works now.
I would say this is a temporary work around. There will be a bug fix in the end. |
|
Back to top
|
|
 |
|