electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
  host / artist show at your time
today> Twyndyllyngs live tonight! Chez Mosc
 Forum index » Clavia Nord Modular » Nomad - NM1 Open Source Editor
MIDI Connection problem
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Ka5par



Joined: Apr 08, 2008
Posts: 14
Location: Estonia

PostPosted: Tue Apr 08, 2008 10:39 am    Post subject: MIDI Connection problem Reply with quote  Mark this post and the followings unread

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. Sad

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 Smile

Thanks!
Back to top
View user's profile Send private message
julien



Joined: Dec 08, 2006
Posts: 56
Location: Paris

PostPosted: Tue Apr 08, 2008 1:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Ka5par



Joined: Apr 08, 2008
Posts: 14
Location: Estonia

PostPosted: Tue Apr 08, 2008 2:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

Java is jre1.5.0_06.

I tried both cards with the same result.
Back to top
View user's profile Send private message
julien



Joined: Dec 08, 2006
Posts: 56
Location: Paris

PostPosted: Tue Apr 08, 2008 2:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

Try to upgrade to java 6.
Back to top
View user's profile Send private message
Ka5par



Joined: Apr 08, 2008
Posts: 14
Location: Estonia

PostPosted: Tue Apr 08, 2008 2:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

OK, thanks, I'll try that.

In the meantime I tried a 0.2.1 version of Nomad - it works...
Back to top
View user's profile Send private message
Ka5par



Joined: Apr 08, 2008
Posts: 14
Location: Estonia

PostPosted: Tue Apr 08, 2008 3:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Ka5par



Joined: Apr 08, 2008
Posts: 14
Location: Estonia

PostPosted: Wed Apr 09, 2008 12:01 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Ka5par



Joined: Apr 08, 2008
Posts: 14
Location: Estonia

PostPosted: Wed Apr 09, 2008 12:08 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
julien



Joined: Dec 08, 2006
Posts: 56
Location: Paris

PostPosted: Wed Apr 09, 2008 1:26 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Ka5par



Joined: Apr 08, 2008
Posts: 14
Location: Estonia

PostPosted: Wed Apr 09, 2008 2:02 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
julien



Joined: Dec 08, 2006
Posts: 56
Location: Paris

PostPosted: Wed Apr 09, 2008 2:21 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Clavia Nord Modular » Nomad - NM1 Open Source Editor
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use