Re: [PD] timing question

2007-12-17 Thread Frank Barknecht
Hallo, Charles Henry hat gesagt: // Charles Henry wrote: [metro 1] creates a bang each millisecond, approximately. The message rate is constrained by the block size, so you would want to put [metro 1] inside of a subpatch with [block~ 1] for best time resolution. That's not true. Message

[PD] HID on imac with tablet Intuos3

2007-12-17 Thread Joao Miguel Pais
Hi, in followup to the mail yesterday, I'm trying to use my Intuos3 with pd. But apparently hid doesn't take data from the tablet. It recognises the hardware and its data elements, but doesn't poll any data. Pressing all the options in the help patch and screaming at it doesn't seem to help much.

Re: [PD] How to use CVS (was: Granular Synthesis Study)

2007-12-17 Thread Frank Barknecht
Hallo, Phil Stone hat gesagt: // Phil Stone wrote: [polypoly] (note, no tilde) Oops... -- Frank Barknecht _ __footils.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -

Re: [PD] -nogui question

2007-12-17 Thread Frank Barknecht
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote: If an object doesn't have a visual representation, i.e. its not drawn on a canvas, then it won't have a Tcl/Tk representation at all, so the slow GUI stuff doesn't apply to things that aren't visible. That

[PD] creating external on windows (again)

2007-12-17 Thread altern
hi i was asking about creating an external on windows few weeks ago, here i am again, now i have detailed info about the error the engineer from my uni is getting. He says he is using microsoft dev estydio 6.0 and pd.lib library to try to compile the hello world example. The source code is

Re: [PD] creating external on windows (again)

2007-12-17 Thread Martin Peach
altern wrote: hi i was asking about creating an external on windows few weeks ago, here i am again, now i have detailed info about the error the engineer from my uni is getting. He says he is using microsoft dev estydio 6.0 and pd.lib library to try to compile the hello world example. The

Re: [PD] timing question

2007-12-17 Thread Charles Henry
On Dec 17, 2007 3:03 AM, Frank Barknecht [EMAIL PROTECTED] wrote: Hallo, Charles Henry hat gesagt: // Charles Henry wrote: [metro 1] creates a bang each millisecond, approximately. The message rate is constrained by the block size, so you would want to put [metro 1] inside of a subpatch

Re: [PD] timing question

2007-12-17 Thread Derek Holzer
Hi all, Charles Henry wrote: On Dec 17, 2007 3:03 AM, Frank Barknecht [EMAIL PROTECTED] wrote: Hallo, Charles Henry hat gesagt: // Charles Henry wrote: [metro 1] creates a bang each millisecond, approximately. The message rate is constrained by the block size, so you would want to put

Re: [PD] timing question

2007-12-17 Thread Frank Barknecht
Hallo, Charles Henry hat gesagt: // Charles Henry wrote: Try it yourself with a phasor~-clone build from metro and vline~! I see now. That works well up to 1000 Hz. That's because [metro] is capped for periods smaller than 1 msec. If you drive the vline~ phasor clone with a self-made metro

Re: [PD] timing question

2007-12-17 Thread Claude Heiland-Allen
Derek Holzer wrote: Hi all, Charles Henry wrote: On Dec 17, 2007 3:03 AM, Frank Barknecht [EMAIL PROTECTED] wrote: Hallo, Charles Henry hat gesagt: // Charles Henry wrote: [metro 1] creates a bang each millisecond, approximately. The message rate is constrained by the block size, so you

Re: [PD] timing question

2007-12-17 Thread Derek Holzer
Thanks, Zen-Master Claudius. Your quantum revelations still leave me wondering, however, what is the minimum time between two events which can be scheduled? I teach my students that the reason you can't send audio to message (i.e. non-audio) objects is that message objects run slower. While

Re: [PD] timing question

2007-12-17 Thread Claude Heiland-Allen
Derek Holzer wrote: Thanks, Zen-Master Claudius. Your quantum revelations still leave me wondering, however, what is the minimum time between two events which can be scheduled? [delay 0] works. I teach my students that the reason you can't send audio to message (i.e. non-audio) objects

Re: [PD] timing question

2007-12-17 Thread Andy Farnell
On a closely related topic; Since Pd uses logical time why isn't there a render mode Csound style, for those occasions where you don't actually want to run in real time? Is it because blocking on unfinished output would leave no way for an object to notify that it had finished the computation?

Re: [PD] timing question

2007-12-17 Thread Derek Holzer
Of course there's render mode downsample in pd patch- - render to file via sfwrite~ or othe object -- upsample file with sndfile-convert or sound editor tool should do the trick. Yes? At least to keep CPU limits from bottlenecking your render. d. Andy Farnell wrote: On a closely

Re: [PD] timing question

2007-12-17 Thread Derek Holzer
Hi Claude, OK, thanks for going into it a bit more. Makes sense to me, of course, but I'll have to chew on it a while and think of a way to communicate it without twisting up people's heads too much at too early a part of the workshops ;-) Still, it is an inherent part of PD that you keep

Re: [PD] timing question

2007-12-17 Thread Claude Heiland-Allen
Derek Holzer wrote: Of course there's render mode downsample in pd patch- - render to file via sfwrite~ or othe object -- upsample file with sndfile-convert or sound editor tool should do the trick. Yes? At least to keep CPU limits from bottlenecking your render. d. The problem

Re: [PD] timing question

2007-12-17 Thread Martin Peach
If you do something that interacts with reality, like sending something through [comport] using [metro] to schedule it, you will find that the actual messages show up on the serial connector on either side of the audio blocks, so that the average timing over a lot of messages is exact but any

Re: [PD] timing question

2007-12-17 Thread Derek Holzer
This is all fine and dandy. But what about when they ask why they can't connect [osc~ 440] to [+ 1], for example. Why won't PD let the connection get made? I.e., why can't audio go to message objects? d. Frank Barknecht wrote: Hallo, Derek Holzer hat gesagt: // Derek Holzer wrote: OK,

Re: [PD] timing question

2007-12-17 Thread Derek Holzer
Sorry, I read this now and it sounds idiotic! Of course, I know why (one is programmed for DSP and one is not). But again, I thought the difference was that message objects were calculated slower, ie. at block boundaries, which in fact is the restriction of DSP objects! So now that I've been

Re: [PD] Help: computer dead + dropouts on hdsp pcmcia card on OsX+pdext

2007-12-17 Thread Hans-Christoph Steiner
On Dec 16, 2007, at 8:30 PM, Roman Haefeli wrote: On Sun, 2007-12-16 at 19:58 +, Joao Miguel Pais wrote: - I installed my rme hdsp pcmcia card on a friends OsX (don't know now which one, but I think the latest one), and also pd-ext (latest stable version). Audio worked, but there

Re: [PD] timing question

2007-12-17 Thread IOhannes m zmoelnig
Derek Holzer wrote: So now that I've been told that actually DSP objects are slower, it shakes up my world view a bit, so I'm looking for new metaphors to get it back together ;-) all the slower vs faster is non-sense. signals are handled in a _synchronous_ way (they have to process

Re: [PD] kml files

2007-12-17 Thread Mathieu Bouchard
On Thu, 13 Dec 2007, Mathieu Bouchard wrote: You can get twice better worst case by using values ranging from -1 to +1 (because 1 is a power of two, so it lies at the boundary of a new precision level) There was also a mistake in saying that. It improves precision, but only by a factor of

Re: [PD] Help: computer dead + dropouts on hdsp pcmcia card on OsX+pdext

2007-12-17 Thread Derek Holzer
Regardless, it has already been determined that directly connecting to Coreaudio (rather than using Jack as go-between) dramatically increases CPU load of PD. Something to watch out for! As far glitches, I have also only experienced this with internal soundcard. Using the HDSP seems to work

Re: [PD] timing question

2007-12-17 Thread Spencer Russell
Here's a patch that outputs the actual time of the bangs from a metro, and also shows the phasor~ clone generated using vline~. You can see that the actual time that the metro outputs is +/- 5ms (on my system), but the phasor has a constant period anyways! Craziness. So if I wanted to use PD to

Re: [PD] Help: computer dead + dropouts on hdsp pcmcia card on OsX+pdext

2007-12-17 Thread Tim Blechmann
On Mon, 2007-12-17 at 18:00 +0100, Derek Holzer wrote: Regardless, it has already been determined that directly connecting to Coreaudio (rather than using Jack as go-between) dramatically increases CPU load of PD. Something to watch out for! pd is using portaudio's pablio to connect to

Re: [PD] timing question

2007-12-17 Thread Andy Farnell
I don't know if you fell into the same trap as me Derek (because it confused the heck out of me for ages), but if you've come from Csound, which is a true multi-rate system it's easy to see messages the wrong way. On one hand theres a useful analogy between Csound k-rate signals and the Pd

Re: [PD] timing question

2007-12-17 Thread Mathieu Bouchard
On Mon, 17 Dec 2007, Frank Barknecht wrote: Though, even in Pd, GUI messages are treated special: If you click on a [bang( message, this will only be evaluated every 64 samples. But you probably cannot click the mouse repeatedly with a constant 1 msec period anyways, so it shouldn't matter.

Re: [PD] -nogui question

2007-12-17 Thread B. Bogart
The patch is the same in NOGUI or without, so the more objects there are the more processing it takes to open the patch, then more objects there are the more overhead of them communicating... Still lots of the GUI (logic) code is in C, and only the drawing in TK. no gui means the tk part don't

Re: [PD] HID on imac with tablet Intuos3

2007-12-17 Thread Hans-Christoph Steiner
Wacom doesn't use the HID API on Mac OS X, so wacom tablets won't work with [hid] on Mac OS X. They do work on GNU/Linux. .hc On Dec 17, 2007, at 6:08 AM, Joao Miguel Pais wrote: Hi, in followup to the mail yesterday, I'm trying to use my Intuos3 with pd. But apparently hid doesn't

[PD] What exactly is a stack overflow ?

2007-12-17 Thread David Schaffer
Can anyone explain me what a stack overflow error is (at least what it means in Pd) and what I can do about it?! Thank you

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread Derek Holzer
Hi David, Funny, I just posted a good example of stack overflow, the typical counter: [f]X[+ 1] where [+ 1] gets sent to the hot rather than the cold inlet of [f]. Because computers are dumb animals, they will try to do exactly what you tell them to without any regards to whether it's

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread Mike McGonagle
Usually it means you are recursively calling a function (although not always), and it has pushed so many return addresses on the stack, that the stack buffer overflows. The stack is used by the processor to store addresses when it makes function calls, so that it can mark where to return to when

Re: [PD] kml files

2007-12-17 Thread marius schebella
Miller Puckette wrote: If I'm doing it right, single precision float should be able to represent latitude and longitude to within about two meters. yes, a precision of 2m is just not enough for showing buildings or streets. If more precision than that is needed, you'll want to use tr to

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread Andy Farnell
On Mon, 17 Dec 2007 20:08:20 +0100 Derek Holzer [EMAIL PROTECTED] wrote: Sending a bang message to the [until] object, created without an argument saying how many times the bang should be done, will give roughly the same effect-- If only! Objects that overflow the stack cause an exception,

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread Martin Peach
The stack is a block of memory that is reserved by the cpu for saving the location of the next instruction to execute and register contents before jumping to a subroutine or interrupt handler. It is also used to save the parameters of a function call. When the subroutine is completed the program

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread ilya .d
On Mon, Dec 17, 2007 at 07:42:44PM +, Andy Farnell wrote: I know we like to pretend this is feature, but isn't it time to treat it as a bug? on one hand it is not a bug, as pd is a progarmming languge, like for(;;); is not a bug, it's a feature as well as while(); so .. but havind a simple

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread IOhannes m zmoelnig
Andy Farnell wrote: On Mon, 17 Dec 2007 20:08:20 +0100 Derek Holzer [EMAIL PROTECTED] wrote: Sending a bang message to the [until] object, created without an argument saying how many times the bang should be done, will give roughly the same effect-- If only! Objects that overflow

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread Mike McGonagle
On Dec 17, 2007 1:42 PM, Andy Farnell [EMAIL PROTECTED] wrote: I know we like to pretend this is feature, but isn't it time to treat it as a bug? It is only a bug if you mispatch things... otherwise, it works... -- Use the source ___

Re: [PD] kml files

2007-12-17 Thread marius schebella
for now, I am ok with a precision of 1cm. but what is highest positive integer number I can represent with the current pd float precision? 16bit? 32.767? (btw., would be nice to have this information in the float/number helppatch) that would only give me a precision of around 3.4 meters...

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread IOhannes m zmoelnig
ilya .d wrote: On Mon, Dec 17, 2007 at 07:42:44PM +, Andy Farnell wrote: I know we like to pretend this is feature, but isn't it time to treat it as a bug? but havind a simple C progarmm in for(;;) doesn't cause much trouble, SIGINT usualy kills it .. Pd is _is_ a simple C programm,

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread Jamie Bullock
On Mon, 2007-12-17 at 19:44 +, Martin Peach wrote: In pd it usually means you have a loop somewhere, so that the output of an object is feeding its own input: each time a new output is calculated a new input is generated, so the process never ends and eventually the stack overflows.

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread Roman Haefeli
On Mon, 2007-12-17 at 21:45 +0100, IOhannes m zmoelnig wrote: ilya .d wrote: On Mon, Dec 17, 2007 at 07:42:44PM +, Andy Farnell wrote: I know we like to pretend this is feature, but isn't it time to treat it as a bug? but havind a simple C progarmm in for(;;) doesn't cause much

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread Mathieu Bouchard
On Mon, 17 Dec 2007, Martin Peach wrote: The cpu signals an overflow whenever the stack space runs out (the program tries to access the stack beyond its boundaries) With Pd, this is never what happens on its own. Instead, just before processing each message, a check of the count of nested

[PD] Just a single bang

2007-12-17 Thread Branislav Nakic
Hi list, I'm trying to make an interactive video with pure data (with pdp) but I'm new to this and i need a little hint. I want to make one video start as soon as one finishes and I'm using *select number_of_frames *(not sure this is the best way)* *to send the signal to another object to play

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread IOhannes m zmoelnig
hi. i put this back to the pd-list. i guess (and hope) it was only by accident to you answered me in private. Andy Farnell wrote: On Mon, 17 Dec 2007 21:08:05 +0100 IOhannes m zmoelnig [EMAIL PROTECTED] wrote: Andy Farnell wrote: On Mon, 17 Dec 2007 20:08:20 +0100 Derek Holzer [EMAIL

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread Chuckk Hubbard
On Dec 17, 2007 11:15 PM, Mathieu Bouchard [EMAIL PROTECTED] wrote: On Mon, 17 Dec 2007, Martin Peach wrote: The cpu signals an overflow whenever the stack space runs out (the program tries to access the stack beyond its boundaries) With Pd, this is never what happens on its own. Instead,

Re: [PD] Help: computer dead + dropouts on hdsp pcmcia card on OsX+pdext

2007-12-17 Thread Roman Haefeli
On Mon, 2007-12-17 at 11:03 -0500, Hans-Christoph Steiner wrote: On Dec 16, 2007, at 8:30 PM, Roman Haefeli wrote: On Sun, 2007-12-16 at 19:58 +, Joao Miguel Pais wrote: - I installed my rme hdsp pcmcia card on a friends OsX (don't know now which one, but I think the latest one),

Re: [PD] generatiing a keypress

2007-12-17 Thread jim ruxton
Great . Thank you I'll take a look at it. Jim On Mon, 2007-12-17 at 05:24 +0100, Patrice Colet wrote: Hello, I've made another external for generating keystrokes on win32, it still uses the same process but has a different name, and it's documented.

Re: [PD] What exactly is a stack overflow ?

2007-12-17 Thread Martin Peach
Mathieu Bouchard wrote: On Mon, 17 Dec 2007, Martin Peach wrote: The cpu signals an overflow whenever the stack space runs out (the program tries to access the stack beyond its boundaries) With Pd, this is never what happens on its own. Instead, just before processing each message, a check of

Re: [PD] timing question

2007-12-17 Thread Frank Barknecht
Hallo, Derek Holzer hat gesagt: // Derek Holzer wrote: Sorry, I read this now and it sounds idiotic! Of course, I know why (one is programmed for DSP and one is not). But again, I thought the difference was that message objects were calculated slower, ie. at block boundaries, which in fact

Re: [PD] timing question

2007-12-17 Thread Derek Holzer
Uh oh! There goes my Christmas weekend! d. Frank Barknecht wrote: Hallo, Derek Holzer hat gesagt: // Derek Holzer wrote: Sorry, I read this now and it sounds idiotic! Of course, I know why (one is programmed for DSP and one is not). But again, I thought the difference was that message

Re: [PD] timing question

2007-12-17 Thread Frank Barknecht
Hallo, Mathieu Bouchard hat gesagt: // Mathieu Bouchard wrote: On Mon, 17 Dec 2007, Frank Barknecht wrote: The second thing, people need to learn then is, that most signal objects can only be scheduled on block boundaries. So if you send a new frequency to an [osc~] as a float message, the

Re: [PD] timing question

2007-12-17 Thread chris clepper
On Dec 17, 2007 9:20 AM, Claude Heiland-Allen [EMAIL PROTECTED] wrote: BTW, I like how I can turn on [pix_write] and [writesf~] and have everything work in logical time (with very many dropouts) and the final video be in perfect sync with the sound. Using [gemhead] for sequencing the audio

Re: [PD] Just a single bang

2007-12-17 Thread Hans-Christoph Steiner
You have a few options: once in purepd onebang in cyclone oneshot in markex .hc On Dec 17, 2007, at 4:18 PM, Branislav Nakic wrote: Hi list, I'm trying to make an interactive video with pure data (with pdp) but I'm new to this and i need a little hint. I want to make one video start as

Re: [PD] timing question

2007-12-17 Thread Yvan Vander Sanden
Thanks for all the answers. The first ones were a lot of help, and although it seemed to me that you were all talking in tongues after that, it sure sounds interesting. I checked out the tcpclient code by martin peach. The thread solution could be useful, but i also spotted something else:

[PD] xxxxx-workshops: [in]tolerance @ Club Transmediale

2007-12-17 Thread Derek Holzer
x-workshops: [in]tolerance 29 Janaury - 2 February 2008 Club Transmediale Ballhaus Naunynstrasse, Berlin x-workshops: [in]tolerance presents a series of constructivist workshops specially programmed for the ClubTransmediale 2008 festival, emphasising making and connection within the field

[PD] Tkwidget droptarget?

2007-12-17 Thread Luke Iannini (pd)
Hi all,Does anyone (hans?) know if Tk has a widget that will accept dropped files from the OS? I'd be happy to look into adding it to the library if anyone thinks it's possible (and points me in a general direction). It would be really great to be able to drag a wav file onto my sampler to load

[PD] vline~ question

2007-12-17 Thread Kyle Klipowicz
Hello list~ I'm kind of embarrassed, but I really want to learn how to use vline~ effectively. The help file isn't clear on my problem, and I haven't found any reference to it in my Pd folder. If I want to send a message with multiple ramps in a single message, i.e. [1 1000, 0 0 1000, 1 1000

Re: [PD] Tkwidget droptarget?

2007-12-17 Thread Patrice Colet
Luke Iannini (pd) a écrit : Hi all, Does anyone (hans?) know if Tk has a widget that will accept dropped files from the OS? I'd be happy to look into adding it to the library if anyone thinks it's possible (and points me in a general direction). It would be really great to be able to

Re: [PD] Just a single bang

2007-12-17 Thread hard off
or just: [bang( | [spigot] | [t b b] |\ | [0 ( | [outlet] and then connect the [0 ( to the right inlet of the spigot. to reset, send a [1 ( to the spigot ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -

Re: [PD] vline~ question

2007-12-17 Thread hard off
How would I for example make a vline~ message that said to start at 0, go to 1 in 1000 ms, go to .5 in 500 ms, and then back to zero in 750 ms? [0, 1 1000, 0.5 500 1000, 0 750 1500( all third digit offsets are from the initial bang, not from when the last ramp has ended. you have to do the maths

Re: [PD] Tkwidget droptarget?

2007-12-17 Thread hard off
i'd love this if you built it! ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] vline~ question

2007-12-17 Thread hard off
first digit = value to ramp to second digit = ramp time in ms third digit = offset from the time when the message box was banged in your example, [1 1000, 0 0 1000, 1 1000 1000(, it will ramp up to 1 in 1000ms, then down to 0 in 0ms, then back up to 1 in 1000ms.