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> Modulator ESP Adventures In Sound
 Forum index » Clavia Nord Modular » Nomad - NM1 Open Source Editor
Setting up a nomad debug environmment on windows (vista)
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 3 of 3 [66 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2, 3
Author Message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24493
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 4:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

You had some disable code in ProtocolReceiver that I uncommented, involving the "closed" variable.

The simple patch was loaded again.

In ProtocolReceiver.send() I do not get an IllegalStateException( "receiver closed") and I do not get reception, so there is definitely no reply on the IAmMessage.

Could it be that the IAm is being sent too soon after the MidiPort was opened?

Edit : and close() is not being called.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.

Last edited by blue hell on Sat Apr 05, 2008 4:39 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24493
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 4:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

I tried to implement retries on the IAm, but that code didn't work Ok, I'm going to look further into that now.
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 4:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
...
Could it be that the IAm is being sent too soon after the MidiPort was opened?


I don't think so, but you can add in Nordmodular.connect()

Code:

            try
            {
                Thread.sleep(2000); // time in ms
            }
            catch (InterruptedException e)
            {
                e.printStackTrace();
            }

before
Code:
                protocol.send(new IAmMessage());

_________________
----------------------
http://nmedit.sf.net
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 4:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

What happens when you remove the code which sends/accepts the IAMMessage?


Code:
            /*
            multicaster.addProtocolListener(iamAcceptor);


            if (log.isInfoEnabled())
            {
                log.info("sending "+IAmMessage.class.getName()+", expecting reply...");
            }
            try
            {
                protocol.send(new IAmMessage());
            }
            catch (Exception e)
            {
                if (log.isWarnEnabled())
                {
                    log.warn("sending "+IAmMessage.class.getName()+" failed", e);
                }
                throw new SynthException(e);
            }

            final long timeout = 10000; // 10 seconds
            iamAcceptor.waitForReply(protocol, timeout);
           
            IAmMessage iam = iamAcceptor.getFirstMessage();

            if (log.isInfoEnabled())
            {
                log.info("received "+IAmMessage.class.getName()+": "+iam);
            }

            validateVersion(iam, 3, 3);
           
            deviceId = iam.getDeviceId();
            serial = iam.getSerial();
            */
            serial = 0;
            deviceId = IAmMessage.NORD_MODULAR_KEYBOARD;
           

_________________
----------------------
http://nmedit.sf.net
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 4:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

This problem is really really strange (and persistent).

Do you have a way to find out if the IAMmessage sent by Nomad actually makes its way to the synth ? Perhaps use some tool to intercept the messages outside of the Java VM / Nomad.

You can use http://www.midiox.com/ to create virtual midi devices and use them to intercept the messages, but I don't know if the tool works in vista.

P.S.: I am going to bed now. Shocked

_________________
----------------------
http://nmedit.sf.net
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24493
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 4:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

You were right Crying or Very sad the delay does not help, 5000 ms neither, it cant be that slow ...

The MIDI out light on the MIDI interface never lits up ...

Laughing hadn't seen your message when I typed this

I should be doing something else tomorrow, but will come back on it. When you have any ideas please post 'm.

Sleep well, and thank you!

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 5:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
You were right Crying or Very sad The MIDI out light on the MIDI interface never lits up ...

At least we got a step closer to the real problem Laughing

Quote:
... Sleep well

Thanks.
Quote:
, and thank you!

No problem.

Good night

_________________
----------------------
http://nmedit.sf.net
Back to top
View user's profile Send private message Visit poster's website
cappy2112



Joined: Dec 24, 2004
Posts: 2498
Location: San Jose, California
Audio files: 2
G2 patch files: 1

PostPosted: Sat Apr 05, 2008 6:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

chresan wrote:

You can use http://www.midiox.com/ to create virtual midi devices and use them to intercept the messages, but I don't know if the tool works in vista.


Do you mean MidiYoke? It is on the same website as Midiox,
but Midi Yoke is a driver, not an application. The system needs to be rebooted after installation.

It works great on XP


BTW- there was an update to MidiYoke NT release in Sept 2007- it now supports up to 16 virtual midi interfaces, instead of the previous 8.

_________________
Free Tibet. Release the Panchen Lama from prison. Let the Dalai Lama return to his home.
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24493
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 7:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi Tony,

yes yoke would be the thing to use. The midi-ox pages say nothing about vista compatibility BTW, so probably, as it's a driver, it will not work.

Not a problem though in this case as I have 3 midi ports working so I can just plug in two midi splitters for midi debugging Very Happy Erm .. and they should be .. some . where .. if only .. Shocked Laughing

Still I'll try midi yoke later, as indeed it's a great tool, and I use it all the time ...

BTW PS OT .. i got the G2 beta working ok on vista, and the clavia nm editor works ok as well.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
cappy2112



Joined: Dec 24, 2004
Posts: 2498
Location: San Jose, California
Audio files: 2
G2 patch files: 1

PostPosted: Sat Apr 05, 2008 7:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:

plug in two midi splitters for midi debugging Very Happy Erm .. and they should be .. some . where .. if only .. Shocked Laughing


Wanna borrow my reading glasses? Smile

Quote:

BTW PS OT .. i got the G2 beta working ok on vista, and the clavia nm editor works ok as well.


The NM editor? Who would have thought...

G2beta-is this just a USB driver update or are there new features in the editor? In the OS? Modules?

Come one Jan-meet you at Bangs- I'm buying!

_________________
Free Tibet. Release the Panchen Lama from prison. Let the Dalai Lama return to his home.
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24493
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 7:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hey come on, I'm not that blind Laughing it's clearly visible when seen ! and it's in a box, somewhere in this room or another!

The G2 update is just a driver thing.

And bad news .. the Bang thing as it was doesn't exist anymore I was told, it was sold to someone else and he didn't seem to bother to build it up again after the winter (each winter these beach things are torn down to be rebuilt in spring, a weird legislation thing .. don't ask).

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
cappy2112



Joined: Dec 24, 2004
Posts: 2498
Location: San Jose, California
Audio files: 2
G2 patch files: 1

PostPosted: Sat Apr 05, 2008 7:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
Hey come on, I'm not that blind Laughing it's clearly visible when seen ! and it's in a box, somewhere in this room or another!

The G2 update is just a driver thing.


How disappointing- for me at least. I know there are a lot of Vista victims out there who will be happy though, that was the primary reason for this anyway.
Clavia's Swan Song for the G2

And bad news .. the Bang thing as it was doesn't exist anymore I was told, it [/quote]

well, at least I have some pictures (and memories)
There's a great little place in SF ......

_________________
Free Tibet. Release the Panchen Lama from prison. Let the Dalai Lama return to his home.
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24493
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 7:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

cappy2112 wrote:
There's a great little place in SF ......


One day ... hopefully with ships being involved ... I like flying, but not that long really ...

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
cappy2112



Joined: Dec 24, 2004
Posts: 2498
Location: San Jose, California
Audio files: 2
G2 patch files: 1

PostPosted: Sat Apr 05, 2008 7:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
cappy2112 wrote:
There's a great little place in SF ......


One day ... hopefully with ships being involved ... I like flying, but not that long really ...


I'm off to Japan next week- but they put us in Bus. class- so that makes it a bit more comfortable. Will take a micro with me, but after 12+ hours @ work + after hours dinners, I may not be able to see the editor screen (even with my reading glasses on) Wink

_________________
Free Tibet. Release the Panchen Lama from prison. Let the Dalai Lama return to his home.
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24493
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 8:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

One day brought me to one time ... Laughing



have fun in Japan, with or without the micro ... !

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24493
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Mon Apr 07, 2008 3:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

Christian,

I have no idea what I changed ... or did wrong before ... but I screwed up everything and then just reloaded all from SF, redid the whole configuration thing, and now it just connects Shocked even with the complicated patch ....

Twisted Evil

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 3 of 3 [66 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2, 3
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