[PD] pd on Vista: MIDI latency

2007-07-09 Thread Bjoern Hartmann
Does anyone have experience running pd with MIDI input on Windows Vista?
I am experiencing ~1 second latency in receiving control data from a
Behringer BCD2000 midi controller. It's not a device driver issue -
the latency is not present when receiving data from the BCD in
Processing with the proMIDI library.

Here are my configuration details:
* Windows Vista Business on a new Dell Precision workstation
* Pure Data 0.39.2-extended-rc3
* Behringer BCD2000, Driver version v1.1.1.0, installed in XP compatibility mode

Test patch (just a ctlin node with three number nodes connected to outlets):
#N canvas 0 0 454 304 10;
#X obj 306 79 ctlin;
#X floatatom 288 117 5 0 0 0 - - -;
#X floatatom 323 117 5 0 0 0 - - -;
#X floatatom 359 117 5 0 0 0 - - -;
#X connect 0 0 1 0;
#X connect 0 1 2 0;
#X connect 0 2 3 0;

I'd be thankful for any hints or other experience reports.
-Bjoern

-- 
Bjoern Hartmann
Human Computer Interaction Group
Stanford University

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Control X,Y position of main Pd window at startup?

2007-07-23 Thread Bjoern Hartmann
Is there a way to control at which position the main Pd window appears
on the screen on startup? For an individual patch, I can write desired
values into the canvas definition line "#N canvas X Y ..." in the
patch's pd file - but what about the main window/console?

I suspect this may be possible by hacking pd.tk, but as I'm unfamiliar
with Tcl/Tk I don't quite know where to look. I'm running Pd version
0.39.2-extended-rc3 on Win XP (gave up on Vista for now).

-- 
Bjoern Hartmann
Human Computer Interaction Group
Stanford University

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Control X,Y position of main Pd window at startup?

2007-07-23 Thread Bjoern Hartmann
I'll answer my own question -
in file pd.tk, at the end of the "main window set up" section, after lines

wm title . "Pd"
. configure -menu .mbar -width 200 -height 150

add the following line to control main window position at startup:

wm geometry . +x+y

where (x,y) is the offset in pixels from the top left corner of the
screen. So "wm geometry . +0+0" puts the pd main window in the top
left corner of the leftmost screen.

The relevant Tk manual page is:
http://tmml.sourceforge.net/doc/tk/wm.html



-- 
Bjoern Hartmann
Human Computer Interaction Group
Stanford University

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list