Re: [PD] [GEM] ps3eye camera on linux / OSX?

2009-05-14 Thread Martin Schied

Martin Schied schrieb:

Jaime Oliver schrieb:

Hi,

I have changed the subject to [GEM] if perhaps people have missed
it... it would be great if anyone else is interested in this because
to have a 120fps camera for less than 40$ working in GEM would be
amazing...

When was the las time you tried this driver?

I'm getting one of these cameras at some point this week to try it
out. It seems that with that driver you can get a video0 device, but
you can only change settings when you load the driver and therefore
not through pix_video...

I'll let you know if I have any success.

  
yeah, that would be really great and also was one of my thoughts when 
buying that cam. i already tried several resolutions + fps at module 
load time, wich works for other applications than GEM. that was 
approximately one week ago. but i'm not sure if it was the latest 
driver available though. I made a flickr account, so I'll be able to 
upload some pictures of the errors later.




ok. this is what I get into GEM (pd extended, nightly one or two weeks 
ago, sorry for not being that precise...), ubuntu 9.04


http://www.flickr.com/photos/38404...@n08/sets/72157618127535288/
one clear picture from cheese for comparison.


As I'm still on ubuntu 8.04 for work i tried to compile MT gspca 
modified driver V0.5 for it, but this kernel seems to old for these 
modules.


so this is all from ubuntu jaunty 9.04:

modinfo:

filename:   
/lib/modules/2.6.28-11-generic/kernel/drivers/media/video/gspca/gspca_ov534.ko

license:GPL
description:GSPCA/OV534 USB Camera Driver(kaswy mod for MT use V0.5)
author: Antonio Ospite osp...@studenti.unina.it
srcversion: 2669EC48DECC8E6AB8C781B
alias:  usb:v1415p2000d*dc*dsc*dp*ic*isc*ip*
depends:gspca_main
vermagic:   2.6.28-11-generic SMP mod_unload modversions 586
parm:   videomode: = xx //Set the videomode(see doc) (int)
parm:   autogain: = [0|1] //Autogain (agc,aec,awb) (bool)
parm:   gain: = [0..63] //main gain (int)
parm:   exposure: = [0..255] //Exposure (int)
parm:   redblc: = [0..255] //Red Balance (int)
parm:   blueblc: = [0..255] //Blue Balance (int)
parm:   sharpness: = [0..63] //Sharpness (int)
parm:   vflip: = [0|1] //Vertical flip (bool)
parm:   hflip: = [0|1] //Horizontal mirror (bool

when i start rendering i get these messages repeatedly (every frame?) in 
console output:


VIDIOCSYNC: Invalid argument
VIDIOCSYNC: Invalid argument
VIDIOCMCAPTURE1: Invalid argument
VIDIOCMCAPTURE2: Invalid argument

when changing dimen in pix_video:
error: x dimensions too great
error: y dimensions too great

see flickr images for differences when using RGB, grey, YUV

camera has been set to 640x480 before. I also tried different videomode 
settings at module load time, without difference for these errors.



cheers
Martin

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


Re: [PD] [GEM] ps3eye camera on linux / OSX?

2009-05-14 Thread Loic Kessous
The PS3eye work for me as any other cam on os 10.5 using the macam  
driver

loic

On 14 mai 09, at 10:57, Martin Schied wrote:


Martin Schied schrieb:

Jaime Oliver schrieb:

Hi,

I have changed the subject to [GEM] if perhaps people have missed
it... it would be great if anyone else is interested in this because
to have a 120fps camera for less than 40$ working in GEM would be
amazing...

When was the las time you tried this driver?

I'm getting one of these cameras at some point this week to try it
out. It seems that with that driver you can get a video0 device, but
you can only change settings when you load the driver and therefore
not through pix_video...

I'll let you know if I have any success.


yeah, that would be really great and also was one of my thoughts  
when buying that cam. i already tried several resolutions + fps at  
module load time, wich works for other applications than GEM. that  
was approximately one week ago. but i'm not sure if it was the  
latest driver available though. I made a flickr account, so I'll be  
able to upload some pictures of the errors later.




ok. this is what I get into GEM (pd extended, nightly one or two  
weeks ago, sorry for not being that precise...), ubuntu 9.04


http://www.flickr.com/photos/38404...@n08/sets/72157618127535288/
one clear picture from cheese for comparison.


As I'm still on ubuntu 8.04 for work i tried to compile MT gspca  
modified driver V0.5 for it, but this kernel seems to old for these  
modules.


so this is all from ubuntu jaunty 9.04:

modinfo:

filename:   /lib/modules/2.6.28-11-generic/kernel/drivers/media/ 
video/gspca/gspca_ov534.ko

license:GPL
description:GSPCA/OV534 USB Camera Driver(kaswy mod for MT use  
V0.5)

author: Antonio Ospite osp...@studenti.unina.it
srcversion: 2669EC48DECC8E6AB8C781B
alias:  usb:v1415p2000d*dc*dsc*dp*ic*isc*ip*
depends:gspca_main
vermagic:   2.6.28-11-generic SMP mod_unload modversions 586
parm:   videomode: = xx //Set the videomode(see doc) (int)
parm:   autogain: = [0|1] //Autogain (agc,aec,awb) (bool)
parm:   gain: = [0..63] //main gain (int)
parm:   exposure: = [0..255] //Exposure (int)
parm:   redblc: = [0..255] //Red Balance (int)
parm:   blueblc: = [0..255] //Blue Balance (int)
parm:   sharpness: = [0..63] //Sharpness (int)
parm:   vflip: = [0|1] //Vertical flip (bool)
parm:   hflip: = [0|1] //Horizontal mirror (bool

when i start rendering i get these messages repeatedly (every  
frame?) in console output:


VIDIOCSYNC: Invalid argument
VIDIOCSYNC: Invalid argument
VIDIOCMCAPTURE1: Invalid argument
VIDIOCMCAPTURE2: Invalid argument

when changing dimen in pix_video:
error: x dimensions too great
error: y dimensions too great

see flickr images for differences when using RGB, grey, YUV

camera has been set to 640x480 before. I also tried different  
videomode settings at module load time, without difference for these  
errors.



cheers
Martin

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



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


Re: [PD] [GEM] ps3eye camera on linux / OSX?

2009-05-14 Thread IOhannes m zmoelnig

Martin Schied wrote:

ok. this is what I get into GEM (pd extended, nightly one or two weeks 
ago, sorry for not being that precise...), ubuntu 9.04


pd-extended has (afaik) no libv4l support yet, which is definitely the 
way to go if anything fails like in your case :-)


could you try to compile Gem yourself?
grab the sources via subversion from 
https://pd-gem.svn.sourceforge.net/svnroot/pd-gem/trunk/Gem


and aptitute install lib4vl-dev
(you should also install at least Gem's build-dependencies via apt-get 
build-dep gem)


the only sad thing is that libv4l on jaunty is still a bit outdated 
(compared to debian squeeze)


mfga.dr
IOhannes


smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Good sequencer patches for learning?

2009-05-14 Thread Solen Music
cheers, I will have a dig around your patches! I'll be interested to
hear your 'grainstates' also, i always did like that reaktor patch
when i used it.

my plan for the tappable groove metro is not to use [metro] but to
keep a variable table of times between output bangs. i hope to hook
two drum pads to a [timer] based kind of bpm counter. one pad will
input the downbeat times and the other the offbeat times (the usual
decider in 'swing-factor').

if that makes sense?!?

clearly it's still not off the ground yet but i'll post it when it is!

2009/5/11 martin brinkmann m...@martin-brinkmann.de:
 Solen Music wrote:

 I did mean step sequencer.

 i have allways been interested in step-sequencers, and made
 a few attempts to build a good one.
 of course i was not successfull in making the perfect
 step-sequencer... and i would not reccomend my creations for learning,
 since they are quite messy, and rather designed for my own needs,
 than for beeing 'good examples'. (i want things to be as self contained
 as possible (no abstractions), and 'hassel-free copy/pasteable')
 anyway, you can find some basics like the use of counters,
 select/route etc. also in my patches.
 www.martin-brinkmann.de, my_instruments, and i think the latest
 is called sequencers1.

 sequencer that runs off a tappable groove metro (to give the option of
 everything from rigid straight to super loose hand tapped swing).

 this sounds interresting. i have wondered a few times how to make
 something like that, but was not able to come up with something
 better than a tap-tempo with a simple 'swing-factor'. how does your
 groove-metro work?

 bis denn!
   martin




-- 
John

http://www.myspace.com/solenband

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


[PD] -nogui troubles on mac

2009-05-14 Thread hard off
running mac os 10.4, and the latest version of vanilla pd with -nogui, the
attached patch does not work how it should.

the patch is a simple phasor~ ping sound, run through a [delread~] /
[delwrite~] delayline.  with gui turned on, it works as expected, making a
feedback echo,

but with -the nogui option enabled, the delayline is just making a small
delay (my guess is one block)

is this a known issue?  are there other known issues with running -nogui on
mac, or in general?  this is the first definite trouble we have isolated,
but i think we might have some other issues too.


delaytest7.pd
Description: application/extension-pd
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] -nogui troubles on mac

2009-05-14 Thread IOhannes m zmoelnig

hard off wrote:

running mac os 10.4, and the latest version of vanilla pd with -nogui, the
attached patch does not work how it should.


which is the latest version of Pd-vanilla for you? 0.42-5?
(i guess it would be good to always use full version numbers, so that 
they keep a meaning in the archive)




the patch is a simple phasor~ ping sound, run through a [delread~] /
[delwrite~] delayline.  with gui turned on, it works as expected, making a
feedback echo,

but with -the nogui option enabled, the delayline is just making a small
delay (my guess is one block)


i can confirm this with 0.41-4 and 0.42-4 on linux.

i don't have any explanation at hand.

fgmasdr
IOhannes


smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [GEM] ps3eye camera on linux / OSX?

2009-05-14 Thread Martin Schied

IOhannes m zmoelnig schrieb:

Martin Schied wrote:

ok. this is what I get into GEM (pd extended, nightly one or two 
weeks ago, sorry for not being that precise...), ubuntu 9.04


pd-extended has (afaik) no libv4l support yet, which is definitely the 
way to go if anything fails like in your case :-)


could you try to compile Gem yourself?
grab the sources via subversion from 
https://pd-gem.svn.sourceforge.net/svnroot/pd-gem/trunk/Gem



yes, I'll do that (later)

and aptitute install lib4vl-dev
(you should also install at least Gem's build-dependencies via 
apt-get build-dep gem)


the only sad thing is that libv4l on jaunty is still a bit outdated 
(compared to debian squeeze)
jaunty was only installed for testing purpose anyways, so using debian 
squeeze would'nt be a problem at all...


thanks!

Martin

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


Re: [PD] -nogui troubles on mac

2009-05-14 Thread IOhannes m zmoelnig

IOhannes m zmoelnig wrote:

hard off wrote:


but with -the nogui option enabled, the delayline is just making a small
delay (my guess is one block)


here it seems to be more than one block: something like 1.63 ms



i can confirm this with 0.41-4 and 0.42-4 on linux.

i don't have any explanation at hand.


the problem seems to be that the audio-subsystem is not fully 
initialized yet (see a bug-report by claude on a simliar issue: 
https://sourceforge.net/tracker/?func=detailaid=2724318group_id=55736atid=478070)


thus [delwrite~] does not know the real samplerate at the time of 
creation and therefore computes the delay-buffer wrongly (way too short)
since the delay buffer is so short, you can send [delread~] any 
delaytime, it will not really change anything.


one ugly workaround for now is to dynamically create the [delwrite~] at 
a time where the samplerate has already settled.



fmgad.sr.
IOhannes
#N canvas 217 68 1047 555 10;
#X obj 166 127 +~;
#X obj 167 375 +~;
#X obj 161 447 dac~;
#X msg 542 60 \; pd dsp 1;
#X obj 536 -22 loadbang;
#X obj 234 303 *~ 0.8;
#X obj 232 265 delread~ dl 150;
#X obj 541 20 delay 1000;
#X msg 509 163 \; pd dsp 0;
#X floatatom 396 296 5 0 0 0 - - -;
#X floatatom 239 233 5 0 0 0 - - -;
#X obj 384 207 netreceive  1;
#X obj 401 260 print deltime;
#N canvas 0 0 450 300 delwrite~ 0;
#X obj 47 46 inlet~;
#X obj 100 100 delwrite~ dl 250;
#X connect 0 0 1 0;
#X restore 244 122 pd delwrite~;
#X obj 635 180 s pd-delwrite~;
#X msg 644 139 obj 100 100 delwrite~ dl 250 \, connect 0 0 1 0;
#X obj 545 41 t b b;
#X obj 328 -8 phasor~ -1;
#X obj 327 15 *~;
#X obj 327 35 *~;
#X obj 166 93 *~;
#X obj 166 -3 phasor~ 1;
#X obj 165 43 *~ 0.5;
#X obj 326 57 *~;
#X obj 326 77 *~;
#X connect 0 0 1 0;
#X connect 0 0 13 0;
#X connect 1 0 2 0;
#X connect 1 0 2 1;
#X connect 4 0 7 0;
#X connect 5 0 1 0;
#X connect 5 0 13 0;
#X connect 6 0 5 0;
#X connect 7 0 16 0;
#X connect 9 0 5 1;
#X connect 10 0 6 0;
#X connect 10 0 12 0;
#X connect 11 0 10 0;
#X connect 15 0 14 0;
#X connect 16 0 3 0;
#X connect 16 1 15 0;
#X connect 17 0 18 0;
#X connect 17 0 18 1;
#X connect 18 0 19 0;
#X connect 18 0 19 1;
#X connect 19 0 23 0;
#X connect 19 0 23 1;
#X connect 20 0 0 0;
#X connect 21 0 22 0;
#X connect 22 0 20 0;
#X connect 23 0 24 0;
#X connect 23 0 24 1;
#X connect 24 0 20 1;


smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Good sequencer patches for learning?

2009-05-14 Thread Daniel Bennett
After seeing you talk about the tap tempo with human error I sat down
t'other night and had a crack at building one. It's quite simple, and I
think it works pretty well - you could probably make improvements
Dan

#N canvas 302 0 701 714 10;
#X obj 91 370 counter;
#X floatatom 91 395 5 0 0 0 - - -;
#X obj 135 220 t b b;
#X obj 54 102 bng 15 250 50 0 empty empty empty 17 7 0 10 -258113 -262144
-262130;
#X floatatom 174 389 5 0 0 0 - - -;
#X obj 135 285 moses 1;
#X obj 135 264 realtime;
#X obj 71 242 delay 1500;
#X obj 174 304 moses 1500;
#X obj 174 325 t b f;
#X obj 129 418 pack f f;
#X obj 114 505 f;
#X obj 129 526 f;
#X obj 144 545 f;
#X obj 160 505 f;
#X obj 175 526 f;
#X obj 190 545 f;
#X obj 206 507 f;
#X obj 221 526 f;
#X obj -53 571 metro 400;
#X obj -53 596 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj -53 620 s \$1-drunkmetro-step;
#X obj -15 290 r \$1-drunkmetro-step;
#X obj -15 351 counter;
#X obj 38 102 tgl 15 0 \$0-toggle \$0-toggle-r OFF -30 8 0 13 -262144
-262144 -1 0 1;
#X obj -73 317 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X floatatom -15 374 5 0 0 0 - - -;
#X obj 129 469 route 0 1 2 3 4 5 6 7;
#X obj 62 441 select 0 1 2 3 4 5 6 7;
#X obj 45 338 select 7;
#X obj -41 320 select 7;
#X obj -76 659 outlet;
#X obj 189 143 s \$0-toggle-r;
#X obj 128 72 sel 0 1;
#X obj 126 50 r \$0-toggle;
#X msg 302 101 color \$1 \$1 -1;
#X msg 291 68 0;
#X msg 323 68 18;
#X msg 128 100 label OFF;
#X msg 210 101 label ON;
#X obj -1 535 *;
#X obj 4 119 hsl 52 10 4 0.25 1 0 blawhoof \$0-sliderinit empty -2
-8 0 10 -258113 -1 -1 0 1;
#X obj 14 511 r blawhoof;
#X floatatom 78 579 5 0 0 0 - - -;
#X obj 59 119 bng 10 250 50 0 ahr empty empty 17 7 0 10 -262144 -1
-1;
#X msg 55 166 1;
#X obj 53 199 s \$0-sliderinit;
#X obj 77 138 loadbang;
#X connect 0 0 1 0;
#X connect 0 0 29 0;
#X connect 1 0 10 0;
#X connect 2 0 6 0;
#X connect 2 0 7 0;
#X connect 2 1 6 1;
#X connect 3 0 2 0;
#X connect 4 0 10 1;
#X connect 5 1 8 0;
#X connect 6 0 5 0;
#X connect 7 0 6 0;
#X connect 7 0 0 2;
#X connect 8 0 9 0;
#X connect 9 0 0 0;
#X connect 9 1 4 0;
#X connect 10 0 27 0;
#X connect 11 0 40 0;
#X connect 12 0 40 0;
#X connect 13 0 40 0;
#X connect 14 0 40 0;
#X connect 15 0 40 0;
#X connect 16 0 40 0;
#X connect 17 0 40 0;
#X connect 18 0 40 0;
#X connect 19 0 20 0;
#X connect 20 0 21 0;
#X connect 20 0 31 0;
#X connect 22 0 23 0;
#X connect 23 0 26 0;
#X connect 23 0 30 0;
#X connect 24 0 19 0;
#X connect 24 0 25 0;
#X connect 25 0 23 3;
#X connect 26 0 28 0;
#X connect 27 0 11 1;
#X connect 27 1 12 1;
#X connect 27 2 13 1;
#X connect 27 3 14 1;
#X connect 27 4 15 1;
#X connect 27 5 16 1;
#X connect 27 6 17 1;
#X connect 27 7 18 1;
#X connect 28 0 11 0;
#X connect 28 1 12 0;
#X connect 28 2 13 0;
#X connect 28 3 14 0;
#X connect 28 4 15 0;
#X connect 28 5 16 0;
#X connect 28 6 17 0;
#X connect 28 7 18 0;
#X connect 29 0 0 2;
#X connect 30 0 23 2;
#X connect 33 0 38 0;
#X connect 33 0 36 0;
#X connect 33 1 39 0;
#X connect 33 1 37 0;
#X connect 34 0 33 0;
#X connect 35 0 32 0;
#X connect 36 0 35 0;
#X connect 37 0 35 0;
#X connect 38 0 32 0;
#X connect 39 0 32 0;
#X connect 40 0 19 1;
#X connect 42 0 40 1;
#X connect 42 0 43 0;
#X connect 44 0 45 0;
#X connect 45 0 46 0;
#X connect 47 0 45 0;
#X coords 0 -1 1 1 70 31 2 0 100;




 Subject: Re: [PD] Good sequencer patches for learning?
 To: puredata mailing list pd-list@iem.at
 Message-ID:
938e91080905140255s1fb81ad1j3f6d97f89257b...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 cheers, I will have a dig around your patches! I'll be interested to
 hear your 'grainstates' also, i always did like that reaktor patch
 when i used it.

 my plan for the tappable groove metro is not to use [metro] but to
 keep a variable table of times between output bangs. i hope to hook
 two drum pads to a [timer] based kind of bpm counter. one pad will
 input the downbeat times and the other the offbeat times (the usual
 decider in 'swing-factor').

 if that makes sense?!?

 clearly it's still not off the ground yet but i'll post it when it is!

 2009/5/11 martin brinkmann m...@martin-brinkmann.de:
  Solen Music wrote:
 
  I did mean step sequencer.
 
  i have allways been interested in step-sequencers, and made
  a few attempts to build a good one.
  of course i was not successfull in making the perfect
  step-sequencer... and i would not reccomend my creations for learning,
  since they are quite messy, and rather designed for my own needs,
  than for beeing 'good examples'. (i want things to be as self contained
  as possible (no abstractions), and 'hassel-free copy/pasteable')
  anyway, you can find some basics like the use of counters,
  select/route etc. also in my patches.
  www.martin-brinkmann.de, my_instruments, and i think the latest
  is called sequencers1.
 
  sequencer that runs off a tappable groove metro (to give the option of
  everything from rigid straight to super loose hand tapped swing).
 
  this sounds interresting. i 

Re: [PD] -nogui troubles on mac

2009-05-14 Thread hard off
yeah sorry, i tested on 0.42-5, and also on 0.41-4 and got the same thing.

your help on this issue is really appreciated iohannes, thanks.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Port-audio settings, and stability

2009-05-14 Thread peter hanley
hi,

I am building a interactive music interface with pd. on mac 10.5.3
firstly was wondering if anyone knew how to save port audio settings in pd? i'm 
going through firewire 410 to an m-audio driver to have 4speakers and have to 
input these setting everytime it opens.
Anyway to have it automatically?

and next problem is pd keeps quitting randomly when programme is running. does 
the same on different computers with newly downloaded versions of pd. must be 
my patch but have reduced it to basic and it still happens. using tuio.pd with 
reactivision and some simple tones and drum effects. any help would be 
appreciated.
Thanks,
Peter


Send instant messages to your online friends http://uk.messenger.yahoo.com ___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Good sequencer patches for learning?

2009-05-14 Thread Frank Barknecht
Hallo,
Solen Music hat gesagt: // Solen Music wrote:

 my plan for the tappable groove metro is not to use [metro] but to
 keep a variable table of times between output bangs. 

The RjDj library includes a c_multimetro.pd abstraction that accepts a list of
periods and cycles them. It also includes a modulo counter, so it doesn't 
produces bangs but numbers. 

Get it at http://trac.rjdj.me/wiki/RjLibnew

Ciao
-- 
Frank

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


Re: [PD] how to change the color of backgound...

2009-05-14 Thread Jack


Le 13 mai 09 à 09:08, IOhannes m zmoelnig a écrit :


Jaime Oliver wrote:

so each rendering chain starts with a gemhead, each of them have an
argument. the bigger the argument then it is rendered later.
so that:
gemhead 1
is rendered after
gemhead 0


hmm, while your explanation is right, your example is wrong.


[gemhead 2] will be rendered after [gemhead 1].
[gemhead 0] is equivalent to [gemhead] (without args), which  
actually translates to [gemhead 50].


the reason for this is to be able to easily insert [gemhead]s that  
are rendered _before_ the default gemhead (and _after_ as well).


of course, in theory the [gemhead] could check whether there are no  
arguments and handle this differently than when an argument 0 is  
present. but currently it doesn't do so.



everything written here is by heart, so i might be mistaken :-)

nevertheless, i would suggest to never use a rendering order of  
0, as it is a borderline case.


I don't know how many levels you can get although i usually see  
people

write 0-99...


the render-order is represented as floating point.
so 47.7 will be rendered after 47.69; and 2e-9 will be renderend  
before 1e8
for all practical purposes, this should give you an infinite  
number of levels.



the important thing to notice is that negative render-orders are  
treated somewhat differently:
- first of all they are always rendered _after_ positive orders.  
(that is: -1 will be rendered on top of 1000)

- negative render-orders will not be affected by view-point messages
(both of the above are like that to enable simple OSD overlays)

- iirc, negative orders are somehow reversed: that is -2 is  
rendered after -1 (even though -2 is smaller than -1)
Yes, and about this, there is a mistake in the help patch about  
[gemhead] :

example: 1 before 50 before -23 before -10
should be :
example: 1 before 50 before -10 before -23
No ?
++

Jack






mfg.asdr
IOhannes
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
listinfo/pd-list



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


Re: [PD] Implement pix_opencv and problems

2009-05-14 Thread Jack

You are on PowerPC or Intel ?
I gave full instructions for PowerPC :
http://hangar.org/wikis/lab/pd/opencv/INSTALL.macosx.ppc
This could help for Intel ? (really don't know)
++

Jack


Le 14 mai 09 à 06:04, philippe boisnard a écrit :


Hello

Thank you for your help.
Many difficulty to compile this, for a first time it's not very  
easy. I'll wait some times to test that, because I have an urgent  
project that I must complete before mid June.


thank you

p


Le 13 mai 09 à 11:15, IOhannes m zmoelnig a écrit :


hi

philippe boisnard wrote:

Hello

[...]

declared void
pix_opencv_edge.cpp:225: error: ‘t_class’ was not declared in  
this scope
pix_opencv_edge.cpp:225: error: ‘classPtr’ was not declared in  
this scope

pix_opencv_edge.cpp:226: error: expected ‘,’ or ‘;’ before ‘{’ token
pix_opencv_edge.cpp:230: error: ‘pix_opencv_edge’ has not been  
declared

pix_opencv_edge.cpp:230: error: ‘t_floatarg’ has not been declared
pix_opencv_edge.cpp: In function ‘void floatTreshMessCallback 
(void*, int)’:
pix_opencv_edge.cpp:232: error: ‘GetMyClass’ was not declared in  
this scope

make: *** [pix_opencv_edge.o] Error 1
3/ after this, I try to copy *.pd_darwin
cp: *.pd_darwin: No such file or directory


actually, before this, you should read what it says. error is  
usually connotated as something bad (indicating that something (in  
this case: compiling the code) has failed)


you should carefully look through all lines containing errors  
(it's a good idea to start at the top error, as the rest might  
just be a result of prior errors)


in your case: you seem to lack the development versions of opencv,  
Pd and Gem (you need header-files apart from the binary files).
the full code of Pd(-extended) and Gem can be downloaded via  
subversion (there should be info on this somewhere at http:// 
puredata.info)

how to obtain openCV i don't know, but google might help a lot.


famr
IOhannes




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



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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Hans-Christoph Steiner


Hey,

Let's keep these on list please.  That's an odd one, I use that all  
the time on Mac OS X and Ubuntu.  Which platform are you on?


.hc

On May 14, 2009, at 10:38 AM, brandon zeeb wrote:

The toggle shortcut key is still broken, on my machine, it will put  
a canvas on the page instead of a toggle.


~Brandon

On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner  
h...@at.or.at wrote:


Ok, so this thing is just about ready to release!  Please hammer on  
it, report any little bug or annoyance you might find to the bug  
tracker!  You can see some info about the included changes here:


http://puredata.info/dev/NextRelease

Windows and Debian/PowerPC builds coming soon

http://at.or.at/hans/pd/installers.html

.hc



Mistrust authority - promote decentralization.  - the hacker ethic



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







Using ReBirth is like trying to play an 808 with a long stick.- 
David Zicarelli



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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread brandon zeeb
Mac OS X 10.5 i386.  Has anyone else been seeing this?


On Thu, May 14, 2009 at 10:52 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 Hey,

 Let's keep these on list please.  That's an odd one, I use that all the
 time on Mac OS X and Ubuntu.  Which platform are you on?

 .hc

 On May 14, 2009, at 10:38 AM, brandon zeeb wrote:

 The toggle shortcut key is still broken, on my machine, it will put a
 canvas on the page instead of a toggle.

 ~Brandon

 On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 Ok, so this thing is just about ready to release!  Please hammer on it,
 report any little bug or annoyance you might find to the bug tracker!  You
 can see some info about the included changes here:

 http://puredata.info/dev/NextRelease

 Windows and Debian/PowerPC builds coming soon

 http://at.or.at/hans/pd/installers.html

 .hc


 

 Mistrust authority - promote decentralization.  - the hacker ethic



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






 

 Using ReBirth is like trying to play an 808 with a long stick.-David
 Zicarelli



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


Re: [PD] A question...

2009-05-14 Thread Simon Ball
Hi Ed, thanks for that. I have played around with using text files to write
co-ordinates to an array. However, what I need is more control of the
co-ordinates. In your example, whenever I bang the message to start the
animation, the 3D ball jumps back to the start and then replays the
animation (obviously!). But is it possible to have each animation start from
where the last one finished? Or better still, is it possible to manipulate
the co-ordinates dynamically? For example, if I record movement which gives
me three 'points' within the frame, can I write this to a table then apply
it to an animation?

I can see how the table arrays work (roughly!), but I want to be able to
manipulate the arrays based on user input (mouse, motion sensor etc). Does
this make sense?

Thanks again for all your time, the PD community in generally has been
really helpful, I think I'm just a few steps from being able to achieve what
I need, but when you're new to something, every hurdle's a big one!

Regards
Simon


On Fri, May 1, 2009 at 4:13 PM, morph_2...@yahoo.co.uk wrote:

 Hi Simon,

 To be honest, I didn't really understand your question at first. It pays to
 be clear - but I sometimes don't get an answer from the list either. If you
 make it clear early on that your question is about a specific object -
 perhaps in the subject line of your email, it may get a better response.

 You must realise that everything is just a way of storing and transmitting
 data - numbers and symbols. The co-ordinates you store in the array for
 splinepath are (floating point number) co-ordinates in the three-dimensional
 space of the gemwin. So the start and endpoints for your animations are
 specified by the first set of 3 co-ordinates and the last set of 3
 co-ordinates.
 The co-ordinates in GEM are relative to the centre of the space, so X=0,
 Y=0, Z=0 sent into a translateXYZ object will send another object (sphere,
 cube, rectangle etc) to the centre of the gem window. This is why the ball
 is always at the right-top-front corner of the example I sent you - because
 the numbers sent into the translateXYZ object are all positive. Change the
 40 to -40 in the attached PD patch.

 A word about arrays: an array is just a list of numbers really. Although it
 is displayed as a graph in PD, the input to [splinepath 3] takes three
 numbers from the array at a time, so the one-dimensional graph view in PD is
 quite useless for visualizing this. If the first set of co-ordinates is set
 to -1, -1, -1, the graph of the array will display this as a straight line,
 whereas in fact it is a single point in three dimensional space. So whereas
 a graph or a list of the array contents might show:
 -1,-1,-1,0,1,-0.5,2,2,0
 the actual structure being read by the [spline_path] object is:
 Point A: X=-1, Y=-1, Z=-1
 Point B: X=0,  Y=1, Z=-0.5
 Point C: X=2,  Y=2, Z=0

 Best of luck with it,
 Ed

 --- On Fri, 1/5/09, Simon Ball sballm...@googlemail.com wrote:

  From: Simon Ball sballm...@googlemail.com
  Subject: Re: A question...
  To: Ed Kelly morph_2...@yahoo.co.uk
  Date: Friday, 1 May, 2009, 10:12 AM
  Thanks Ed, that's definitely given
  me a clearer view of what spline path does, I certainly have
  more control now than I did previously. Is there a way to
  get more precise information to the table arrays, such as
  defining start and end points for the animation?
 
 
  I have put the question to the list, but I haven't had
  a response. Perhaps my e-mails are not getting through, but
  I imagine its either because people are bored of my
  questions or there is some obvious documentation that
  I'm missing. Are there any walk through's/tutorials
  on this kind of animation in GEM?
 
 
  Thanks again for your help, I think Andy is planning to get
  you in for another workshop at some point, which would be
  really useful. I've been getting more into PD so have a
  vast array of questions and should have a better
  understanding of the answers of the answers you give!
 
 
  Thanks again mate
  Simon
 
  On Thu, Apr 30, 2009 at 5:15 PM,
  Ed Kelly morph_2...@yahoo.co.uk
  wrote:
 
  Hi Simon...
 
 
 
  Apologies for the late reply. It is my understanding that
  [spline_path] interpolates between points in a table. These
  are read out in multiples, when a number between 0 and 1 is
  sent into the first inlet corresponding to the position in
  the table.
 
 
 
 
  These are at this stage just numbers. If they are sent to a
  translateXYZ object then they become position co-ordinates,
  or if they are sent to a rotateXYZ object they become
  rotation values in degrees.
 
 
 
  Since spline_path reads from a table, the values should be
  stored as triples: x, y and z co-ordinate values can be
  manipulated by tabwrite objects as long as they are input to
  the table in series (for each point x, then y, then z). Or
  if you just want to work in two dimensions, x and y
  co-ordinates stored as pairs will work. The table size must
  be divisible by the 

Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Phil Stone

Mac OS X 10.4 i386.  Cannot reproduce.


Phil


brandon zeeb wrote:

Mac OS X 10.5 i386.  Has anyone else been seeing this?


On Thu, May 14, 2009 at 10:52 AM, Hans-Christoph Steiner 
h...@at.or.at mailto:h...@at.or.at wrote:



Hey,

Let's keep these on list please.  That's an odd one, I use that
all the time on Mac OS X and Ubuntu.  Which platform are you on?

.hc

On May 14, 2009, at 10:38 AM, brandon zeeb wrote:


The toggle shortcut key is still broken, on my machine, it will
put a canvas on the page instead of a toggle.

~Brandon

On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner
h...@at.or.at mailto:h...@at.or.at wrote:


Ok, so this thing is just about ready to release!  Please
hammer on it, report any little bug or annoyance you might
find to the bug tracker!  You can see some info about the
included changes here:

http://puredata.info/dev/NextRelease

Windows and Debian/PowerPC builds coming soon

http://at.or.at/hans/pd/installers.html

.hc




Mistrust authority - promote decentralization.  - the hacker
ethic



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








Using ReBirth is like trying to play an 808 with a long stick.  
 -David Zicarelli






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



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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Hans-Christoph Steiner


I am on the same platform.  I've never

.hc

On May 14, 2009, at 10:56 AM, brandon zeeb wrote:


Mac OS X 10.5 i386.  Has anyone else been seeing this?


On Thu, May 14, 2009 at 10:52 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


Hey,

Let's keep these on list please.  That's an odd one, I use that all  
the time on Mac OS X and Ubuntu.  Which platform are you on?


.hc

On May 14, 2009, at 10:38 AM, brandon zeeb wrote:

The toggle shortcut key is still broken, on my machine, it will put  
a canvas on the page instead of a toggle.


~Brandon

On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


Ok, so this thing is just about ready to release!  Please hammer on  
it, report any little bug or annoyance you might find to the bug  
tracker!  You can see some info about the included changes here:


http://puredata.info/dev/NextRelease

Windows and Debian/PowerPC builds coming soon

http://at.or.at/hans/pd/installers.html

.hc



Mistrust authority - promote decentralization.  - the hacker ethic



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







Using ReBirth is like trying to play an 808 with a long stick.- 
David Zicarelli










The arc of history bends towards justice. - Dr. Martin Luther  
King, Jr.



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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread brandon zeeb
Ok.  Well, are the shortcut keys stored in a preference file?  Could a
previous installation of Pd be effecting my 0.41.4rc1 install?  I've cleared
my prefs directory...
~Brandon


On Thu, May 14, 2009 at 11:40 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 I am on the same platform.  I've never

 .hc

 On May 14, 2009, at 10:56 AM, brandon zeeb wrote:

 Mac OS X 10.5 i386.  Has anyone else been seeing this?


 On Thu, May 14, 2009 at 10:52 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 Hey,

 Let's keep these on list please.  That's an odd one, I use that all the
 time on Mac OS X and Ubuntu.  Which platform are you on?

 .hc

 On May 14, 2009, at 10:38 AM, brandon zeeb wrote:

 The toggle shortcut key is still broken, on my machine, it will put a
 canvas on the page instead of a toggle.

 ~Brandon

 On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 Ok, so this thing is just about ready to release!  Please hammer on it,
 report any little bug or annoyance you might find to the bug tracker!  You
 can see some info about the included changes here:

 http://puredata.info/dev/NextRelease

 Windows and Debian/PowerPC builds coming soon

 http://at.or.at/hans/pd/installers.html

 .hc


 

 Mistrust authority - promote decentralization.  - the hacker ethic



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






 

 Using ReBirth is like trying to play an 808 with a long stick.-David
 Zicarelli







 

 The arc of history bends towards justice. - Dr. Martin Luther King, Jr.



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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread brandon zeeb
In fact, both Shift-Cmd-T and Shift-Cmd-C create a canvas.  I re-cleared my
preferences directory and tried again, I can reproduce this every time.

~brandon

On Thu, May 14, 2009 at 11:44 AM, brandon zeeb zeeb.bran...@gmail.comwrote:

 Ok.  Well, are the shortcut keys stored in a preference file?  Could a
 previous installation of Pd be effecting my 0.41.4rc1 install?  I've cleared
 my prefs directory...
 ~Brandon



 On Thu, May 14, 2009 at 11:40 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 I am on the same platform.  I've never

 .hc

 On May 14, 2009, at 10:56 AM, brandon zeeb wrote:

 Mac OS X 10.5 i386.  Has anyone else been seeing this?


 On Thu, May 14, 2009 at 10:52 AM, Hans-Christoph Steiner 
 h...@at.or.atwrote:


 Hey,

 Let's keep these on list please.  That's an odd one, I use that all the
 time on Mac OS X and Ubuntu.  Which platform are you on?

 .hc

 On May 14, 2009, at 10:38 AM, brandon zeeb wrote:

 The toggle shortcut key is still broken, on my machine, it will put a
 canvas on the page instead of a toggle.

 ~Brandon

 On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner 
 h...@at.or.atwrote:


 Ok, so this thing is just about ready to release!  Please hammer on it,
 report any little bug or annoyance you might find to the bug tracker!  You
 can see some info about the included changes here:

 http://puredata.info/dev/NextRelease

 Windows and Debian/PowerPC builds coming soon

 http://at.or.at/hans/pd/installers.html

 .hc


 

 Mistrust authority - promote decentralization.  - the hacker ethic



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






 

 Using ReBirth is like trying to play an 808 with a long stick.-David
 Zicarelli







 

 The arc of history bends towards justice. - Dr. Martin Luther King,
 Jr.




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


Re: [PD] Port-audio settings, and stability

2009-05-14 Thread Hans-Christoph Steiner


I created an object to make it easy to store these settings in your  
patch. Its included in the latest Pd-extended test release, or I  
posted it on this list a while back.  Its called [get-audio-dialog].


.hc

On May 14, 2009, at 9:15 AM, peter hanley wrote:


hi,

I am building a interactive music interface with pd. on mac 10.5.3
firstly was wondering if anyone knew how to save port audio settings  
in pd? i'm going through firewire 410 to an m-audio driver to have  
4speakers and have to input these setting everytime it opens.

Anyway to have it automatically?

and next problem is pd keeps quitting randomly when programme is  
running. does the same on different computers with newly downloaded  
versions of pd. must be my patch but have reduced it to basic and it  
still happens. using tuio.pd with reactivision and some simple tones  
and drum effects. any help would be appreciated.

Thanks,
Peter

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___

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






[W]e have invented the technology to eliminate scarcity, but we are  
deliberately throwing it away to benefit those who profit from  
scarcity.-John Gilmore



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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Hans-Christoph Steiner


That's a very odd bug.  I can't reproduce it.  If you want, post a bug  
report to the tracker.  Please include as much detail as possible.


.hc

On May 14, 2009, at 11:48 AM, brandon zeeb wrote:

In fact, both Shift-Cmd-T and Shift-Cmd-C create a canvas.  I re- 
cleared my preferences directory and tried again, I can reproduce  
this every time.


~brandon

On Thu, May 14, 2009 at 11:44 AM, brandon zeeb  
zeeb.bran...@gmail.com wrote:
Ok.  Well, are the shortcut keys stored in a preference file?  Could  
a previous installation of Pd be effecting my 0.41.4rc1 install?   
I've cleared my prefs directory...

~Brandon



On Thu, May 14, 2009 at 11:40 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


I am on the same platform.  I've never

.hc

On May 14, 2009, at 10:56 AM, brandon zeeb wrote:


Mac OS X 10.5 i386.  Has anyone else been seeing this?


On Thu, May 14, 2009 at 10:52 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


Hey,

Let's keep these on list please.  That's an odd one, I use that all  
the time on Mac OS X and Ubuntu.  Which platform are you on?


.hc

On May 14, 2009, at 10:38 AM, brandon zeeb wrote:

The toggle shortcut key is still broken, on my machine, it will  
put a canvas on the page instead of a toggle.


~Brandon

On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


Ok, so this thing is just about ready to release!  Please hammer  
on it, report any little bug or annoyance you might find to the  
bug tracker!  You can see some info about the included changes here:


http://puredata.info/dev/NextRelease

Windows and Debian/PowerPC builds coming soon

http://at.or.at/hans/pd/installers.html

.hc



Mistrust authority - promote decentralization.  - the hacker ethic



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







Using ReBirth is like trying to play an 808 with a long stick.- 
David Zicarelli










The arc of history bends towards justice. - Dr. Martin Luther  
King, Jr.










Access to computers should be unlimited and total.  - the hacker ethic


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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread brandon zeeb
Will do.  Are there any other relevant bits of information I can provide
(system information, dumps, logs, etc) with the ticket to help track down
this issue?

~b

On Thu, May 14, 2009 at 12:00 PM, Hans-Christoph Steiner h...@at.or.atwrote:


 That's a very odd bug.  I can't reproduce it.  If you want, post a bug
 report to the tracker.  Please include as much detail as possible.

 .hc

 On May 14, 2009, at 11:48 AM, brandon zeeb wrote:

 In fact, both Shift-Cmd-T and Shift-Cmd-C create a canvas.  I re-cleared my
 preferences directory and tried again, I can reproduce this every time.

 ~brandon

 On Thu, May 14, 2009 at 11:44 AM, brandon zeeb zeeb.bran...@gmail.comwrote:

 Ok.  Well, are the shortcut keys stored in a preference file?  Could a
 previous installation of Pd be effecting my 0.41.4rc1 install?  I've cleared
 my prefs directory...
 ~Brandon



 On Thu, May 14, 2009 at 11:40 AM, Hans-Christoph Steiner 
 h...@at.or.atwrote:


 I am on the same platform.  I've never

 .hc

 On May 14, 2009, at 10:56 AM, brandon zeeb wrote:

 Mac OS X 10.5 i386.  Has anyone else been seeing this?


 On Thu, May 14, 2009 at 10:52 AM, Hans-Christoph Steiner 
 h...@at.or.atwrote:


 Hey,

 Let's keep these on list please.  That's an odd one, I use that all the
 time on Mac OS X and Ubuntu.  Which platform are you on?

 .hc

 On May 14, 2009, at 10:38 AM, brandon zeeb wrote:

 The toggle shortcut key is still broken, on my machine, it will put a
 canvas on the page instead of a toggle.

 ~Brandon

 On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner 
 h...@at.or.atwrote:


 Ok, so this thing is just about ready to release!  Please hammer on it,
 report any little bug or annoyance you might find to the bug tracker!  You
 can see some info about the included changes here:

 http://puredata.info/dev/NextRelease

 Windows and Debian/PowerPC builds coming soon

 http://at.or.at/hans/pd/installers.html

 .hc


 

 Mistrust authority - promote decentralization.  - the hacker ethic



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






 

 Using ReBirth is like trying to play an 808 with a long stick.-David
 Zicarelli







 

 The arc of history bends towards justice. - Dr. Martin Luther King,
 Jr.







 

 Access to computers should be unlimited and total.  - the hacker ethic



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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Hans-Christoph Steiner


Its always good to provide the full OS version and full Pd version.   
Ideally, there are also a short series of steps to reproduce the  
problem.  That's the tricky part here.


Speaking of, anyone here good at web development stuff?  I think it  
shouldn't be hard to have the Help-Browser-report bug  include lots  
of info automatically.  I can handle the Tcl side, I just don't know  
the web side at all.  Maybe Tcl would open a local page that has a bit  
of javascript which would then open the sourceforge bug report and  
fill in the form.  I did a test of that a while back, you can use  
javascript to fill in the forms on the sourceforge page.


.hc

On May 14, 2009, at 12:02 PM, brandon zeeb wrote:

Will do.  Are there any other relevant bits of information I can  
provide (system information, dumps, logs, etc) with the ticket to  
help track down this issue?


~b

On Thu, May 14, 2009 at 12:00 PM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


That's a very odd bug.  I can't reproduce it.  If you want, post a  
bug report to the tracker.  Please include as much detail as possible.


.hc

On May 14, 2009, at 11:48 AM, brandon zeeb wrote:

In fact, both Shift-Cmd-T and Shift-Cmd-C create a canvas.  I re- 
cleared my preferences directory and tried again, I can reproduce  
this every time.


~brandon

On Thu, May 14, 2009 at 11:44 AM, brandon zeeb zeeb.bran...@gmail.com 
 wrote:
Ok.  Well, are the shortcut keys stored in a preference file?   
Could a previous installation of Pd be effecting my 0.41.4rc1  
install?  I've cleared my prefs directory...

~Brandon



On Thu, May 14, 2009 at 11:40 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


I am on the same platform.  I've never

.hc

On May 14, 2009, at 10:56 AM, brandon zeeb wrote:


Mac OS X 10.5 i386.  Has anyone else been seeing this?


On Thu, May 14, 2009 at 10:52 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


Hey,

Let's keep these on list please.  That's an odd one, I use that  
all the time on Mac OS X and Ubuntu.  Which platform are you on?


.hc

On May 14, 2009, at 10:38 AM, brandon zeeb wrote:

The toggle shortcut key is still broken, on my machine, it will  
put a canvas on the page instead of a toggle.


~Brandon

On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


Ok, so this thing is just about ready to release!  Please hammer  
on it, report any little bug or annoyance you might find to the  
bug tracker!  You can see some info about the included changes  
here:


http://puredata.info/dev/NextRelease

Windows and Debian/PowerPC builds coming soon

http://at.or.at/hans/pd/installers.html

.hc



Mistrust authority - promote decentralization.  - the hacker ethic



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







Using ReBirth is like trying to play an 808 with a long stick.- 
David Zicarelli










The arc of history bends towards justice. - Dr. Martin Luther  
King, Jr.










Access to computers should be unlimited and total.  - the hacker ethic











'You people have such restrictive dress for women,’ she said, hobbling  
away in three inch heels and panty hose to finish out another pink- 
collar temp pool day.  - “Hijab Scene #2, by Mohja Kahf



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


[PD] VASP troubles on extended 0.40.3

2009-05-14 Thread Ed Kelly

Hello,

Every time I try to use a vasp object, it crashes Pd. I've tried recompiling...

tk scaling is 1.44534291704
*** glibc detected *** /usr/bin/pd: free(): invalid pointer: 0x09edaf14 ***
=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6[0xb7e45454]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb7e474b6]
/usr/lib/pd/extra/vasp.pd_linux(_ZN16flext_root_multidlEPv+0x32)[0xb600b764]
/usr/lib/pd/extra/vasp.pd_linux(_ZN11flext_multi8AtomList4FreeEv+0x25)[0xb600b995]
/usr/lib/pd/extra/vasp.pd_linux(_ZN11flext_multi8AtomListD0Ev+0x29)[0xb600ba29]
/usr/lib/pd/extra/vasp.pd_linux(_ZN9vasp_base9ToOutVaspEiR4Vasp+0x69)[0xb5fe0043]
/usr/lib/pd/extra/vasp.pd_linux(_ZN7vasp_tx6m_bangEv+0x61)[0xb5fe00dd]
/usr/lib/pd/extra/vasp.pd_linux(_ZN7vasp_op8m_dobangEv+0x5f)[0xb5fdffbf]
/usr/lib/pd/extra/vasp.pd_linux(_ZN7vasp_op6m_vaspEiPK5_atom+0x28)[0xb5fdf8d8]
/usr/lib/pd/extra/vasp.pd_linux[0xb5fe12b8]
/usr/lib/pd/extra/vasp.pd_linux(_ZN16flext_base_multi10TryMethTagEPNS_4ItemEPK7_symboliPK5_atom+0x1cd)[0xb60127c7]
/usr/lib/pd/extra/vasp.pd_linux(_ZN16flext_base_multi8FindMethEiPK7_symboliPK5_atom+0x6b)[0xb6012971]
/usr/lib/pd/extra/vasp.pd_linux(_ZN16flext_base_multi15CbMethodHandlerEiPK7_symboliPK5_atom+0x43)[0xb6012a9d]
/usr/lib/pd/extra/vasp.pd_linux(_ZN16flext_base_multi11cb_anythingEP9flext_hdrPK7_symboliP5_atom+0x43)[0xb60130b5]
/usr/bin/pd(pd_typedmess+0x26b)[0x80afb2b]
=== Memory map: 
08048000-08128000 r-xp  08:15 889688 /usr/bin/pd
08128000-08129000 r--p 000df000 08:15 889688 /usr/bin/pd
08129000-0812a000 rw-p 000e 08:15 889688 /usr/bin/pd
0812a000-0853b000 rw-p 0812a000 00:00 0 
09de2000-09edc000 rw-p 09de2000 00:00 0  [heap]
b3e4-b3e97000 rw-p b3e4 00:00 0 
b3e97000-b3fff000 r-xp  08:15 887130 /usr/lib/libsamplerate.so.0.1.3
b3fff000-b400 r--p 00167000 08:15 887130 /usr/lib/libsamplerate.so.0.1.3
b400-b4001000 rw-p 00168000 08:15 887130 /usr/lib/libsamplerate.so.0.1.3
b4001000-b40dd000 r-xp  08:15 887952 /usr/lib/libfftw3f.so.3.1.2
b40dd000-b40e3000 r--p 000dc000 08:15 887952 /usr/lib/libfftw3f.so.3.1.2
b40e3000-b40e4000 rw-p 000e2000 08:15 887952 /usr/lib/libfftw3f.so.3.1.2
b40e4000-b40f r-xp  08:15 889570 /usr/lib/libaubio.so.2.1.1
b40f-b40f1000 rw-p b000 08:15 889570 /usr/lib/libaubio.so.2.1.1
b410f000-b415f000 r-xp  08:15 887999 /usr/lib/libImlib2.so.1.4.0
b415f000-b416 r--p 0004f000 08:15 887999 /usr/lib/libImlib2.so.1.4.0
b416-b4161000 rw-p 0005 08:15 887999 /usr/lib/libImlib2.so.1.4.0
b4161000-b4175000 rw-p b4161000 00:00 0 
b4175000-b41b7000 r-xp  08:15 886902 /usr/lib/libmp3lame.so.0.0.0
b41b7000-b41b9000 rw-p 00042000 08:15 886902 /usr/lib/libmp3lame.so.0.0.0
b41b9000-b41ea000 rw-p b41b9000 00:00 0 
b41ea000-b41f5000 r-xp  08:15 887233 /usr/lib/libvorbisenc.so.2.0.3
b41f5000-b41f6000 r--p a000 08:15 887233 /usr/lib/libvorbisenc.so.2.0.3
b41f6000-b42e4000 rw-p b000 08:15 887233 /usr/lib/libvorbisenc.so.2.0.3
b42e4000-b42ff000 r-xp  08:15 887231 /usr/lib/libvorbis.so.0.4.0
b42ff000-b430 r--p 0001a000 08:15 887231 /usr/lib/libvorbis.so.0.4.0
b430-b430e000 rw-p 0001b000 08:15 887231 /usr/lib/libvorbis.so.0.4.0
b430e000-b4357000 r-xp  08:15 887199 /usr/lib/libtheora.so.0.3.3
b4357000-b4359000 rw-p 00049000 08:15 887199 /usr/lib/libtheora.so.0.3.3
b4359000-b43c4000 r-xp  08:15 1076527
/usr/lib/pd/extra/pidip.pd_linux
b43c4000-b43c5000 r--p 0006a000 08:15 1076527
/usr/lib/pd/extra/pidip.pd_linux
b43c5000-b43c7000 rw-p 0006b000 08:15 1076527
/usr/lib/pd/extra/pidip.pd_linux
b43c7000-b43cc000 rw-p b43c7000 00:00 0 
b43cc000-b43cd000 ---p b43cc000 00:00 0 
b43cd000-b4bcd000 rwxp b43cd000 00:00 0 
b4bcd000-b4da r-xp  08:15 886766 /usr/lib/libgsl.so.0.12.0
b4da-b4da9000 rw-p 001d3000 08:15 886766 /usr/lib/libgsl.so.0.12.0
b4da9000-b4de r-xp  08:15 886768 /usr/lib/libgslcblas.so.0.0.0
b4de-b4de2000 rw-p 00036000 08:15 886768 /usr/lib/libgslcblas.so.0.0.0
b4deb000-b4dee000 r-xp  08:15 1076558
/usr/lib/pd/extra/aubio.pd_linux
b4dee000-b4def000 rw-p 2000 08:15 1076558
/usr/lib/pd/extra/aubio.pd_linux
b4def000-b4e0 r--p  08:15 1017319
/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf
b4e0-b4e21000 rw-p b4e0 00:00 0 
b4e21000-b4f0 ---p b4e21000 00:00 0 
b4f08000-b4f17000 r-xp  08:15 1097766/lib/libbz2.so.1.0.4
b4f17000-b4f18000 r--p f000 08:15 1097766/lib/libbz2.so.1.0.4
b4f18000-b4f19000 rw-p 0001 08:15 1097766/lib/libbz2.so.1.0.4
b4f19000-b4f5b000 r-xp  08:15 1076508/usr/lib/pd/extra/pdp.pd_linux
b4f5b000-b4f5c000 r--p 00041000 08:15 1076508/usr/lib/pd/extra/pdp.pd_linux
b4f5c000-b4f5d000 rw-p 00042000 08:15 1076508/usr/lib/pd/extra/pdp.pd_linux
b4f5dPd: signal 6
^csynchr...@synchroma:~/scripts$ 

Ed

Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Hector Centeno
Is there a URL for downloading this version's source? I'm using
OpenSuse 11.1 so I have to build it from scratch. By the way, does
anyone know about an OpenSuse repository for PD? Probably there are
not enough resources already but is there any chance of including
OpenSuse in the building farms?

Cheers,

Hector


On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner h...@at.or.at wrote:

 Ok, so this thing is just about ready to release!  Please hammer on it,
 report any little bug or annoyance you might find to the bug tracker!  You
 can see some info about the included changes here:

 http://puredata.info/dev/NextRelease

 Windows and Debian/PowerPC builds coming soon

 http://at.or.at/hans/pd/installers.html

 .hc

 

 Mistrust authority - promote decentralization.  - the hacker ethic



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


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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Hans-Christoph Steiner


I don't know SUSE at all, so I won't set it up, but I am happy to help  
someone else get the builds running on a SUSE machine.  Do you have  
one to offer?  It doesn't need to be fast, just working.  Most of the  
build farm are 733Mhz machines from '98, for example. :)  Also, it  
would be good if you documented the build process on the wiki so  
others can follow it:


http://puredata.info/docs/developer/FrontPage/createform?page=SUSE

You can see the Debian or Fedora page for an example:

http://puredata.info/docs/developer/Debian
http://puredata.info/docs/developer/Fedora

As for a source tarball, I haven't made one... but you can get the  
whole thing from svn easily enough:


svn co 
https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.41

.hc

On May 14, 2009, at 3:26 PM, Hector Centeno wrote:


Is there a URL for downloading this version's source? I'm using
OpenSuse 11.1 so I have to build it from scratch. By the way, does
anyone know about an OpenSuse repository for PD? Probably there are
not enough resources already but is there any chance of including
OpenSuse in the building farms?

Cheers,

Hector


On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner  
h...@at.or.at wrote:


Ok, so this thing is just about ready to release!  Please hammer on  
it,
report any little bug or annoyance you might find to the bug  
tracker!  You

can see some info about the included changes here:

http://puredata.info/dev/NextRelease

Windows and Debian/PowerPC builds coming soon

http://at.or.at/hans/pd/installers.html

.hc



Mistrust authority - promote decentralization.  - the hacker ethic



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







All information should be free.  - the hacker ethic





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


Re: [PD] preventing comport freezes

2009-05-14 Thread Hans-Christoph Steiner


On May 9, 2009, at 2:43 PM, Martin Peach wrote:


Roman Haefeli wrote:

thanks for the info.
On Fri, 2009-05-08 at 19:27 +, martin.pe...@sympatico.ca wrote:

just out of curiosity: if there is a solution, that works well for
[tcpserver], couldn't it be applied also to [comport]?


Maybe. But I think you should be able to use [comport] with no
hardware handshaking enabled and send data even if no cable is
attached. Sometimes the absence of one of the two input handshake
signals prevents the serial hardware from sending. Also if an error
occurred in the reception of serial data it may not be handled
properly in [comport]. So I'm not sure what is causing this  
particular

crash, since HC said that it happened when the remote device was
disconnected but gave no further detail.
iirc, on linux at least, [comport] makes pd hang, _whenever_ the  
other

end disappears. i.e.:
- pulling out the usb-cable, while the arduino is connected
- turning off an rfcomm device



This looks like something related to the usb interface. I think  
pulling out an RS-232 cable has no effect, as the serial driver can  
only be closed by [comport]. With a usb adapter the usb driver can  
close the port.
I suspect that the comport_tick routine, which is called  
periodically to check for received characters, tries to access the  
serial port after the usb driver has closed it.

The non-Windows code in comport_tick looks like this:

unsigned char   serial_byte;
fd_set  com_rfds;
int count = 0;

FD_ZERO(com_rfds);
FD_SET(fd,com_rfds);

while((err=select(fd+1,com_rfds,NULL,NULL,null_tv))  0)
{
   err = read(fd,(char *) serial_byte,1);
   outlet_float(x-x_data_outlet, (t_float) serial_byte);
   ++count;
}

As you can see the select call only checks for the presence of  
received characters with com_rfds, and doesn't check the write or  
exception status. I suppose the select call should also check the  
exception fd_set, as the usb driver has no other way of informing  
[comport] that it has closed the port, it should have flagged it  
there.
(Although if the fd itself is no longer valid I don't know what to  
do...using non-existent file descriptors is a good way to crash Pd)


ATM I only have 'legacy' RS-232 ports on my hardware so I can't test  
it, but I can change the code.


Martin



Ok, quick test shows a couple things:

- just using [comport 1 115200] and then yanking the USB out causes  
the crash, so no data needs to be sent to cause this.  This is with a  
standard Arduino USB.


- in the select() that you highlight, it is just testing before  
reading, so I am guessing it would not be so useful to do a write test  
if it is only going to read().


.hc





All mankind is of one author, and is one volume; when one man dies,  
one chapter is not torn out of the book, but translated into a better  
language; and every chapter must be so translated -John Donne




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


Re: [PD] [PD-announce] Pd 0.42-5 released

2009-05-14 Thread IOhannes m zmölnig

Miller Puckette wrote:

Pd version 0.42-5 is ready:

http://crca.ucsd.edu/~msp/software.htm

or via svn:
svn checkout https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/pd/

Bug fixes: abs~, log~, pd~ -ninsig 0.

The 32 channel limit for ASIO and on Mac is no longer imposed.


would it also be possible to at least raise the max jack-ports to at 
least 64?



it's so boring to work with madi cards with 32 channels?


ideally you would accept my jack fixes (in the patch tracker) with _not_ 
   1024 porrts (which seems to make problems) but e.g.  128 ports



mfgb.trse
IOhannes

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


Re: [PD] preventing comport freezes

2009-05-14 Thread Martin Peach

Hans-Christoph Steiner wrote:


On May 9, 2009, at 2:43 PM, Martin Peach wrote:


Roman Haefeli wrote:

thanks for the info.
On Fri, 2009-05-08 at 19:27 +, martin.pe...@sympatico.ca wrote:

just out of curiosity: if there is a solution, that works well for
[tcpserver], couldn't it be applied also to [comport]?


Maybe. But I think you should be able to use [comport] with no
hardware handshaking enabled and send data even if no cable is
attached. Sometimes the absence of one of the two input handshake
signals prevents the serial hardware from sending. Also if an error
occurred in the reception of serial data it may not be handled
properly in [comport]. So I'm not sure what is causing this particular
crash, since HC said that it happened when the remote device was
disconnected but gave no further detail.

iirc, on linux at least, [comport] makes pd hang, _whenever_ the other
end disappears. i.e.:
- pulling out the usb-cable, while the arduino is connected
- turning off an rfcomm device



This looks like something related to the usb interface. I think 
pulling out an RS-232 cable has no effect, as the serial driver can 
only be closed by [comport]. With a usb adapter the usb driver can 
close the port.
I suspect that the comport_tick routine, which is called periodically 
to check for received characters, tries to access the serial port 
after the usb driver has closed it.

The non-Windows code in comport_tick looks like this:

unsigned char   serial_byte;
fd_set  com_rfds;
int count = 0;

FD_ZERO(com_rfds);
FD_SET(fd,com_rfds);

while((err=select(fd+1,com_rfds,NULL,NULL,null_tv))  0)
{
   err = read(fd,(char *) serial_byte,1);
   outlet_float(x-x_data_outlet, (t_float) serial_byte);
   ++count;
}

As you can see the select call only checks for the presence of 
received characters with com_rfds, and doesn't check the write or 
exception status. I suppose the select call should also check the 
exception fd_set, as the usb driver has no other way of informing 
[comport] that it has closed the port, it should have flagged it there.
(Although if the fd itself is no longer valid I don't know what to 
do...using non-existent file descriptors is a good way to crash Pd)


ATM I only have 'legacy' RS-232 ports on my hardware so I can't test 
it, but I can change the code.


Martin



Ok, quick test shows a couple things:

- just using [comport 1 115200] and then yanking the USB out causes the 
crash, so no data needs to be sent to cause this.  This is with a 
standard Arduino USB.




So the crash most likely occurs when comport_tick is called by the timer.

- in the select() that you highlight, it is just testing before reading, 
so I am guessing it would not be so useful to do a write test if it is 
only going to read().




The write test is not needed, but I was thinking that the third possible 
test, the exception test, might give useful info, unless the file 
descriptor has already become invalid, in which case I don't know what 
to do about it, since using a dead file descriptor is usually lethal and 
probably is what is causing the crash.

How does [hid] react to unplugging of the device?

Martin

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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Hector Centeno
OK, it seems that I got it to build in OpenSuse 11.1 and it seems that
it was much less effort than when I did it on OpenSuse 11. I only had
to hack one of the make files (the one for tclpd). Now the problems
I'm having are:

PiDiP : additional video processing objects for PDP
version 0.12.23 ( ydego...@free.fr )
error: [pdp_text] error: could not load default font, no text rendering!
install Bitstream Vera, it's free! (http://www.gnome.org/fonts/)
error: [pdp_qtext] error: could not load default font, no text rendering!
install Bitstream Vera, it's free! (http://www.gnome.org/fonts/)

I have Bitstream Vera installed in /usr/share/fonts/truetype, do I
have to copy them somewhere else?

Also the font in in the pd gui is too big so the text entered inside
the objects doesn't fit inside the object boxes.

Once I have this things sorted out I will post in the pd wiki a short
review about building pd in OpenSuse including a list of required
packages.

Cheers,

Hector


On Thu, May 14, 2009 at 3:41 PM, Hans-Christoph Steiner h...@at.or.at wrote:

 I don't know SUSE at all, so I won't set it up, but I am happy to help
 someone else get the builds running on a SUSE machine.  Do you have one to
 offer?  It doesn't need to be fast, just working.  Most of the build farm
 are 733Mhz machines from '98, for example. :)  Also, it would be good if you
 documented the build process on the wiki so others can follow it:

 http://puredata.info/docs/developer/FrontPage/createform?page=SUSE

 You can see the Debian or Fedora page for an example:

 http://puredata.info/docs/developer/Debian
 http://puredata.info/docs/developer/Fedora

 As for a source tarball, I haven't made one... but you can get the whole
 thing from svn easily enough:

 svn co
 https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.41

 .hc

 On May 14, 2009, at 3:26 PM, Hector Centeno wrote:

 Is there a URL for downloading this version's source? I'm using
 OpenSuse 11.1 so I have to build it from scratch. By the way, does
 anyone know about an OpenSuse repository for PD? Probably there are
 not enough resources already but is there any chance of including
 OpenSuse in the building farms?

 Cheers,

 Hector


 On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner h...@at.or.at
 wrote:

 Ok, so this thing is just about ready to release!  Please hammer on it,
 report any little bug or annoyance you might find to the bug tracker!
  You
 can see some info about the included changes here:

 http://puredata.info/dev/NextRelease

 Windows and Debian/PowerPC builds coming soon

 http://at.or.at/hans/pd/installers.html

 .hc


 

 Mistrust authority - promote decentralization.  - the hacker ethic



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




 

 All information should be free.  - the hacker ethic






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


[PD] syncgrain~ for macosx 10.5 anywhere?

2009-05-14 Thread Sebastian Saa
Hello , Did anybody had any sucess compiling syngrain~ for intel mac? Is there 
any compiled file somebody would like to share? 

thanks

S.



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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Hector Centeno
OK, I tried setting the font size using the -font-size flag but even
with small font somehow the size of the object box doesn't scale
properly and the text still sticks out. Also I'm getting this error in
the terminal:

can't find package base64

Thanks,

Hector


On Thu, May 14, 2009 at 9:01 PM, Hector Centeno hcen...@gmail.com wrote:
 OK, it seems that I got it to build in OpenSuse 11.1 and it seems that
 it was much less effort than when I did it on OpenSuse 11. I only had
 to hack one of the make files (the one for tclpd). Now the problems
 I'm having are:

 PiDiP : additional video processing objects for PDP
        version 0.12.23 ( ydego...@free.fr )
 error: [pdp_text] error: could not load default font, no text rendering!
        install Bitstream Vera, it's free! (http://www.gnome.org/fonts/)
 error: [pdp_qtext] error: could not load default font, no text rendering!
        install Bitstream Vera, it's free! (http://www.gnome.org/fonts/)

 I have Bitstream Vera installed in /usr/share/fonts/truetype, do I
 have to copy them somewhere else?

 Also the font in in the pd gui is too big so the text entered inside
 the objects doesn't fit inside the object boxes.

 Once I have this things sorted out I will post in the pd wiki a short
 review about building pd in OpenSuse including a list of required
 packages.

 Cheers,

 Hector


 On Thu, May 14, 2009 at 3:41 PM, Hans-Christoph Steiner h...@at.or.at wrote:

 I don't know SUSE at all, so I won't set it up, but I am happy to help
 someone else get the builds running on a SUSE machine.  Do you have one to
 offer?  It doesn't need to be fast, just working.  Most of the build farm
 are 733Mhz machines from '98, for example. :)  Also, it would be good if you
 documented the build process on the wiki so others can follow it:

 http://puredata.info/docs/developer/FrontPage/createform?page=SUSE

 You can see the Debian or Fedora page for an example:

 http://puredata.info/docs/developer/Debian
 http://puredata.info/docs/developer/Fedora

 As for a source tarball, I haven't made one... but you can get the whole
 thing from svn easily enough:

 svn co
 https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.41

 .hc

 On May 14, 2009, at 3:26 PM, Hector Centeno wrote:

 Is there a URL for downloading this version's source? I'm using
 OpenSuse 11.1 so I have to build it from scratch. By the way, does
 anyone know about an OpenSuse repository for PD? Probably there are
 not enough resources already but is there any chance of including
 OpenSuse in the building farms?

 Cheers,

 Hector


 On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner h...@at.or.at
 wrote:

 Ok, so this thing is just about ready to release!  Please hammer on it,
 report any little bug or annoyance you might find to the bug tracker!
  You
 can see some info about the included changes here:

 http://puredata.info/dev/NextRelease

 Windows and Debian/PowerPC builds coming soon

 http://at.or.at/hans/pd/installers.html

 .hc


 

 Mistrust authority - promote decentralization.  - the hacker ethic



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




 

 All information should be free.  - the hacker ethic







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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Hector Centeno
base64 problem solved. The package tcllib was needed. The only prblems
left are with pdip not finding the fonts and with the text sticking
out of the object boxes.

Cheers,

Hector


On Thu, May 14, 2009 at 9:14 PM, Hector Centeno hcen...@gmail.com wrote:
 OK, I tried setting the font size using the -font-size flag but even
 with small font somehow the size of the object box doesn't scale
 properly and the text still sticks out. Also I'm getting this error in
 the terminal:

 can't find package base64

 Thanks,

 Hector


 On Thu, May 14, 2009 at 9:01 PM, Hector Centeno hcen...@gmail.com wrote:
 OK, it seems that I got it to build in OpenSuse 11.1 and it seems that
 it was much less effort than when I did it on OpenSuse 11. I only had
 to hack one of the make files (the one for tclpd). Now the problems
 I'm having are:

 PiDiP : additional video processing objects for PDP
        version 0.12.23 ( ydego...@free.fr )
 error: [pdp_text] error: could not load default font, no text rendering!
        install Bitstream Vera, it's free! (http://www.gnome.org/fonts/)
 error: [pdp_qtext] error: could not load default font, no text rendering!
        install Bitstream Vera, it's free! (http://www.gnome.org/fonts/)

 I have Bitstream Vera installed in /usr/share/fonts/truetype, do I
 have to copy them somewhere else?

 Also the font in in the pd gui is too big so the text entered inside
 the objects doesn't fit inside the object boxes.

 Once I have this things sorted out I will post in the pd wiki a short
 review about building pd in OpenSuse including a list of required
 packages.

 Cheers,

 Hector


 On Thu, May 14, 2009 at 3:41 PM, Hans-Christoph Steiner h...@at.or.at 
 wrote:

 I don't know SUSE at all, so I won't set it up, but I am happy to help
 someone else get the builds running on a SUSE machine.  Do you have one to
 offer?  It doesn't need to be fast, just working.  Most of the build farm
 are 733Mhz machines from '98, for example. :)  Also, it would be good if you
 documented the build process on the wiki so others can follow it:

 http://puredata.info/docs/developer/FrontPage/createform?page=SUSE

 You can see the Debian or Fedora page for an example:

 http://puredata.info/docs/developer/Debian
 http://puredata.info/docs/developer/Fedora

 As for a source tarball, I haven't made one... but you can get the whole
 thing from svn easily enough:

 svn co
 https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.41

 .hc

 On May 14, 2009, at 3:26 PM, Hector Centeno wrote:

 Is there a URL for downloading this version's source? I'm using
 OpenSuse 11.1 so I have to build it from scratch. By the way, does
 anyone know about an OpenSuse repository for PD? Probably there are
 not enough resources already but is there any chance of including
 OpenSuse in the building farms?

 Cheers,

 Hector


 On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner h...@at.or.at
 wrote:

 Ok, so this thing is just about ready to release!  Please hammer on it,
 report any little bug or annoyance you might find to the bug tracker!
  You
 can see some info about the included changes here:

 http://puredata.info/dev/NextRelease

 Windows and Debian/PowerPC builds coming soon

 http://at.or.at/hans/pd/installers.html

 .hc


 

 Mistrust authority - promote decentralization.  - the hacker ethic



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




 

 All information should be free.  - the hacker ethic








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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Hans-Christoph Steiner


The text sticking out of the boxes is usually caused by Tcl/Tk 8.5:

http://puredata.info/docs/faq/on-gnu-linux-the-fonts-are-strange-and-or-too-big-or-small

The pidip error is really just a warning.  I think you can set a font  
then it'll work.  Otherwise, check out the source files for the two  
text objects, you'll see the default location is:


imlib_add_path_to_font_path(/var/lib/defoma/x-ttcidfont-conf.d/dirs/ 
TrueType);


.hc

On May 14, 2009, at 9:19 PM, Hector Centeno wrote:


base64 problem solved. The package tcllib was needed. The only prblems
left are with pdip not finding the fonts and with the text sticking
out of the object boxes.

Cheers,

Hector


On Thu, May 14, 2009 at 9:14 PM, Hector Centeno hcen...@gmail.com  
wrote:

OK, I tried setting the font size using the -font-size flag but even
with small font somehow the size of the object box doesn't scale
properly and the text still sticks out. Also I'm getting this error  
in

the terminal:

can't find package base64

Thanks,

Hector


On Thu, May 14, 2009 at 9:01 PM, Hector Centeno hcen...@gmail.com  
wrote:
OK, it seems that I got it to build in OpenSuse 11.1 and it seems  
that
it was much less effort than when I did it on OpenSuse 11. I only  
had

to hack one of the make files (the one for tclpd). Now the problems
I'm having are:

PiDiP : additional video processing objects for PDP
   version 0.12.23 ( ydego...@free.fr )
error: [pdp_text] error: could not load default font, no text  
rendering!
   install Bitstream Vera, it's free! (http://www.gnome.org/fonts/ 
)
error: [pdp_qtext] error: could not load default font, no text  
rendering!
   install Bitstream Vera, it's free! (http://www.gnome.org/fonts/ 
)


I have Bitstream Vera installed in /usr/share/fonts/truetype, do I
have to copy them somewhere else?

Also the font in in the pd gui is too big so the text entered inside
the objects doesn't fit inside the object boxes.

Once I have this things sorted out I will post in the pd wiki a  
short

review about building pd in OpenSuse including a list of required
packages.

Cheers,

Hector


On Thu, May 14, 2009 at 3:41 PM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


I don't know SUSE at all, so I won't set it up, but I am happy to  
help
someone else get the builds running on a SUSE machine.  Do you  
have one to
offer?  It doesn't need to be fast, just working.  Most of the  
build farm
are 733Mhz machines from '98, for example. :)  Also, it would be  
good if you

documented the build process on the wiki so others can follow it:

http://puredata.info/docs/developer/FrontPage/createform?page=SUSE

You can see the Debian or Fedora page for an example:

http://puredata.info/docs/developer/Debian
http://puredata.info/docs/developer/Fedora

As for a source tarball, I haven't made one... but you can get  
the whole

thing from svn easily enough:

svn co
https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.41

.hc

On May 14, 2009, at 3:26 PM, Hector Centeno wrote:


Is there a URL for downloading this version's source? I'm using
OpenSuse 11.1 so I have to build it from scratch. By the way, does
anyone know about an OpenSuse repository for PD? Probably there  
are

not enough resources already but is there any chance of including
OpenSuse in the building farms?

Cheers,

Hector


On Wed, May 13, 2009 at 8:49 PM, Hans-Christoph Steiner h...@at.or.at 


wrote:


Ok, so this thing is just about ready to release!  Please  
hammer on it,
report any little bug or annoyance you might find to the bug  
tracker!

 You
can see some info about the included changes here:

http://puredata.info/dev/NextRelease

Windows and Debian/PowerPC builds coming soon

http://at.or.at/hans/pd/installers.html

.hc




Mistrust authority - promote decentralization.  - the hacker  
ethic




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







All information should be free.  - the hacker ethic















I spent 33 years and four months in active military service and during  
that period I spent most of my time as a high class muscle man for Big  
Business, for Wall Street and the bankers.  - General Smedley Butler




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


Re: [PD] -nogui troubles on mac

2009-05-14 Thread hard off
would it be possible for us to modify the source code (eg d_delay.c) to set
a non-variable samplerate?  in our case, the samplerate will always be
22050hz.

or is it not as simple as i imagine?
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] preventing comport freezes

2009-05-14 Thread Hans-Christoph Steiner


On May 14, 2009, at 6:56 PM, Martin Peach wrote:


Hans-Christoph Steiner wrote:

On May 9, 2009, at 2:43 PM, Martin Peach wrote:

Roman Haefeli wrote:

thanks for the info.
On Fri, 2009-05-08 at 19:27 +, martin.pe...@sympatico.ca wrote:
just out of curiosity: if there is a solution, that works well  
for

[tcpserver], couldn't it be applied also to [comport]?


Maybe. But I think you should be able to use [comport] with no
hardware handshaking enabled and send data even if no cable is
attached. Sometimes the absence of one of the two input handshake
signals prevents the serial hardware from sending. Also if an  
error

occurred in the reception of serial data it may not be handled
properly in [comport]. So I'm not sure what is causing this  
particular

crash, since HC said that it happened when the remote device was
disconnected but gave no further detail.
iirc, on linux at least, [comport] makes pd hang, _whenever_ the  
other

end disappears. i.e.:
- pulling out the usb-cable, while the arduino is connected
- turning off an rfcomm device



This looks like something related to the usb interface. I think  
pulling out an RS-232 cable has no effect, as the serial driver  
can only be closed by [comport]. With a usb adapter the usb driver  
can close the port.
I suspect that the comport_tick routine, which is called  
periodically to check for received characters, tries to access the  
serial port after the usb driver has closed it.

The non-Windows code in comport_tick looks like this:

unsigned char   serial_byte;
fd_set  com_rfds;
int count = 0;

FD_ZERO(com_rfds);
FD_SET(fd,com_rfds);

while((err=select(fd+1,com_rfds,NULL,NULL,null_tv))  0)
{
  err = read(fd,(char *) serial_byte,1);
  outlet_float(x-x_data_outlet, (t_float) serial_byte);
  ++count;
}

As you can see the select call only checks for the presence of  
received characters with com_rfds, and doesn't check the write or  
exception status. I suppose the select call should also check the  
exception fd_set, as the usb driver has no other way of informing  
[comport] that it has closed the port, it should have flagged it  
there.
(Although if the fd itself is no longer valid I don't know what to  
do...using non-existent file descriptors is a good way to crash Pd)


ATM I only have 'legacy' RS-232 ports on my hardware so I can't  
test it, but I can change the code.


Martin

Ok, quick test shows a couple things:
- just using [comport 1 115200] and then yanking the USB out causes  
the crash, so no data needs to be sent to cause this.  This is with  
a standard Arduino USB.


So the crash most likely occurs when comport_tick is called by the  
timer.


- in the select() that you highlight, it is just testing before  
reading, so I am guessing it would not be so useful to do a write  
test if it is only going to read().


The write test is not needed, but I was thinking that the third  
possible test, the exception test, might give useful info, unless  
the file descriptor has already become invalid, in which case I  
don't know what to do about it, since using a dead file descriptor  
is usually lethal and probably is what is causing the crash.

How does [hid] react to unplugging of the device?


In [hid] I don't remember doing anything special, I never even used  
select(). I am guessing that serial ports behave differently that USB  
HID.  Serial was designed to be permanently attached, USB was designed  
to be hot-pluggable.   Here's the read() for example:


while( read (x-x_fd, (hid_input_event), sizeof(struct  
input_event))  -1 )


I open it using read-only and non-blocking, maybe that has something  
to do with it?


x-x_fd = open(block_device, O_RDONLY | O_NONBLOCK);

I just tried a test with just a USB serial adapter, it didn't actually  
crash, it just stopped responding and pegged the CPU.


.hc



There is no way to peace, peace is the way.   -A.J. Muste



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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread Matt Barber
I was about to write about the same font problems for the release
candidate on fedoras 9 and 10 -- it finds bitstream vera just fine,
but the fonts stick out of the boxes in the same way.  If this is
because of Tcl/Tk 8.5, that's not going to be an easy one to fix,
since Fedora's moved ahead with 8.5 -- maybe it's possible to install
an 8.4 compat version.  Either way, the current fedora/ccrma nightly
builds are against 8.5.


PS
In Pd-extended on fedora 8 the bitstream vera font is not found (I
posted on this several months ago)... F8 doesn't have tcl/tk 8.5 so
newer binaries don't work.  At any rate, I haven't found a solution to
this one... maybe I'll try adding a symbolic link in the path listed
in the source file.


 Date: Thu, 14 May 2009 21:01:32 -0400
 From: Hector Centeno hcen...@gmail.com
 Subject: Re: [PD] Pd-extended 0.41.4 release candidate 1
 To: Hans-Christoph Steiner h...@at.or.at
 Cc: Pd List pd-l...@iem.kug.ac.at
 Message-ID:
        695e1a650905141801k403cb7d1x40cf866d22e48...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 OK, it seems that I got it to build in OpenSuse 11.1 and it seems that
 it was much less effort than when I did it on OpenSuse 11. I only had
 to hack one of the make files (the one for tclpd). Now the problems
 I'm having are:

 PiDiP : additional video processing objects for PDP
        version 0.12.23 ( ydego...@free.fr )
 error: [pdp_text] error: could not load default font, no text rendering!
        install Bitstream Vera, it's free! (http://www.gnome.org/fonts/)
 error: [pdp_qtext] error: could not load default font, no text rendering!
        install Bitstream Vera, it's free! (http://www.gnome.org/fonts/)

 I have Bitstream Vera installed in /usr/share/fonts/truetype, do I
 have to copy them somewhere else?

 Also the font in in the pd gui is too big so the text entered inside
 the objects doesn't fit inside the object boxes.

 Once I have this things sorted out I will post in the pd wiki a short
 review about building pd in OpenSuse including a list of required
 packages.


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


Re: [PD] Pd-extended 0.41.4 release candidate 1

2009-05-14 Thread M. Edward (Ed) Borasky
I have two openSUSE 11.1 machines and would love to help, but they are
both 64-bit and I have no time to work on this until after my first
Puredata workshop this coming Sunday. I tried a 64-bit openSUSE build
but it broke miserably and the instructions for 64-bit Linux builds
need drastic cleanup. It's definitely something I want to do, assuming
nobody else jumps in, but I need a working Pd-extended machine for
Sunday. So I am going with Ubuntu Jaunty Jackalope on an ancient
32-bit laptop.

I also have a 64-bit Windows Vista machine (it's dual-booted with
openSUSE 11.1, actually) but when I loaded pd-extended on it and tried
to run the test sine wave in the Media menu, instead of a steady tone
I got a warbling tone that was unacceptable. If there's a fix for
this, I'll test out the Windows version and possibly use it for the
Sunday workshop.

P.S.: The workshop is at

http://dorkbotpdx.org/blog/breedx/pure_data_workshop_1_of_3_introduction_to_pd

if you're near Portland, Oregon.

P.P.S.: I'll try the new Windows build tomorrow and see if the warble
goes away. :)

-- 
M. Edward (Ed) Borasky
http://www.linkedin.com/in/edborasky

I've never met a happy clam. In fact, most of them were pretty steamed.

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