Re: [PD-dev] from t_symbol to t_class

2013-01-04 Thread Charles Henry
On Fri, Jan 4, 2013 at 11:36 AM, Jonathan Wilkes wrote: > - Original Message - > > From: IOhannes zmölnig > > To: pd-dev@iem.at > > Cc: > > Sent: Friday, January 4, 2013 4:43 AM > > Subject: Re: [PD-dev] from t_symbol to t_class > > > > On 01/04/2013 07:19 AM, Miller Puckette wrote: > >>

Re: [PD-dev] shared class data and functions

2012-11-14 Thread Charles Henry
On Wed, Nov 14, 2012 at 1:17 AM, Jonathan Wilkes wrote: > I have three classes: > foo, bar, bow > > Foo has a function: > > void foo_blah(t_foo *x, t_symbol *s, t_int argc, t_atom *argv) > { > if(x->x_member == 1) do_something... > } > > Bar and bow both have x->x_member, too, and I want all

Re: [PD-dev] non-2^n blocksizes (was Re: [ pure-data-Feature Requests-3578019 ] I'd like to...)

2012-10-23 Thread Charles Henry
On Tue, Oct 23, 2012 at 1:02 PM, Miller Puckette wrote: > all the 'ugens' actually look at the allocated > size of input/output signals to determine the number of points to calculate. Okay--I see where this goes now. You just pass the signal data structure to the "dsp" method and the "dsp" metho

Re: [PD-dev] non-2^n blocksizes (was Re: [ pure-data-Feature Requests-3578019 ] I'd like to...)

2012-10-23 Thread Charles Henry
That's not completely unusual for things in the dspcontext struct. Some of them (I think "dc_toplevel" is another one) get stored there but not used--because the value gets set and used in the very same function. Over the weekend, I went digging for calcsize but gave up (I also wanted to prove or d

Re: [PD-dev] [OT] spambots that deliver compliments?

2012-04-03 Thread Charles Henry
On 4/3/12, András Murányi wrote: > Maybe it tries to inject javascript for xss > (http://en.wikipedia.org/wiki/Cross-site_scripting) or php or mysql to > be eventually executed on the server? Or we're just being malicious ;) > > András LOL--I get it now. Probably, sourceforge has some intelligen

[PD-dev] [OT] spambots that deliver compliments?

2012-04-03 Thread Charles Henry
I'm somewhat confused by these recent comments to the bug tracker (tickets 3514520, 3514538, 3514563). There appears to be a spambot out there that just enters non-descript compliments into web forms. Who would write such a thing? I thought spambots were created for phishing scams, selling fake

Re: [PD-dev] per-thread storage in Pd in support of pdlib - discussion?

2012-02-14 Thread Charles Henry
On 2/13/12, Mathieu Bouchard wrote: > Do you understand what I say, or you just repeat what I was replying to ? I thought I understood--was there something I missed? The point of the original remark is that you always lose some of your potential computing power when trying to use multiple resour

Re: [PD-dev] per-thread storage in Pd in support of pdlib - discussion?

2012-02-13 Thread Charles Henry
On 2/11/12, Mathieu Bouchard wrote: > Le 2012-01-26 à 14:45:00, Charles Henry a écrit : > >> When talking about cluster computing, I had someone once ask: "Is that a >> case where the whole is greater than the sum of its parts?" "It's less. >> Always

Re: [PD-dev] per-thread storage in Pd in support of pdlib - discussion?

2012-01-26 Thread Charles Henry
On Wed, Jan 25, 2012 at 5:32 PM, Peter Brinkmann wrote: > I don't think users have anything to gain from fine-grained control of > threads.  That seems like an optimization hint that may or may not be > helpful, depending on a lot of factors that are not obvious and will differ > from machine to

Re: [PD-dev] per-thread storage in Pd in support of pdlib - discussion?

2012-01-25 Thread Charles Henry
On Wed, Jan 25, 2012 at 11:46 AM, Peter Brinkmann wrote: > > Hi Chuck, > Check out the early bits of this thread --- various use cases already came > up along the way: > http://lists.puredata.info/pipermail/pd-dev/2012-01/017992.html.  The short > version is that libpd is being used in such a wide

Re: [PD-dev] per-thread storage in Pd in support of pdlib - discussion?

2012-01-25 Thread Charles Henry
On Sat, Jan 14, 2012 at 3:04 PM, Miller Puckette wrote: > To Pd dev - > > For some time the good folks who brought us pdlib have been asking how > one could make it possible to run several instances of Pd in a single > address space. Maybe I have on my audio-colored glasses--but that's just where

Re: [PD-dev] double precision Pd: .patch files, tests and benchmarks

2011-10-03 Thread Charles Henry
On Mon, Oct 3, 2011 at 10:19 AM, IOhannes m zmoelnig wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2011-10-03 16:31, Hans-Christoph Steiner wrote: >> >>> These all sound like good ideas to try.  My only concern is that we >>> might let the deployment issues distract from the issu

Re: [PD-dev] canvas class polymorphism

2011-03-24 Thread Charles Henry
ernals from the Pd math tilde objects. > For examples of reimplmentations of Pd, check out ZenGarden (C++) and > Webpd (Javascript) http://mccormick.cx/projects/WebPd/ > > .hc > I've been having fun playing with WebPd--but I'm not needing that tool just yet. Soon... soon.

Re: [PD-dev] canvas class polymorphism

2011-03-23 Thread Charles Henry
g an external library to load and make as few changes directly in the vanilla source code. Chuck On Wed, Mar 23, 2011 at 1:51 PM, Hans-Christoph Steiner wrote: > > What's the end goal here? You want an object that acts like a > t_canvas/t_glist? > > .hc > > > On Mar 13

[PD-dev] canvas class polymorphism

2011-03-14 Thread Charles Henry
I've been working through my CUDA Pd project, and I ran into the problem of making externals that copy the canvas class. My first idea was that I wanted a completely separate class with different methods using glist. Calls from Pd looking for t_canvas work just fine, but functions like pd_findbyc

Re: [PD-dev] CUDA discussion

2010-02-24 Thread Charles Henry
Sorry for the double post... I realize I'm not checking the list name correctly each time--so the thread is a little polluted. I'm still studying the Pd source code and trying to figure out the best place to tie in CUDA functions. I think, What I'd like to do is create a "special" canvas that ow

[PD-dev] help with d_ugen.c

2009-11-12 Thread Charles Henry
Hi, list I'm reading through d_ugen.c and I mostly understand what it says. I was wondering if anybody has already written a paper to tell what is in the Pd DSP internals, such as scheduling the DSP tree, or data caching strategies. I am most curious about the behavior of "borrowed signals" and

Re: [PD-dev] CUDA discussion

2009-11-03 Thread Charles Henry
> (proposed) incremental milestones: > 1.  Create an external that checks GPUs and hands back error messages to Pd. > 2.  Create an external that initializes GPUs. > 3.  Create an external that performs host<->device memory transfer and > runs an operation. > 4.  Create an external that performs an

Re: [PD-dev] CUDA discussion

2009-11-03 Thread Charles Henry
> top-down design issues: > 1.  The essential CUDA<->Pd functions should be made separate from > CUDA based Pd externals, with a separate header file, and compilable > to shared and static libraries. > 2.  The set of CUDA<->Pd extensions needs to be able to manage > multiple devices, including devi

[PD-dev] CUDA discussion

2009-11-02 Thread Charles Henry
Dear list, I'd like to start a conversation about CUDA and Pd. For those of you who don't know, CUDA is a minimal instruction set for doing single precision floating point calculations on NVIDIA GPUs. It's a C-based coding paradigm in which blocks of data are copied to GPU device memory and opera

Re: [PD-dev] [PD] Feedback discussion

2009-09-08 Thread Charles Henry
I've got a project that I've put on the shelf and haven't finished. I wanted to figure out how to create stable acoustic feedback, and I can show that a single long-length (on the order of RT60 room reverberation time) FIR filter can be used to equalize the acoustic feedback path. I never succeed

Re: [PD-dev] Fwd: Allocating memory in externals

2007-11-08 Thread Charles Henry
nd to the list... > > > -- Forwarded message -- > From: Mike McGonagle <[EMAIL PROTECTED]> > Date: Nov 8, 2007 7:00 PM > Subject: Re: [PD-dev] Allocating memory in externals > To: Charles Henry <[EMAIL PROTECTED]> > > > I guess my real iss

Re: [PD-dev] Allocating memory in externals

2007-11-08 Thread Charles Henry
Hi, Mike, There are a few Pd-specific calls, although there is no harm AFAICT (I have used them before, but I am not an expert) with using malloc(), calloc(), or alloca(). In m_pd.h (v. 0.40.2 for example), you will find: /* --- memory management */ EXTERN void *

Re: [PD-dev] copybytes - partial array?

2007-09-16 Thread Charles Henry
It will not work. Here is our function prototype: EXTERN void *copybytes(void *src, size_t nbytes); The thing to see here, is that it doesn't actually copy the data to a location you specify. It creates a copy of the data, somewhere in memory, and returns a pointer to the location. If you want

Re: [PD-dev] does pd use dual buffer approach ?

2007-08-18 Thread Charles Henry
> However, then I created a canvas that covered up some things to make > a GOP patch. Ummm apparently I did things in the wrong order, so it > crashes now, every time. nope, it's not the canvas I've confirmed that much I will need to re-organize and re-do the patch... that will take a f

Re: [PD-dev] does pd use dual buffer approach ?

2007-08-18 Thread Charles Henry
Hey, there, Sergei I was just working on an example to show you if it can be done... I have worked with this quite a bit, and have successfully used filters as long as 1.5 seconds long @ 44kHz using my dinky little 1.6Ghz Sempron. Although the original implementation was a subband adaptive filt

Re: [PD-dev] pointers

2007-07-09 Thread Charles Henry
On 7/8/07, Mathieu Bouchard <[EMAIL PROTECTED]> wrote: > On Sat, 7 Jul 2007, Charles Henry wrote: > > > I was wondering if you could clarify for me what types of data > > structures you are pointing to, because I could think of an application > > that this would

Re: [PD-dev] pointers

2007-07-09 Thread Charles Henry
I was wondering if you could clarify for me what types of data structures you are pointing to, because I could think of an application that this would solve. For a while now, I was wondering how to include a wave packets transform in pd. The wave++ library has a wave packets transform, where the

[PD-dev] Symbol "_setup" not found

2007-03-20 Thread Charles Henry
I finished a first draft of an external, called tabread4a~ (which gratuitously borrows tabread4~). It compiles fine, but when loaded by Pd, it returns an error: "Symbol "tabread4a_tilde_setup" not found" Can anyone tell me where I've gone wrong here? Chuck Enclosed is the text of tabread4a~.c: