Re: [PD] wiiremote for Mac OS X/PowerPC

2007-05-17 Thread Maik Hester
Hans-Christoph Steiner schrieb:
 I just merged in aka's most recent changes and got it building.  I  
 have neither bluetooth nor a wiiremote, so it up to y'all to figure  
 out if it actually works:

 http://idmi.poly.edu/pdlab/wiiremote.pd_darwin-PowerPC.zip

 I'll try to put out a Mac/Intel version tomorrow if there is interest.

 .hc
Since I have unsucsessfully tried to get wiiremote.pd_darwin running on 
an Intel Mac, this would be great.

Thanks, Maik.

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


Re: [PD] fonts on GNU/Linux

2007-05-17 Thread Frank Barknecht
Hallo,
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:

 Has anyone been able to get the DejaVu font to work with Pd-extended  
 on GNU/Linux?  I just switched the default font to Bitstream Vera,  
 which comes with GNOME and maybe KDE.  I can't get that to work either.

Try Courier. ;)

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

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


Re: [PD] what is compiling?

2007-05-17 Thread IOhannes m zmoelnig
ariel b wrote:
 respectful list
 
 i come from the max msp world and i have listen alot the words like  
 compiling, porting, etc, words that i'm not used to use so now i ask
 there is any paper, tutorial etc, around there that explain what its  
 compiling and how to do that specifically to compile a source code  
 around there (wii remote)

these questions are really BIG questions and i don't feel like i could
answer them here.
however, this is what i often do when i have no idea what people are
talking about: i either use my book encyclopedia or an online resource.

if you don't have an encyclopedia that covers compilation (chances are
high), have a look at wikipedia.


 
 everything in mac 10.4

get the developer kit from apple (~1GB download);
get the source code for what you want to compile.

and finally:
read the documentation! source-code usually comes with README.txt and
INSTALL.txt; read BOTH! (if it is there); read everthing that looks
readable (e.g. txt-files)
you might have to search the directory.


more specifically to pd: have a look at http://puredata.info look
through the doc/development and development/ sections


fmgasd,r
IOhannes

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


Re: [PD] [SPAM?] [LOW] fixing distortion on surface

2007-05-17 Thread Tim Boykett

We used one approach for SPIN:

http://www.timesup.org/spin

where we did render to texture of the image we wanted
to be seen, then placed this texture on a model of the screen
and filmed it from a camera placed where the projector was.

in 2000, when we did this, it was only possible to do this sort of
thing on consumer grade PCs using DirectX, so we had to go down that  
path.
I think this is now doable in general OpenGL stuff, but no idea how.
The latest version of software for SPIN was made in , so it
would be probably relatively easy to modify their code for some
other surface.

I make it sound a bit trivial, but it isn't quite. But it is also
a lot easier than it was originally for us.

Tim

On 17/05/2007, at 4:52 AM, punchik punchik wrote:

 hi is there any way of fixing the distorion i get when
 i project gem
 visuals in curved or irregular surfaces?
 is there any trick?

 thanks


 pun



 __ 
 __Be a better Heartthrob. Get better relationship  
 answers from someone who knows. Yahoo! Answers - Check it out.
 http://answers.yahoo.com/dir/?link=listsid=396545433

 ___
 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] Looping samples with tabread4~

2007-05-17 Thread Matteo Sisti Sette
Yes, I did once exactly what you describe, and it works.

(well to be precise I didn't do *exactly* what you described: I snapshotted 
the vline~ output to get the current position, so it worked only within 
block accuracy; however, I understand your solution and it should definitely 
work with (sub)sample accuracy)


However, in this approach the pitch input is control, i.e. number, it is not 
a signal.
This doesn't allow for a signal input pitch.

You can change the pitch at any time but you cannot have an oscillator 
*continuously* regulating the pitch for instance.



- Original Message - 
From: Roman Haefeli [EMAIL PROTECTED]
To: Matteo Sisti Sette [EMAIL PROTECTED]
Cc: pd-list@iem.at
Sent: Thursday, May 17, 2007 12:27 PM
Subject: Re: [PD] Looping samples with tabread4~


On Thu, 2007-05-17 at 11:21 +0200, Matteo Sisti Sette wrote:
 Frank Barknecht wrote:

  4. Simply using a vline~ object and ?loop it? with a different
  start position the second time onwards.

 I'd simply do 4).

 That's ok if you're not gonna change the pitch while playing the sample.

theoretically, this approach should also work well with changing the
pitch while playing, if i am not totally mistaken. i never tried to
implement it myself yet, but since you send a message to [vline~] you
also know at any time, where [vline~] actually is. the idea is to
measure the time between the inital message to [vline~] and the moment,
where you want to change the pitch. with the timevalue and the values
from the initial message you could calculate [vline~] actual position.
with taking into account [vline~]'s actual position and the new pitch,
you could generate a new message for [vline~]. like that, it should be
possible to change the pitch at any time with (sub-?)sample accuracy and
without having jumps in the playback.

roman






___
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de 

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Gioca on-line con Best Western e…parti in vacanza!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6500d=17-5

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


Re: [PD] Looping samples with tabread4~

2007-05-17 Thread Roman Haefeli
On Thu, 2007-05-17 at 12:49 +0200, Matteo Sisti Sette wrote:
 Yes, I did once exactly what you describe, and it works.
 
 (well to be precise I didn't do *exactly* what you described: I snapshotted 
 the vline~ output to get the current position, so it worked only within 
 block accuracy; however, I understand your solution and it should definitely 
 work with (sub)sample accuracy)

since there is [vsnapshot~], even this approach should work with sample
accuracy.


 However, in this approach the pitch input is control, i.e. number, it is not 
 a signal.
 This doesn't allow for a signal input pitch.

hey, but you showed us an interesting use of [rpole~] for doing that. i
think that this is a nice example of using the elementary filters in
other contexts than filter design. i probably would have found often
much more straightforwards solutions for certain problems, if i'd
thought of using elementary filters.

roman 







___ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


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


Re: [PD] fonts on GNU/Linux

2007-05-17 Thread Myo

I just installed extended 0.39.2-RC1 on Ubuntu 7.04 PPC via the
debian/testing
package, which seems to work (?!), and yes, the Deja Vu font works and
looks very nice = )


c

On 5/17/07, Frank Barknecht [EMAIL PROTECTED] wrote:


Hallo,
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:

 Has anyone been able to get the DejaVu font to work with Pd-extended
 on GNU/Linux?  I just switched the default font to Bitstream Vera,
 which comes with GNOME and maybe KDE.  I can't get that to work either.

Try Courier. ;)

Ciao
--
Frank Barknecht _ __footils.org_ __goto10.org__

___
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] fixing distortion on surface

2007-05-17 Thread Max Neupert
check out lighttwist of jean-philippe tardif université de montréal
it does the calibration automatically, you just need a high-res frame- 
grabber.

http://tot.sat.qc.ca/logiciels_lighttwist.html

max


Am 17.05.2007 um 05:31 schrieb chris clepper:

 If you have accurately measured the distortion you can correct it  
 by rendering the entire scene offscreen then mapping it onto  
 corrected geometry.  You could also do it by sight with less exact  
 results.

 I have seen this done perfectly once for a hemispherical projection  
 system designed for DoD weapons simulations.  The guys who made the  
 system are/were some of the top optics engineers in the world, so  
 they made it look easy.

 On 5/16/07, punchik punchik [EMAIL PROTECTED] wrote: hi is there  
 any way of fixing the distorion i get when
 i project gem
 visuals in curved or irregular surfaces?
 is there any trick?

 thanks


 pun



 __ 
 __Be a better Heartthrob. Get better relationship  
 answers from someone who knows. Yahoo! Answers - Check it out.
 http://answers.yahoo.com/dir/?link=listsid=396545433

 ___
 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


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


Re: [PD] Looping samples with tabread4~

2007-05-17 Thread Matteo Sisti Sette

  However, in this approach the pitch input is control, i.e. number, it is 
  not
  a signal.
  This doesn't allow for a signal input pitch.

 hey, but you showed us an interesting use of [rpole~] for doing that.

Yeah, what I miss is how to seamlessly switch from the first cycle to the 
next ones. I did propose a solution to that, but I hope there's a simpler 
one
I guess a sort of [vthreshold~] would do that.

However I'm glad you appreciated the elementary filter stuff.

Btw, I think we never got (or I missed) the answer to the interesting 
question: what does the v stand for?

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Gioca on-line con Best Western! Puoi vincere buoni-sconto per soggiorni in 
tutto il mondo e un week-end per due persone a Positano. Iscriviti subito!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6497d=17-5

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


Re: [PD] Looping samples with tabread4~

2007-05-17 Thread Frank Barknecht
Hallo,
Matteo Sisti Sette hat gesagt: // Matteo Sisti Sette wrote:

 Frank Barknecht wrote:
 
  4. Simply using a vline~ object and ?loop it? with a different
  start position the second time onwards.
 
 I'd simply do 4).
 
 That's ok if you're not gonna change the pitch while playing the sample.

Yes, my suggestion is for a one-shot sampler with a looping end and
constant pitch.

 Suppose for a moment that you don't need a sample start point different from 
 the loop start point, i.e. the begin and end point don't change from the 
 first to the second time.
 The phasor solution (which is trivial in this case) allows you to have a 
 signal as an input to the phasor, thus allowing to change the pitch of the 
 sampler in real time and smoothly. This is not possible (afaics) with the 
 vline~ solution.

For one-shot sampler phasor~ is not good IMO because of the
quantiztion of the phase-inlet. phasor~ samplers would be terrible for
drum-samplers.

Also because of the phasor~ quantization it's hard to start playing with
vline~ and then switch to looping phasor, unless you do a crossfade.
(But a crossfade would work.)

 One solution for reproducing a sample with a signal pitch input without 
 using a phasor is:
 
 (input pitch ~)
 |
 [rpole 1]
 |
 [tabread4~]
 
 (sending a [clear( to the rpole when starting playing)

Puh, wouldn't [rpole~ 1] maybe be dangerous? Anyway I don't see any
advantage in rpole~ over phasor~.

 However, the only way I can think of in order to switch from this to the 
 phasor (or to jump to a given point of the sample) at the correct time 
 independently of pitch history, is to use a [threshold~]; but that wouldn't 
 be accurate because it's block-quantized.
 
 Any other idea?
 
 
 Hey!!! I just had one. But I would like anybody to suggest a simpler or more 
 elegant one.
 
 I may use 2 phasors (or an rpole and a phasor), both fed with the same pitch 
 input.
 
 Let's suppose this is the sample:
 |-SS-LB-LE--|
 where:
 SS= sample start (where we want the sample to start playing the first time)
 LB= loop begin
 LE= loop end
 
 With appropriate calculations, the two phasors can be adjusted so that:
 1) Phasor A reproduces the sample the first time from SS to LE in its first 
 cycle. In subsequent cycles it would do the same but it will be muted so we 
 don't mind.
 2) Phasor B reproduces the loop region; its initial phase is calculated in 
 such a way that at the beginning, when it is muted, it will be producing 
 garbage, but when phasor A will reach point LB for the first time, phasor B 
 will also be on LB, so that, during ONE cycle of phasor B, the two phasors 
 will be reproducing *exactly* the same portion LB-LE synchronously.

Show us the code! ;) 

This may work, but indeed would be very complicated. Also I assume,
that changing the frequency of the phasor~ before you've reached the
loop area would completely mess up the caluclations of phase and/or
frequency of the second phasor~, especially as you can only set the
phase of a phasor~ once every block.

 Any simpler idea?

susloop~

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

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


[PD] pix_fiducialtrack

2007-05-17 Thread punchik punchik
hi which is  the benefit of using this object instead
of the reactivision standalone application?

my last question is:
ive read at the pix_fiducialtack help file that this
tracking system is copyrighted ... is there any
problem is i use this for comercial purposes?

thanks

o.


  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 

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


Re: [PD] fonts on GNU/Linux

2007-05-17 Thread Hans-Christoph Steiner

On May 17, 2007, at 3:01 AM, Frank Barknecht wrote:

 Hallo,
 Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:

 Has anyone been able to get the DejaVu font to work with Pd-extended
 on GNU/Linux?  I just switched the default font to Bitstream Vera,
 which comes with GNOME and maybe KDE.  I can't get that to work  
 either.

 Try Courier. ;)

I would have left it at courier, but from my tests, Courier is not  
the same font on each platform.  There were notable differences in  
size and shape across platforms.

This is the last hang-up, the current nightly build is pixel exact on  
all the measures I did, except on Mac OS X the font is 1 pixel lower  
in the object box.  I think I can fix that too.

.hc


 Ciao
 -- 
  Frank Barknecht _ __footils.org_ __goto10.org__

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


 


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] Looping samples with tabread4~

2007-05-17 Thread Frank Barknecht
Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:

  One solution for reproducing a sample with a signal pitch input without 
  using a phasor is:
  
  (input pitch ~)
  |
  [rpole 1]
  |
  [tabread4~]
  
  (sending a [clear( to the rpole when starting playing)
 
 Puh, wouldn't [rpole~ 1] maybe be dangerous? Anyway I don't see any
 advantage in rpole~ over phasor~.

Ah, now I see that you probably mean rpole~ as a vline~ replacement,
not as one for phasor~.  Yes, that would be interesting, however one
needs to adjust to possibly different sample rates between the sample
file and Pd, for example if you load a 44.1 kHz sample into a Pd
running with 48 kHz: The speed of the ramp would need to be
adjusted accordingly as rpole~ always advances with Pd's sample rate,
while for playing a 44.1 sample at normal speed you need to use a ramp
that advances with 44.1 kHz every sample.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

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


[PD] colour (color) tracking

2007-05-17 Thread Sion Dalais
hi,

i am trying to make a multi colour (color!) tracker
that sees red and blue seperately. 

to get my head round it i thought i would just start
by making a single colour tracker that i could
manually switch between red and blue. i'm using the
movement detection patch that came in the pd browser
and trying to work with pix_blob. but even when i put
red mode in and weight it to red it still seems to be
quite happy to track any colour/movement at all.

any help or tips would be really helpful.

thanks,
sion.





  ___ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today 
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 

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


Re: [PD] Looping samples with tabread4~

2007-05-17 Thread Martin Peach
Roman Haefeli wrote:
 On Thu, 2007-05-17 at 13:40 +0200, Matteo Sisti Sette wrote:
   

 Btw, I think we never got (or I missed) the answer to the interesting 
 question: what does the v stand for?
 

 i think, this is still unanswered.

   
Most likely it stands for 'vector', which is the name used in the pd 
source code for a block of samples.

Martin


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


Re: [PD] fonts on GNU/Linux

2007-05-17 Thread Frank Barknecht
Hallo,
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:

 Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
 
 Has anyone been able to get the DejaVu font to work with Pd-extended
 on GNU/Linux?  I just switched the default font to Bitstream Vera,
 which comes with GNOME and maybe KDE.  I can't get that to work  
 either.
 
 Try Courier. ;)
 
 I would have left it at courier, but from my tests, Courier is not  
 the same font on each platform.  There were notable differences in  
 size and shape across platforms.
 
 This is the last hang-up, the current nightly build is pixel exact on  
 all the measures I did, except on Mac OS X the font is 1 pixel lower  
 in the object box.  I think I can fix that too.

I was just joking with that Courier.

I had downloaded the latest autobuild and I get the Vera font just
fine (compared to a Vim set to the same font).

However I hate to bring this up again, but better now then never: 

Would you reconsider your choice of a skinny font?

I still would prefer a bold font. I am absolutely not, in no way, able
to read the normal font as comfortable as the Bt Vera Bold I use in
Vim and rxvt. And yes: I tried to use a normal font with Vim etc. in
the past as well, but it just doesn't work for my eyesight. Maybe
IOhannes feels the same.

The normal font for me also blends with the borders too much. I'm not
saying this for aesthetic, but for purely ergonomical reason: I'm not
able to use this version of Pd-extended, because the anorexic font
literally hurts after a while. 

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

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


[PD] best way to wrap opencv library for noob

2007-05-17 Thread nosehair911
I am trying to get an FTIR setup going and I need a good motion tracker for os 
10.4.9.  I cant get gridflow 
to compile, I love the pix_multiblob but its way to cpu hungry so I decided to 
write my own.  I have never 
programed in C nor have I ever read any manuals but I'm willing to try.  My 
question is do I need to know 
C before hand or can I get away with reading this:
http://iem.at/pd/externals-HOWTO/
BTW I am not starting from scratch, if that were so I would never try this.  I 
am trying to go the opencv 
route and wrap these for Pd:
http://opencvlibrary.sourceforge.net/cvBlobsLib
Anothe question is would it be easier to try to write it as a standalone 
external or as part of Gem like a 
pix_cvBlobs object?  Where can I find information on developing for Gem like 
the externals how-to?
Thanks,
Alain


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


Re: [PD] colour (color) tracking

2007-05-17 Thread IOhannes m zmoelnig
Sion Dalais wrote:
 hi,
 
 i am trying to make a multi colour (color!) tracker
 that sees red and blue seperately. 
 
 to get my head round it i thought i would just start
 by making a single colour tracker that i could
 manually switch between red and blue. i'm using the
 movement detection patch that came in the pd browser
 and trying to work with pix_blob. but even when i put
 red mode in and weight it to red it still seems to be
 quite happy to track any colour/movement at all.
 
 any help or tips would be really helpful.

i don't know your patch.

but of course you cannot clamp the GB channels to zero and expect that
you will then see only the red color: instead remember that in RGB
space, a bright red, a bright yellow and a bright magenta (and a bright
white) will all have the Red channel at full-scale (so your detector
will see red, magenta, yellow  white all the same color and detect
accordingly)


mfg.asdr
IOhannes

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


Re: [PD] Looping samples with tabread4~

2007-05-17 Thread Matteo Sisti Sette
 For one-shot sampler phasor~ is not good IMO because of the
 quantiztion of the phase-inlet. phasor~ samplers would be terrible for
 drum-samplers.

Yeah, obviously my solution only makes sense if we want a continuous 
signal pitch.


 (input pitch ~)
 |
 [rpole 1]
 |
 [tabread4~]

 (sending a [clear( to the rpole when starting playing)

Puh, wouldn't [rpole~ 1] maybe be dangerous? Anyway I don't see any
advantage in rpole~ over phasor~.

Why dangerous?

And yes, when looping there's no advantage of rpole over phasor. For the 
first cycle that only plays once however, or for the case of playing a 
sample with variable pitch but without loop, the advantage of rpole is IMHO 
simplicity: you don't have to scale the input and output depending on sample 
length as with phasor.


Show us the code! ;)

Of course I will, as soon as I try it.


This may work, but indeed would be very complicated. Also I assume,
that changing the frequency of the phasor~ before you've reached the
loop area would completely mess up the caluclations of phase and/or
frequency of the second phasor~, especially as you can only set the
phase of a phasor~ once every block.

Not totally sure until i try and code it, but I think the phase of the 
phasor(s) (and the scaling factors) only need to be set up at the very 
beginning, and changing the frequency at any moment won't mess up anything 
since the frequency feeds both phasors (or both the phasor and the rpole) at 
the same time.
However I may be missing something until I write down some formula.


Thanks,
m. 

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Gioca on-line con Best Western! Puoi vincere buoni-sconto per soggiorni in 
tutto il mondo e un week-end per due persone a Positano. Iscriviti subito!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6498d=17-5

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


[PD] basic questions

2007-05-17 Thread cristiano figueirÿfffff3
Hi all! I'm new to pd and have 2 basic questions:
   
  1) I understand the concept of abstraction, but when i use them in my 
patchs they don't work. Even with abstraction and patch saved into the same 
directory...what i'm missing?
   
  2) In sampling with soundfiler object, i cannot acess my samples, even 
adressing their directories in startup and paths, what's missing?
   
  thanks
  Cristiano.
   
   

 __
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ ___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] best way to wrap opencv library for noob

2007-05-17 Thread chris clepper

I would suggest you try to modify pix_multiblob for better performance.
This will get you familiar with C++, pixel processing, and how GEM is
written.  Also, and perhaps most important, you would learn what makes code
fast or slow.

The first clues for why pix_multiblob takes for ever to process are that it
uses floating point processing and makes function calls inside the
processing loop.

AS far as 'wrapping' OpenCV the most basic method would be to build a lib
and make calls to it for all of the processing.  I don't think that will
necessarily be very efficient though.

Since you are a novice programmer you might also find a CV/tracking
application that uses OSC or other network protocol to communicate with Pd.

On 5/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


I am trying to get an FTIR setup going and I need a good motion tracker
for os 10.4.9.  I cant get gridflow
to compile, I love the pix_multiblob but its way to cpu hungry so I
decided to write my own.  I have never
programed in C nor have I ever read any manuals but I'm willing to
try.  My question is do I need to know
C before hand or can I get away with reading this:
http://iem.at/pd/externals-HOWTO/
BTW I am not starting from scratch, if that were so I would never try
this.  I am trying to go the opencv
route and wrap these for Pd:
http://opencvlibrary.sourceforge.net/cvBlobsLib
Anothe question is would it be easier to try to write it as a standalone
external or as part of Gem like a
pix_cvBlobs object?  Where can I find information on developing for Gem
like the externals how-to?
Thanks,
Alain


___
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] basic questions

2007-05-17 Thread Kevin McCoy

1) I understand the concept of abstraction, but when i use them in my
patchs they don't work. Even with abstraction and patch saved into the same
directory...what i'm missing?



Hi Cristiano, could you be more specific about what doesn't work?  For
example, does the object not create?  Have you created them with inlets and
outlets, etc?

2) In sampling with soundfiler object, i cannot acess my samples, even

adressing their directories in startup and paths, what's missing?



Again, what errors are you getting?  It sounds like you are trying to setup
a sample directory with the paths option... someone more experienced than me
will have to chime in on whether this works.  I always provide the full path
(for example, from an [openpanel] object).  If you could copy and paste what
you see from the main window (where errors and other info are printed) it
would help.

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


[PD] problem installing iem/adaptive library

2007-05-17 Thread tania habib

Hello,

I have started working with PD few weeks ago and I find it very useful for
my work, but I am facing some problems in trying to load some libraries into
PD. I want to add the Adaptive Filter library written by Markus Noisternig
and Thomas Musil. I am working on Mac osx.
Please help me out with this problem

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


Re: [PD] Bug in Pool?

2007-05-17 Thread Luke Iannini (pd)
Great!  Hope it is not too painful : )
Thanks!
Luke
On 5/9/07, Thomas Grill [EMAIL PROTECTED] wrote:
 Hi Luke,
 thanks for the report.
 It's a typical buffer overrun (caused by a lng line of data),
 making quick-and-dirty code choke.
 I hope to fix it shortly, please stand by!
 greetings, Thomas

 Am 09.05.2007 um 04:24 schrieb Luke Iannini (pd):

  Hi Thomas (and list),
  I have run into what appears to be a limitation with [pool], namely
  that it crashes with something around ~780 characters loaded from a
  file as values in a key.
 
  I ran into this loading a particularly long list in Memento.  I've
  attached a patch and a file from which to load to experience the
  crash.  The file is just a little over the character count needed to
  crash it (it seems to be between 780 and 800?).  It does not seem to
  be a function of the number of elements in the list, but rather the
  length of the text in those elements.  Shorten a few of the values in
  the list and it loads right up.
 
  I'm also pretty sure this is a per-key limitation, as memento's lddir
  first loads files into /tmp before copying them into the proper key.
  I've used that with a file that was just under the crashing length and
  that worked fine (loaded into two keys).
 
  I have tested this on both my PPC Mac and my Intel Mac; maybe others
  can check it out too?
 
  (also to clarify, the problem occurs when loading data from a file;
  data of any length (that I've tried) makes it into the pool without
  issue, and saves without issue)
 
  Thanks!
  Luke
  PoolCrash.pd
  CoscNearlyAll

 Thomas Grill
 http://g.org



 ___
 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] basic questions

2007-05-17 Thread Roman Haefeli
hi cristiano

welcome to the pd-world ;-)

On Thu, 2007-05-17 at 11:38 -0300, cristiano figueirÿf3 wrote:
 Hi all! I'm new to pd and have 2 basic questions:
  
 1) I understand the concept of abstraction, but when i use them in
 my patchs they don't work. Even with abstraction and patch saved into
 the same directory...what i'm missing?

let's say you made an abstraction called 'myabs.pd', that is located in
the same directory, where that main patch is located. now, when editing
your main patch, you should be able to instantiate an object called
[myabs]. if the surrounding box of the object [myabs] gets dashed, and
you see an error in the pd window:

 myabs
... couldn't create

that means, that pd couldn't find your abs [myabs] (which probably
means, that it is NOT in the same directory as your main patch, e.g if
you didn't save your main patch yet).
if you don't see that error nor dashed lines, then everything is ok from
pd's point of view. 
so, what exactly makes you think, that it does not work?

 
 2) In sampling with soundfiler object, i cannot acess my samples,
 even adressing their directories in startup and paths, what's
 missing?

soundfiles (or any other file besides pd-files) are not searched in  the
searchpaths by pd. that means you have to specify the filenames with the
path like '/home/yoyo/mysoundfile.wav'. you could alternatively use
relative paths (relativ to your patch). when your soundfile is located
in the same location as your patch, then you can just use
'mysoundfile.wav'. 
note: as long as you didn't save your patch, the path of your patch is
the same as the path of the pd start location. 

roman





___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] problem installing iem/adaptive library

2007-05-17 Thread Georg Holzmann
Hallo Tania!

 I have started working with PD few weeks ago and I find it very useful 
 for my work, but I am facing some problems in trying to load some 
 libraries into PD. I want to add the Adaptive Filter library written by 
 Markus Noisternig and Thomas Musil. I am working on Mac osx.

This library is included in the pd-extended autobuilds from 
http://autobuild.puredata.org/auto-build/ - there you can download the 
osx version.

Then you only have to start pd with pd -lib libdir -lib iem_adaptfilt.

LG
Georg

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


Re: [PD] problem installing iem/adaptive library

2007-05-17 Thread Roman Haefeli
On Thu, 2007-05-17 at 17:17 +0200, tania habib wrote:
 Hello,
 
 I have started working with PD few weeks ago and I find it very useful
 for my work, but I am facing some problems in trying to load some
 libraries into PD. I want to add the Adaptive Filter library written
 by Markus Noisternig and Thomas Musil. I am working on Mac osx. 
 Please help me out with this problem
 
 regards,
 tania 

hello tania

i don't know, what is the proper way of installing externals on os x (if
there is one). but i try anyway

there are basically two things to consider:

a) you need to tell pd, where it should look for externals

b) you need to tell pd, which externals should be loaded on startup.

in newer versions of pd, both can be done trough the menu (i don't
recall the exact menu tree for pd on osx):

pd-version - Preferences - Path: 
here you can add the path to your external

pd-version - Preferences - Startup:
here you can add the name of your external. on osx, the external would
be a file called 'external.pd_darwin', but in the startup fields you
only write 'external' withouth the file extension .pd_darwin.

after entering, click 'save all settings' and 'apply'. 

then you should be able to instantiate objects from the new external. 

roman 






___ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


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


[PD] problem loading adaptive filter libraray

2007-05-17 Thread tania habib

Hello,

I have started working with PD few weeks ago and I find it very useful for
my work, but I am facing some problems in trying to load some libraries into
PD. I want to add the Adaptive Filter library written by Markus Noisternig
and Thomas Musil. I am working on Mac osx.
Please help me out with this problem

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


[PD] Image transitions with GEM?

2007-05-17 Thread Carlos Caires
Hi all,

Is ther a quick way to do smouth transitions (cross dissolves) between two
images?

Thanks.
Carlos Caires

__
 |||CARLOS CAIRES|||
   www.carloscaires.org
__

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


Re: [PD] Image transitions with GEM?

2007-05-17 Thread Max Neupert
common is to simply use two texured objects and fade the foremost to  
transparent using [alpha] and [colorRGB]


m.

Am 17.05.2007 um 18:11 schrieb Carlos Caires:

 Hi all,

 Is ther a quick way to do smouth transitions (cross dissolves)  
 between two
 images?

 Thanks.
 Carlos Caires

 __
  |||CARLOS CAIRES|||
www.carloscaires.org
 __

 ___
 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] Looping samples with tabread4~

2007-05-17 Thread Frank Barknecht
Hallo,
Matteo Sisti Sette hat gesagt: // Matteo Sisti Sette wrote:

 And yes, when looping there's no advantage of rpole over phasor. For the 
 first cycle that only plays once however, or for the case of playing a 
 sample with variable pitch but without loop, the advantage of rpole is IMHO 
 simplicity: you don't have to scale the input and output depending on sample 
 length as with phasor.

Unfortunatly also rpole~ is quantized to blocks, when it comes to
setting it's internal state through messages. See attached patch.
Otherwise it would be a useful vline~ replacement. But as such it
really requires working completely in the signal domain.

 Show us the code! ;)
 
 Of course I will, as soon as I try it.
 
 This may work, but indeed would be very complicated. Also I assume,
 that changing the frequency of the phasor~ before you've reached the
 loop area would completely mess up the caluclations of phase and/or
 frequency of the second phasor~, especially as you can only set the
 phase of a phasor~ once every block.
 
 Not totally sure until i try and code it, but I think the phase of the 
 phasor(s) (and the scaling factors) only need to be set up at the very 
 beginning, and changing the frequency at any moment won't mess up anything 
 since the frequency feeds both phasors (or both the phasor and the rpole) at 
 the same time.

Hm, yes, that's right! Changing the frequency of the looping phasor~ B
as well as that of phasor~ A should still let them both end at LB at
the same time, at least if my considerations below are correct:

To meet at LB the phase difference between both phasors (in samples)
should be: 
 
 d = (LB - SS) mod (LE - LB)

which gets a bit simpler if SS is assumed to be 0: 
 
 d = LB mod (LE - LB)

Anyway the frequency of the phasor doesn't even show up in this
formula, so the calculation is independent from frequency and thus
should hold true for any changes in phasor frequency as well.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__


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


Re: [PD] problem installing iem/adaptive library

2007-05-17 Thread IOhannes m zmoelnig
tania habib wrote:
 hi,
 Thanks for telling me how to include the iem_adaptfilt library in PD.
 It works but some strange things are happening now, for instance some of
 the objects can not be created.
 e.g.
 unsig~
 FIR~ IR

these 2 are part of iemlib.

 Z~

this i don't know, but there is a [z~] (lowercase!) in zexy.

 
 If somebody using this objects in their files, kindly tell me whether
 those are part of iem_adaptfilt or I need to load some other library for
 these?

yep, you need iemlib (iemlib1, iemlib2) and zexy.

 Secondly I can not run examples of adaptive library as some of the
 objects can not be created such as lms~
 This behavior is really strange for me.

so you did load the iem_adaptfilt library before opening the patches?
(with -lib iem_adaptfilt, or whatever)

also you might have to include the path to some abstractions.
there ought to be a README.txt; if not, i'll have a word with the
authors ;-)

mfga.dsr
IOhannes

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


Re: [PD] problem installing iem/adaptive library

2007-05-17 Thread Georg Holzmann
Hallo!

 Secondly I can not run examples of adaptive library as some of the
 objects can not be created such as lms~
 This behavior is really strange for me.
 
 so you did load the iem_adaptfilt library before opening the patches?
 (with -lib iem_adaptfilt, or whatever)

I think this is an other problem: the example patches in the adaptive 
folder of the pd-extended installation are from my adaptive library.

(there are 2 libraries for adaptive filter in pd - I guess the 
iem_adaptfilt lib is more powerfull but I haven't tried ...)

LG
Georg

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


Re: [PD] problem installing iem/adaptive library

2007-05-17 Thread tania habib

Hello,

Thanks again, as it was problem of loading zexy at the startup and now the
files are working fine.

regards,
tania

On 5/17/07, Georg Holzmann [EMAIL PROTECTED] wrote:


Hallo!

 Secondly I can not run examples of adaptive library as some of the
 objects can not be created such as lms~
 This behavior is really strange for me.

 so you did load the iem_adaptfilt library before opening the patches?
 (with -lib iem_adaptfilt, or whatever)

I think this is an other problem: the example patches in the adaptive
folder of the pd-extended installation are from my adaptive library.

(there are 2 libraries for adaptive filter in pd - I guess the
iem_adaptfilt lib is more powerfull but I haven't tried ...)

LG
Georg

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


Re: [PD] wiiremote for Mac OS X/PowerPC

2007-05-17 Thread Hans-Christoph Steiner

On May 17, 2007, at 2:42 AM, Maik Hester wrote:

 Hans-Christoph Steiner schrieb:
 I just merged in aka's most recent changes and got it building.   
 I  have neither bluetooth nor a wiiremote, so it up to y'all to  
 figure  out if it actually works:

 http://idmi.poly.edu/pdlab/wiiremote.pd_darwin-PowerPC.zip

 I'll try to put out a Mac/Intel version tomorrow if there is  
 interest.

 .hc
 Since I have unsucsessfully tried to get wiiremote.pd_darwin  
 running on an Intel Mac, this would be great.

Here's an older binary, give it a shot:


Otherwise, wiiremote should be in the Pd-0.40.2-extended auto-builds  
as of tomorrow.  It'll be in the 'io' library, so use [io/wiiremote].

.hc


 Thanks, Maik.



 


   ¡El pueblo unido jamás será vencido!



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


Re: [PD] multiple-curve ADSR

2007-05-17 Thread Phil Stone
Two small corrections to my original post about [multiCurveAdsr]:

- The abstraction that calculates the curve is called [$0-makeCurve], 
not [makeTable].

- The hollow curve is quartic-like, not quadric-like.  (It's 
actually an exponential curve tweaked to go to zero).


Phil Stone

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


Re: [PD] fonts on GNU/Linux

2007-05-17 Thread Frank Barknecht
Hallo,
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:

 I did a survey of applications on GNOME/Debian, GNOME/Ubuntu, Windows  
 and Mac OS X.  Bold fonts are only used for highlights everywhere  
 that I looked.  

Pd doesn't have different font weights anyway. 

 I think it is important that Pd also follow these  established
 standards, so that's why I went with a normal weight  font.  Max/MSP
 and jMax also use a normal weight font.  So in effect,  I feel I am
 not making this decision, instead I found it quite  difficult to
 continue using a bold font when nothing else did.

The IMO well designed Ableton Live uses bold a lot, most prominently
in their grid boxes. On stage normal weight is not easy to read at
all.

 That is not to discount your issue with the font.  Ideally, each user  
 could set their own font to their needs.  That will take more work,  
 but it's within reach. 

I don't want to force everyone to use the same font weights that I
prefer either. 

But what I don't understand: Why not let the default for now be bold
like in the past years and make normal weight optional for later?

While many people complained about the Courier font sizes, I've never
heard anyone complain about the bold weight. To me it seems dropping
bold is like fixing something that wasn't broken[*], and doing it just
because so far Pd dared to be different from Max, jMax or Gnome IMO is
not convincing enough. That's probably the crucial point where we
disagree.

 One easy thing that might help you is using a bigger font.

Font size is a completely different issue. I don't have a problem with
size 10 in the Pd I'm currently using, and I use 11 normally in xterm
and Vim. (Font size 12 in Pd/Linux is a problem for other reasons as
well, as it takes away too much patching area.)

[*] (I'm ignoring here that pd-extended now is broken for me.)

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

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


Re: [PD] Myron for Pd

2007-05-17 Thread naysayer
looks as if these blokes did

http://www.andrewsenior.com/isea2006/workshop.html




On 5/16/07, chris clepper [EMAIL PROTECTED] wrote:
 I worked with a Director project that used the Xtra.  It was pretty slow.


 On 5/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Does anyone know if someone has ported Myron to Pd?
  http://webcamxtra.sourceforge.net/index.shtml
  Thanks,
  Alain
 
 
  ___
  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



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


Re: [PD] fonts on GNU/Linux

2007-05-17 Thread Hans-Christoph Steiner

On May 17, 2007, at 7:07 PM, Frank Barknecht wrote:

 Hallo,
 Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:

 I did a survey of applications on GNOME/Debian, GNOME/Ubuntu, Windows
 and Mac OS X.  Bold fonts are only used for highlights everywhere
 that I looked.

 Pd doesn't have different font weights anyway.

 I think it is important that Pd also follow these  established
 standards, so that's why I went with a normal weight  font.  Max/MSP
 and jMax also use a normal weight font.  So in effect,  I feel I am
 not making this decision, instead I found it quite  difficult to
 continue using a bold font when nothing else did.

 The IMO well designed Ableton Live uses bold a lot, most prominently
 in their grid boxes. On stage normal weight is not easy to read at
 all.

 That is not to discount your issue with the font.  Ideally, each user
 could set their own font to their needs.  That will take more work,
 but it's within reach.

 I don't want to force everyone to use the same font weights that I
 prefer either.

 But what I don't understand: Why not let the default for now be bold
 like in the past years and make normal weight optional for later?

 While many people complained about the Courier font sizes, I've never
 heard anyone complain about the bold weight. To me it seems dropping
 bold is like fixing something that wasn't broken[*], and doing it just
 because so far Pd dared to be different from Max, jMax or Gnome IMO is
 not convincing enough. That's probably the crucial point where we
 disagree.

AFAIK, it's well known that bold text is bad for reading.  Having  
paragraphs of text in bold makes for slow reading, IMHO.  Pd help  
patches should have text in them.  That's what started this for me.

Many newbies think that Pd looks very strange.  Many people have  
expressed gratitude for the switch to the normal weight font.

 One easy thing that might help you is using a bigger font.

 Font size is a completely different issue. I don't have a problem with
 size 10 in the Pd I'm currently using, and I use 11 normally in xterm
 and Vim. (Font size 12 in Pd/Linux is a problem for other reasons as
 well, as it takes away too much patching area.)

One thing you might have overlooked is that Bitstream Vera Sans Mono  
is actually a bit smaller than Courier.  Plus Vera Sans Mono reads  
lighter than other similar fonts, like Courier.  I did not choose  
this font purely because of its looks, the Lucida fonts looked  
better.  But it has to be free, and Lucida fonts are not free.  If  
anyone finds a better font option, I am open to suggestions.

This all would makes 10 point Vera text harder to read.  It also  
makes 12 point more acceptable.  For example, measuring this message  
box: [courier10(

Bitstream Vera Sans Mono12   71x20 (Pd-0.39.2-extended-rc2)
Courier 10   69x17 (Pd-0.40.2)

That's not such a big difference.  Plus now that I got everything  
rendering the same size on all platforms, I think it's possible to  
shave off a pixel from the width.


 [*] (I'm ignoring here that pd-extended now is broken for me.)

Sorry to hear that.  If you want to use it, you could compile it with  
the bold font, or help make a font preference so that everyone can  
choose their own font.

.hc


 Ciao
 -- 
  Frank Barknecht _ __footils.org_ __goto10.org__

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



 


   ¡El pueblo unido jamás será vencido!



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