[PD-dev] Pd OSC implementation(s) incompatible with SC3? [Fwd: Re: [sc-users] NetAddr]

2008-03-05 Thread Claude Heiland-Allen
Hi all, Thought this might be of interest to developers of OSC externals. In short: Pd OSC implementations should send OSC on the same port that they listen on, as that is the "standard" way OSC works. Claude Original Message Subject: Re: [sc-users] NetAddr Date: Tue, 04 Mar

Re: [PD-dev] naming loaders: pdlua, tclpd, etc.

2008-03-13 Thread Claude Heiland-Allen
Hans-Christoph Steiner wrote: > XXX > --- > lua.pd_linux ^^ this is what I use. The project as a whole is called 'pdlua' but the external for Pd is called 'lua', like '-lib lua' and [lua]. > tcl.pd_linux > haskell.pd_linux ^^ this is probably what I will use if I ever resume work on my Haskell

Re: [PD-dev] naming loaders: pdlua, tclpd, etc.

2008-03-13 Thread Claude Heiland-Allen
Albert Graef wrote: > Frank Barknecht wrote: >> May I throw in another one: As loaders are a bit different than >> externals, > > Uhm, did I miss anything? In which way is a "loader" different from an > external? A loader-external adds a hook into Pd's loader (the bit that searches for files to

Re: [PD-dev] Calling a method periodically

2008-03-17 Thread Claude Heiland-Allen
Greg Surges wrote: > Hi all, > > Is there any way to have an external call a method periodically, without > being triggered? Clocks. Check the C API in "m_pd.h".. > I'm thinking of a histogram with a decay function, where the values are > decremented every second (or other time value). I've

[PD-dev] call for test: uline~ = vline~ without blowup when dsp is off

2008-03-18 Thread Claude Heiland-Allen
Hi all, I've been increasingly annoyed by: "[ 1736518 ] [switch~]ing [vline~] causes ever increasing CPU usage" https://sourceforge.net/tracker/index.php?func=detail&aid=1736518&group_id=55736&atid=478070 So I tried to fix it, by pruning expired segments from the start of the queue when segmen

Re: [PD-dev] allow only one instance of external object

2008-03-23 Thread Claude Heiland-Allen
best boy wrote: > hi > is there a way to keep track of the number of opened instances of an > external? Is this an external you are writing? Then yes. Otherwise there's weird tricks you can probably do to keep track, but not control. > if so, can anyone point me to an example object? Just ha

Re: [PD-dev] pd external memory weirdness

2008-04-16 Thread Claude Heiland-Allen
Hi Tim, list, First, I never wrote anything with pthreads, so this may be way off the mark, but this looks suspicious: tim redfern wrote: > void thread_bang(t_thread *x) > { > char* temp=(char*)malloc(100); > free(temp); > > pthread_t stest; > pthread

Re: [PD-dev] changing glob_setfilename() to handle spaces in the dirname

2008-04-28 Thread Claude Heiland-Allen
Hans-Christoph Steiner wrote: > How does that sound? Hacky. What about multiple consecutive spaces? etc > Any better approach? Some sort of escaping mechanism to allow spaces (and other characters) to be safely transmitted in symbols in both directions. > .hc Claude -- http://claudiusmaximu

Re: [PD-dev] bang [block~] to query current blocksize

2008-05-23 Thread Claude Heiland-Allen
Hans-Christoph Steiner wrote: > On May 23, 2008, at 9:00 AM, IOhannes m zmoelnig wrote: >> Hans-Christoph Steiner wrote: >>> I just had a thought, what about adding an outlet to [block~] >>> that will output the block size as a float when [block~] is >>> banged? I can't think of any other wa

[PD-dev] please remove old pdlua from SVN

2008-06-19 Thread Claude Heiland-Allen
Hello, Can one of you fine developers with sf.net access please delete: pure-data/trunk/externals/loaders/pdlua It's at pdlua-0.3, 2 versions behind the current release... Either that or make it refer dynamically to the current development repository: https://devel.goto10.org/svn/maximus/pdlu

Re: [PD-dev] 'cnv' colors

2008-07-07 Thread Claude Heiland-Allen
Mike McGonagle wrote: > Hello all, > > I have a program that I have written that creates lots of small 'cnv' > objects, where I am changing the colors of the backgrounds and the text in > the object. I was noticing that when I create these cnv objects, I have to > use a different 'color number' to

Re: [PD-dev] abstractions

2008-07-07 Thread Claude Heiland-Allen
[EMAIL PROTECTED] wrote: > btw such "range" is very feasible with only pd language dollarg ... couldn't create ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev

Re: [PD-dev] sms pd external - design choices

2008-07-10 Thread Claude Heiland-Allen
m_pd.h declares: EXTERN t_pd *pd_findbyclass(t_symbol *s, t_class *c); maybe that's worth investigating? Rich E wrote: > Hi all, > > As I may have mentioned in a few other places, I have been working > with a c library for analysis/synthesis known as SMS. The library, > although in flux still,

Re: [PD-dev] sms pd external - design choices

2008-07-12 Thread Claude Heiland-Allen
Rich E wrote: > I do not see how I could have more than one buffer at the same time if it > were declared statically. The data has to be 'findable', so I need some way > to name it. Well, you could do what Pd does, and have a static datastructure pointer, with a list/tree/whatever that you can l

Re: [PD-dev] sms pd external - design choices

2008-07-19 Thread Claude Heiland-Allen
[EMAIL PROTECTED] wrote: > Quoting Mathieu Bouchard <[EMAIL PROTECTED]>: > >> On Fri, 18 Jul 2008, Hans-Christoph Steiner wrote: >> >>> It would be great to have people start using this string/blob >>> functionality, but it needs to be changed so that it'll work >>> without patching Pd itsel

Re: [PD-dev] recording the overall state of a patch

2008-08-17 Thread Claude Heiland-Allen
forwind wrote: > Hello Everybody, > > Apologies if this is not the correct place to post this but could > someone point me towards ways to record/save the overall state of a > patch. http://lists.puredata.info/search/PD-list?query=state+saving > What solutions do people generally use ? sssad a

Re: [PD-dev] dump OSC bugs?

2008-08-23 Thread Claude Heiland-Allen
IOhannes m zmoelnig wrote: > whenever i find the time, i want to add a note into the constructor of > the OSCx objects, so you get a warning each and everytime you create one > of these objects. > if someone finds the time before me, i would be glad... can you make it use pd_error (or whatever i

[PD-dev] pd_error in constructors (Was: Re: dump OSC bugs?)

2008-08-23 Thread Claude Heiland-Allen
Claude Heiland-Allen wrote: can you make it use pd_error (or whatever it's called) so you can find the object more easily? would that even work in the constructor? I was curious, so I tested it.. Calling pd_error on the newly constructed object in the newmethod does work (in that find

Re: [PD-dev] Problem building pdlua on MinGW

2008-09-02 Thread Claude Heiland-Allen
PSPunch wrote: > This may or may not be a question specific to pdlua. I have no mingw machines, but I can try to answer. > As a base line, I am using the following combination of files. > > - MinGW for building > - Using pd.dll from pd-extended 0.40.3-20080721 (Win binary package) > - Using m_pd

Re: [PD-dev] Problem building pdlua on MinGW

2008-09-02 Thread Claude Heiland-Allen
PSPunch wrote: > Hi Claude, > > > I have lua.dll and pd.lua both in my "extra" directory now. > > A little excerpt of the output of -stderr -verbose.. > This is when trying to create a [lua] object. > > > tried C:\Program Files\pd\extra\flatspace\lua.dll and failed > tried C:\Program F

Re: [PD-dev] Problem building pdlua on MinGW (solved for now)

2008-09-03 Thread Claude Heiland-Allen
Hi, Thanks for the help, hopefully pdlua svn should now build (and run!) on mingw with the only changes required being in the "user configuration" section at the top of the 'Makefile.static'. PSPunch wrote: > > 1. Copy the following files to the same directory as Makefile.static >

[PD-dev] cross-platform support for externals ("extern" not enough?) (Was: Re: Problem building pdlua on MinGW (solved for now))

2008-09-03 Thread Claude Heiland-Allen
Claude Heiland-Allen wrote: >>After: >> EXTERN void lua_setup(void) { > > Applied this change. Actually, I had to define a new macro depending on MSW, because otherwise the EXTERN stuff operates in the wrong direction (oops). Should work now, thanks to IOhannes fo

Re: [PD-dev] downloading with svn

2008-09-11 Thread Claude Heiland-Allen
patco wrote: > Hi, > > I tried to use svn to downlad pd sources and a few libraries for > developing an external, but whatever the address I put, it always > downloads all the stuff from everyone, every versions, works fine here. an example of selective download: [EMAIL PROTECTED]:~/tmp/svn$ s

[PD-dev] abstraction caching

2008-10-01 Thread Claude Heiland-Allen
Benchmarking an Abstraction Cache for Pd I implemented a rudimentary abstraction caching mechanism for Miller Puckette's pd-0.41-4, which stores the parsed text ("binbuf") associated with the class name instead of looking for files to load every time it is

Re: [PD-dev] representing parent patch levels as args

2008-12-08 Thread Claude Heiland-Allen
Hans-Christoph Steiner wrote: > So I am just adding support to canvas_name and window_name for > getting the names from other canvases besides the current one, i.e. > parent, toplevel, etc. OK. > I am using the now standard numeric notation > that is used in [getdir], iemguts, getdollarzer

Re: [PD-dev] osc automatic routing

2008-12-08 Thread Claude Heiland-Allen
Forwind info wrote: > Hi all, > > Does anybody know if there is a way to automatically send an OSC message to > an internal PD messaging address which happens to be the same as the route > of the OSC message. > So for instance, an osc message arrives with route "/a/sample/route" and > value 50, I

Re: [PD-dev] developer

2008-12-14 Thread Claude Heiland-Allen
Daniel Aschauer wrote: > I wanted to add my external to the repository. How do I become a developer? Send a bio (with your sourceforge username) and description of project to this list and wait for people to not object, or something. BTW: this seems to be obsolete, if someone wants to update it

Re: [PD-dev] osc automatic routing

2009-01-11 Thread Claude Heiland-Allen
Forwind info wrote: > Hi, > > A late catch up on this (err 2 months) > I have done what you suggested below. > >>> "/foo/bar 1 2 3" or other arbitrary osc messages >>> | >>> [t a a] >>> |\ >>> |[list split 1] (or [list]--"$1" would also work here) >>> | : >>> [list split 1] >>> | :

Re: [PD-dev] pd-devel code structure meeting on IRC

2009-02-14 Thread Claude Heiland-Allen
Has the log been posted anywhere yet? I think I have it if no one else has a copy. ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev

Re: [PD-dev] pd-devel code structure meeting on IRC

2009-02-15 Thread Claude Heiland-Allen
Steffen Juul wrote: > On 14/02/2009, at 23.48, Claude Heiland-Allen wrote: > >> Has the log been posted anywhere yet? > > Please do - i'd like to see it. Maybe http://puredata.info/dev/pddevel > is a good place to stick it. http://puredata.info/dev/pddevel/da

Re: [PD-dev] library proposal

2009-02-20 Thread Claude Heiland-Allen
IOhannes m zmoelnig wrote: > Hans-Christoph Steiner wrote: >> >> The current setup means that you can override a pd-vanilla >> abstraction using a binary class in ".", but you can't override a >> pd_vanilla binary using an abstraction in "." That seems to treat >> .pd objectclasses as second

Re: [PD-dev] How to pass indeterminate args to a thread

2009-02-27 Thread Claude Heiland-Allen
B. Bogart wrote: > I figured that doing this with a PD type was unlikely, so I started > messing with creating a structure for my args and passing a pointer to > that. > > So I have defined my structure for a single float arg: > > struct floatArgStruct { > gphoto2_struct *gphoto2; > t

Re: [PD-dev] cyclone and uppercase

2009-03-11 Thread Claude Heiland-Allen
João Pais wrote: another detail: while creating objects, line~ is different from Line~. but while searching for help, it isn't. maybe than's a bug? try with append / Append. I think this is down to your operating system / file system not distinguishing between line / Line / lInE / LINE / ...

Re: [PD-dev] How to construct a dynamic length list in PD external?

2009-03-20 Thread Claude Heiland-Allen
B. Bogart wrote: Hey all, I searched the archives and looked at some of the code in SVN, but I'm still unsure how to do this. I have a nested for loop that grabs the config options from the PTP camera. The length depends on the camera and its mode. How can I append each name to a list suitable

Re: [PD-dev] proper debs (pure:dyne+pd-extended = good)

2009-04-21 Thread Claude Heiland-Allen
Hi Hans, all, Hans-Christoph Steiner wrote: I don't know if any of the active pure:dyne packagers are on this list, but I thought I'd try. From what I have seen, it looks like pure:dyne is doing a much better job of making .deb packages than Pd-extended. I would be great to 'officially' merg

Re: [PD-dev] proper debs (pure:dyne+pd-extended = good)

2009-04-24 Thread Claude Heiland-Allen
Hi, Hans-Christoph Steiner wrote: On Apr 21, 2009, at 3:09 PM, Claude Heiland-Allen wrote: Hi Hans, all, Hans-Christoph Steiner wrote: [snip] The key here is to make sure that the library packages can work with separate versions of pd. Something like 'puredata' and 'pd-e

Re: [PD-dev] [PD] packaging pd and friends WAS: GIT repo

2009-05-17 Thread Claude Heiland-Allen
Hans-Christoph Steiner wrote: Since you are also thinking about packaging, it would be good to open up a discussion about how to handle some things. If you plan on just packaging pd-vanilla, then its easy. If you want to support multiple versions of Pd then it gets a bit more complicated. Y

Re: [PD-dev] Pure Data/adding _path for gridflow

2009-08-01 Thread Claude Heiland-Allen
l_i386 and failed tried ./Gem/Gem.pd_linux and failed tried /usr/lib/pd/extra/gridflow/bundled/Gem/Gem.pd_linux and failed tried /usr/lib/pd/extra/Gem/Gem.pd_linux and failed Gem: can't load library Thnks, Sisil On Sat, Aug 1, 2009 at 8:58 PM, Claude Heiland-Allen < claudiusmaxi...@goto10.o

Re: [PD-dev] Pure Data/adding _path for gridflow

2009-08-01 Thread Claude Heiland-Allen
sisil mehta wrote: hello, i have just compiled gridflow from cvs and get a : "/usr/lib/pd/extra/gridflow/gridflow.pd_linux: /usr/lib/pd/extra/gridflow/gridflow.pd_linux: undefined symbol: _ZN9CPPExtern8m_holderE gridflow: can't load library" did you compile gridflow with Gem support? if so, y

Re: [PD-dev] bug???!?!?

2009-08-08 Thread Claude Heiland-Allen
Ed Kelly wrote: [snip] The only difference between them is an [envrms~] measuring object on the frequency signal to the filter - but it's not even in the chain of signals that affects anything. [snip] I didn't try the patch, but I looked at the source code (current svn, revision 11896) brief

Re: [PD-dev] ATI + GridFlow + Gem + C++ + Linux = BOOM

2009-08-23 Thread Claude Heiland-Allen
Hans-Christoph Steiner wrote: Do you have any documentation on this as a suggested workaround? http://wiki.fifengine.de/Segfault_in_cxa_allocate_exception#Workaround_.231 "Explicitly linking against libstdc++ before linking against the opengl libraries resolves this issue!" You can have an

Re: [PD-dev] CUDA discussion

2009-11-02 Thread Claude Heiland-Allen
Hey, Some brief initial thoughts: http://en.wikipedia.org/wiki/CUDA pro: better than OpenGL GPGPU hackery pro: API/ABI-stable for foreseeable future con: only one hardware vendor -vs- http://en.wikipedia.org/wiki/OpenCL pro: royalty free standard with several vendors pro: works on cpus as well

Re: [PD-dev] namespaces for send/receive

2009-11-16 Thread Claude Heiland-Allen
Hans-Christoph Steiner wrote: I am in the process of working on my 'framesync' library, and I just had a thought that I am not sure has come up before. Lots of times, we want to use send/receives in reusable code, but with a global namespace, there is the potential for nameclashes. So I propos

Re: [PD-dev] adding standard install paths to the 'puredata' package

2009-12-03 Thread Claude Heiland-Allen
Some quick comments.. Hans-Christoph Steiner wrote: By the way, is anyone from pure:dyne listening? It would be great to have some input from you. 1. The paths stuff: the status quo is fine, I don't understand what you are trying to fix at all, apart from disruptive "change for the sake of

Re: [PD-dev] changes in atom_getsymbol between pd 0.40-3 and 0.42.4?

2010-02-17 Thread Claude Heiland-Allen
Hi, B. Bogart wrote: The problem is passing the A_GIMME arguments from a wrapper function to a function that runs in a separate thread. [snip] This is the thread safety problem right here: threadArgs->argv = argv; You need to *copy* *all* the data needed by the child thread that m

Re: [PD-dev] WebPd in Pure Data's SVN

2010-05-30 Thread Claude Heiland-Allen
http://gitorious.org allows AGPL and runs on free/open source software; last time I checked github is proprietary. Claude On 30/05/10 18:40, Vilson Vieira wrote: What about github? 2010/5/30 Hans-Christoph Steiner mailto:h...@at.or.at>> How about just starting a new SourceForge projec

[PD-dev] modular pd-extended - when release?

2010-06-19 Thread Claude Heiland-Allen
Hi, I was hoping that pd-extended would be split into a core package (containing the Extended pd) and modular external packages, but it seems[1] that this has been postponed yet again until the next+1 release. In case this becomes "jam tomorrow" forever, what can I do to guarantee that the n

[PD-dev] broken links in pd-extended rc4 deb

2010-06-19 Thread Claude Heiland-Allen
Hi Hans and other pd-extenders, Just noticed this: $ wget http://autobuild.puredata.info/auto-build/latest/Pd-0.42.5-extended-rc4-ubuntu-lucid-amd64.deb $ dpkg -c Pd-0.42.5-extended-rc4-ubuntu-lucid-amd64.deb | grep "\->" | grep Gem lrwxrwxrwx root/root 0 2010-06-19 14:43 ./usr/lib/pd

Re: [PD-dev] uploading Pd git repository to sourceforge

2010-07-15 Thread Claude Heiland-Allen
On 15/07/10 17:08, IOhannes zmölnig wrote: On 07/12/2010 05:33 AM, Miller Puckette wrote: o Pd developers -- is it only me that cannot open files via "open"? No, I got this error too. Command line -open is what I used so far, but obviously unsatisfactory. i get: bad option "-cursor":

[PD-dev] Pure-data libraries

2010-07-16 Thread Claude Heiland-Allen
Hey everyone, I had a chat with Hans on #dataflow about libraries in Pd (as I've been trying to get canvas-local namespaces working properly). Blog post here with more info and a link to the log, which I annotated with extra information after the fact (the right hand column): http://claudiu

[PD-dev] new loader replacement progress report

2010-07-18 Thread Claude Heiland-Allen
Hi everyone, I've been working on some algorithms to eventually replace the way Pd finds and loads and creates objects. Sorry for the length of this mail, but you can skip some sections if you don't care about implementation details and/or user interface details :) Table of Contents * Sp

Re: [PD-dev] 0.43 omission: 'set-startup' and 'set-path'

2010-07-22 Thread Claude Heiland-Allen
On 22/07/10 05:09, Miller Puckette wrote: Oh yes, and -lib itself needs somehow to be made to work locally to the patch, but this is a huge issue I don't know how to deal with. At first glance it should be possible to have canvas-local objectmakers and have the "put on load list" put the absol

[PD-dev] local libraries for local patches are impossible [Was: Re: 0.43 omission: 'set-startup' and 'set-path']

2010-07-27 Thread Claude Heiland-Allen
On 22/07/10 20:07, Claude Heiland-Allen wrote: On 22/07/10 05:09, Miller Puckette wrote: Oh yes, and -lib itself needs somehow to be made to work locally to the patch, but this is a huge issue I don't know how to deal with. At first glance it should be possible to have canvas-

Re: [PD-dev] local libraries for local patches are impossible

2010-07-27 Thread Claude Heiland-Allen
On 27/07/10 22:41, Claude Heiland-Allen wrote: On 22/07/10 20:07, Claude Heiland-Allen wrote: On 22/07/10 05:09, Miller Puckette wrote: Oh yes, and -lib itself needs somehow to be made to work locally to the patch, but this is a huge issue I don't know how to deal with. At first glan

Re: [PD-dev] FYI: lots of pd packages for Debian

2010-10-02 Thread Claude Heiland-Allen
On 05/08/10 23:10, Hans-Christoph Steiner wrote: FYI: I'm in the process of getting all my pd packages into Debian. If you are interested, you can follow the progress by checking out all of the packages that start with "pd-" on this page: http://www.debian.org/devel/wnpp/being_packaged I see

Re: [PD-dev] Segfault without messages

2010-10-23 Thread Claude Heiland-Allen
On 23/10/10 20:36, Brian Neltner wrote: I have attached the offending script. Seems quite simple, but I don't have pd-extended and miss the required libraries to test. pd gui; pd process exited Segmentation Fault Not very useful... You could try 'gdb' or 'valgrind' to get more useful out

Re: [PD-dev] Segfault without messages

2010-10-23 Thread Claude Heiland-Allen
programming... Brian On Sat, 2010-10-23 at 21:13 +0100, Claude Heiland-Allen wrote: On 23/10/10 20:36, Brian Neltner wrote: I have attached the offending script. Seems quite simple, but I don't have pd-extended and miss the required libraries to test. pd gui; pd process exited Segmentat

[PD-dev] [maxlib/history] segfault

2010-10-23 Thread Claude Heiland-Allen
just be switching to mavg instead of history for now since I need to be confident it will work. Is there someone I can notify who maintains the history external who would be interested in knowing about the bug? Brian On Sun, 2010-10-24 at 00:38 +0100, Claude Heiland-Allen wrote: Yes, in th

Re: [PD-dev] integrating pdlua into Pd-extended

2011-03-18 Thread Claude Heiland-Allen
Hey, On 18/03/11 17:38, Martin wrote: The error actually seems to originate in pkg-config not finding lua5.1: From my limited experience, Lua 5.1 libraries have different names all over the place, even in different GNU/Linux distros (lua51, lua5.1, lua5, lua, ...). A bit of a nightmare.

[PD-dev] nusmuk audio [vdc~] missing?

2011-04-10 Thread Claude Heiland-Allen
Hi, I was hoping to try out [vdc~] but it seems to have vanished from current pure-data repository; I can grab an old revision, but I'm wondering if there was a particular reason it was removed? svn r14362 D /trunk/externals/nusmuk/tab svn r11606 A /trunk/externals/nusmuk/tab/vdc~.c Thanks,

Re: [PD-dev] svn copy error in pure-data/branches/by-author/gg/externals/ggee

2012-05-19 Thread Claude Heiland-Allen
you didn't fill your disk? (just checking the obvious first...) maybe git-svn would be more reliable for getting such ane enormously huge repository as the whole of pure-data with all the vendor sources etc than the svn tool itself? On 19/05/12 19:41, Nicolas Montgermont wrote: Hello all, I

Re: [PD-dev] Pd-cvs Digest, Vol 92, Issue 2

2012-10-03 Thread Claude Heiland-Allen
On 03/10/12 11:00, pd-cvs-requ...@iem.at wrote: add -ffast-math flag to CC lines for linus and Mac Have you checked that this is safe on all architectures? IIRC, it optimizes with the assumption that everything is finite and not NaN, among other things. I know when I wrote 'tilde' (co

Re: [PD-dev] [ pure-data-Feature Requests-3578019 ] I'd like to...

2012-10-18 Thread Claude Heiland-Allen
Hi, On 18/10/12 08:39, SourceForge.net wrote: Feature Requests item #3578019, was opened at 2012-10-18 00:39 It's already implemented... Submitted By: Nobody/Anonymous (nobody) Summary: I'd like to... Initial Comment: ..know if it is possible to use other than "2^n"-blocksizes?! Not for a

Re: [PD-dev] [ pure-data-Feature Requests-3578019 ] I'd like to...

2012-10-18 Thread Claude Heiland-Allen
Hi, On 18/10/12 08:39, SourceForge.net wrote: Feature Requests item #3578019, was opened at 2012-10-18 00:39 It's already implemented... Submitted By: Nobody/Anonymous (nobody) Summary: I'd like to... Initial Comment: ..know if it is possible to use other than "2^n"-blocksizes?! Not for a

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

2012-11-14 Thread Claude Heiland-Allen
On 14/11/12 23:07, Jonathan Wilkes wrote: > Second, (t_foo *)x->member will give me an error: "t_text has no member > named x_member". I don't understand I guess it's precedence[0]? (T *)x->m equals: (T *)(x->m) when you really want: ((T *)x)->m Claude [0] http://en.wikipedia.org/wiki/Ope

Re: [PD-dev] [ pure-data-Patches-3597233 ] Win32: use binary open mode by default everywhere

2012-12-21 Thread Claude Heiland-Allen
On 21/12/12 22:27, SourceForge.net wrote: Patches item #3597233, was opened at 2012-12-18 08:43 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3597233&group_id=55736 Summary: Win32: use bina

Re: [PD-dev] Functional Programming & C code generation

2013-05-14 Thread Claude Heiland-Allen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Tom, pd-dev, On 14/05/13 17:18, Tom Schouten wrote: > Is there anyone here interested in Functional Programming and C > code generation for DSP code? Yes! My most recent experiments are: https://gitorious.org/maximus/tilde http://mathr.co.uk/blo

Re: [PD-dev] Functional Programming & C code generation

2013-05-17 Thread Claude Heiland-Allen
On 16/05/13 16:32, Tom Schouten wrote: > What I want to do is to get the image processing part of PDP to run on > the GPU. > Target platforms: desktop, Android, iOS, something like raspberry pi, ... > Currently probably Android as first attempt. OpenGL ES2 is probably the best thing to target firs

[PD-dev] floating point exception crashes (INT_MIN % -1)

2013-07-10 Thread Claude Heiland-Allen
Hi, Pd (tested with version 0.42.6 and its bundled expr) are crashable with: INT_MIN % -1 Pd aborts hard with Floating point exception. Linux cappuccino 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux sizeof(int) is 4 Claude -- http://mathr.co.uk #N canvas 0 0 415 307 10; #X obj 82 102

[PD-dev] [pure-data:bugs] #1099 misleading message when single-stepping with global dsp off

2013-08-07 Thread Claude Heiland-Allen
--- ** [bugs:#1099] misleading message when single-stepping with global dsp off** **Status:** open **Labels:** block~ switch~ **Created:** Wed Aug 07, 2013 07:15 AM UTC by Claude Heiland-Allen **Last Updated:** Wed Aug 07, 2013 07:15 AM UTC **Owner:** nobody Pd 0.45.0test (git from today

[PD-dev] [pure-data:bugs] #1100 CFLAGS=-O6 breaks CC=clang

2013-08-07 Thread Claude Heiland-Allen
--- ** [bugs:#1100] CFLAGS=-O6 breaks CC=clang** **Status:** open **Labels:** buildsystem performance **Created:** Wed Aug 07, 2013 09:58 AM UTC by Claude Heiland-Allen **Last Updated:** Wed Aug 07, 2013 09:58 AM UTC **Owner:** nobody Versions Pd-0.45.0 ("test") comp

[PD-dev] [pure-data:bugs] #1101 make install fails if already installed to the same prefix

2013-08-07 Thread Claude Heiland-Allen
--- ** [bugs:#1101] make install fails if already installed to the same prefix** **Status:** open **Labels:** buildsystem **Created:** Wed Aug 07, 2013 11:09 AM UTC by Claude Heiland-Allen **Last Updated:** Wed Aug 07, 2013 11:09 AM UTC **Owner:** nobody Pd fresh from git. Reproduction

[PD-dev] [pure-data:bugs] #1103 confusing help for subpatch and table

2013-08-08 Thread Claude Heiland-Allen
--- ** [bugs:#1103] confusing help for subpatch and table** **Status:** open **Labels:** documentation **Created:** Thu Aug 08, 2013 04:33 PM UTC by Claude Heiland-Allen **Last Updated:** Thu Aug 08, 2013 04:33 PM UTC **Owner:** nobody Pd-0.45.0 ("test") compiled 17:10:02 Aug 8

Re: [PD-dev] [PATCH] Avoid crash in vd~ for nan/inf input values

2013-09-10 Thread Claude Heiland-Allen
Hi Kjetil, In my own code I tend to exploit the incomparibility of NaN. Instead of: if (x < lo) x = lo; if (x > hi) x = hi; I write: if (! (x >= lo)) x = lo; if (! (x <= hi)) x = hi; As any comparison with NaN gives false, the first version will pass NaN through unchanged, but the second vers

Re: [PD-dev] Pd-cvs Digest, Vol 109, Issue 3

2014-03-03 Thread Claude Heiland-Allen
Hi, this daily spam (since months) is starting to get tedious, can these issues be fixed so that following development returns to comfort? Thanks, Claude On 03/03/14 11:00, pd-cvs-requ...@iem.at wrote: Send Pd-cvs mailing list submissions to pd-...@iem.at To subscribe or unsubscri

Re: [PD-dev] [ pure-data-Bugs-1602066 ] iemgui empty vertical offset crashes X on Linux

2006-11-24 Thread Claude Heiland-Allen
Frank Barknecht wrote: > Hallo, > SourceForge.net hat gesagt: // SourceForge.net wrote: > >> Summary: iemgui empty vertical offset crashes X on Linux >> >> Initial Comment: >> Steps to crash X windowing system on Linux using Pd: >> >> 1. Start X >> 2. Start Pd >> 3. Create a new patch >> 4. Create

Re: [PD-dev] glob for windows?

2007-01-05 Thread Claude Heiland-Allen
Hans-Christoph Steiner wrote: Does anyone know of a glob implementation in C for Windows? My naive Google Code Search turns up this: http://tinyurl.com/yfllga -- part of PHP5, BSD license ___ PD-dev mailing list PD-dev@iem.at http://lists.puredata.

[PD-dev] inverse of myclass_setup()? myclass_unsetup()?

2007-01-07 Thread Claude Heiland-Allen
Hi, Say I have the following: hsext_setup() { /* start Haskell run time system */ } hsext_unsetup() { /* stop Haskell run time system cannot be restarted hereafter */ } Am I correct in assuming hsext_setup() will be called at most once? How can I ensure hsext_unsetup() is

[PD-dev] "float a" vs "symbol 1"

2007-01-10 Thread Claude Heiland-Allen
"float a" | [print] error: Bad arguments for message 'float' to object 'messresponder' but "symbol 1" | [print] print: symbol (in fact an empty symbol: selector message>, checked with Print.hs from hsext [1]) I think *both* cases should error, with a more informative error message (s

[PD-dev] how do I go about pd_bind()ing multiple symbols to one object and distinguish between them?

2007-03-02 Thread Claude Heiland-Allen
Hi, I'm writing an external, and I want it to have multiple named receivers that do different things (something that seems trivial for an abstraction but rather tricky for an external). I worked out how to have multiple 'anything' inlets using a proxy class (modelled after the [list ...] inter

Re: [PD-dev] how do I go about pd_bind()ing multiple symbols to one object and distinguish between them?

2007-03-03 Thread Claude Heiland-Allen
Frank Barknecht wrote: > Hallo, > Claude Heiland-Allen hat gesagt: // Claude Heiland-Allen wrote: > >> I'm writing an external, and I want it to have multiple named receivers >> that do different things (something that seems trivial for an >> abstraction b

Re: [PD-dev] how do I go about pd_bind()ing multiple symbols to one object and distinguish between them?

2007-03-04 Thread Claude Heiland-Allen
Frank Barknecht wrote: Hallo, Claude Heiland-Allen hat gesagt: // Claude Heiland-Allen wrote: The initial aim is to write an external that does similar to what an abstraction made up of loads of copies of [receive $1-balb]--[list prepend balb]--[list trim]--[outlet] would do, with '

Re: [PD-dev] Separating GUI from the engine in PD

2007-03-12 Thread Claude Heiland-Allen
Chris McCormick wrote: > On Tue, Mar 13, 2007 at 12:27:33AM -0400, carmen wrote: >> On Mon Mar 12, 2007 at 11:08:42AM +0100, Pierpaolo Marcon wrote: >>> I'm trying to put Pd on a DSP processor, but I need to separate completely >>> the Pd engine from the GUI. >>> Does anybody knows if it is availab

[PD-dev] how do I get my containing canvas? (Was: Re: [PD] relative pathes: problems with [open(-message to pd)

2007-03-23 Thread Claude Heiland-Allen
Steffen wrote: > On 22/03/2007, at 23.41, Roman Haefeli wrote: > >> When opening patches by sending messages to pd, the path is >> relative to >> pd's startup-location. when loading other files (text-, audio-, >> data-files etc) the path is set relative to the location of the patch. >> since the

Re: [PD-dev] how do I get my containing canvas? [solved]

2007-03-24 Thread Claude Heiland-Allen
with canvas_open(). canvas_getcurrent() is only valid in the _new function, I assume? > rich Thanks, Claude > > On 3/23/07, Claude Heiland-Allen wrote: >> >> Steffen wrote: >> > On 22/03/2007, at 23.41, Roman Haefeli wrote: >> > >> >> When o

[PD-dev] definitions in m_pd.h that aren't present in pd (and vice versa)

2007-04-29 Thread Claude Heiland-Allen
Hi, I'm trying to use SWIG in my work on a Lua external for Pd, and had to comment out the following definitions in m_pd.h to get code generated by SWIG to load without "undefined symbol" errors: EXTERN t_symbol *pd_getfilename(void); EXTERN t_symbol *pd_getdirname(void); EXTERN void pd_anythi

Re: [PD-dev] recursion in Gem - a tutorial

2007-07-19 Thread Claude Heiland-Allen
IOhannes m zmoelnig wrote: i haven't had a look at the tutorial files, but i was wondering why you couldn't build [nrepeat] (i haen't seen [nnrepeat] on the website, so i don't know what it does) with [repeat] or with the [s]/[r] idiom claude has proposed. see attached patch for a solution using

Re: [PD-dev] pd_error() deprecated

2007-07-19 Thread Claude Heiland-Allen
Hans-Christoph Steiner wrote: > How about a compiler warning, isn't it something like #warning? No, that emits a warning when the #warning line is reached by the preprocessor. In GNU C you can emit warnings when deprecated functions are *used* like this: int old_fn () __attribute__ ((deprecate

Re: [PD-dev] help-array crashing outlet_anything

2007-07-25 Thread Claude Heiland-Allen
[EMAIL PROTECTED] wrote: > Intstore *storepointer; > Intstore *storepointer = new Intstore(); > storepointer[arraynumber] = *pointer; This is the problem. You have only one Intstore object pointed to by storepointer, but you're assuming you have more than one whenever arraynumber is not

[PD-dev] fix for pd compilation on OpenSUSE (HZ and sysconf())

2007-08-26 Thread Claude Heiland-Allen
irc.freenode.net/#dataflow 2007-08-26 11:21 < AndyGraybeal> x_misc.c: In function 'cputime_bang2': 11:21 < AndyGraybeal> x_misc.c:233: error: 'HZ' undeclared (first use in this function) 11:21 < AndyGraybeal> x_misc.c:233: error: (Each undeclared identifier is reported only once 11:21 < AndyGrayb

[PD-dev] sys_idlehook and audio API interaction

2007-09-05 Thread Claude Heiland-Allen
Hi, I made an external to let patches do things when Pd is idle: [idlebang] -- output a bang when Pd is idle but it seems to be heavily dependent on the audio API. With OSS, I get around 200 bangs per second. With ALSA, I get around 7 bangs per second. With JACK, I get around 1 bang per

Re: [PD-dev] sys_idlehook and audio API interaction

2007-09-05 Thread Claude Heiland-Allen
this, but i'll promise that i'll do one of these days. > > greetings, > Thomas > > Am 05.09.2007 um 20:48 schrieb Claude Heiland-Allen: > >> Hi, >> >> >> I made an external to let patches do things when Pd is idle: >> >> [idlebang] --

Re: [PD-dev] pdlua: volatile objects...?

2007-09-23 Thread Claude Heiland-Allen
[EMAIL PROTECTED] wrote: > hi list, hi claude. > > using the great pdlua extension it is easy to create object(classe)s in lua. > however, the class is registered on loading and then kept in memory of pd. The problem is Pd doesn't give loaders the chance to load a class if it is already loaded,

Re: [PD-dev] pdlua: volatile objects...?

2007-09-23 Thread Claude Heiland-Allen
Claude Heiland-Allen wrote: > [EMAIL PROTECTED] wrote: >> hi list, hi claude. [snip] >> would this be easy to implement? > > Not too hard, hopefully, but not trivial either. I found it rather harder than I expected (eg: what is the rationale behind the type of class_addcr

Re: [PD-dev] Was: [PD] Good sounding PD reverb patches - anyone?

2007-10-17 Thread Claude Heiland-Allen
Patrice Colet wrote: > Peter Plessas a écrit : >> Hi, >> >> have a look at Thomas Musil's excellent Room Reverberation Simulation >> too: >> >> http://pure-data.cvs.sourceforge.net/pure-data/externals/iem/iem_roomsim/ >> >> Ah, i am not sure how to find binaries for windows though... >> > > Hello,

Re: [PD-dev] getting the classname in an class

2007-10-26 Thread Claude Heiland-Allen
Hi, See attached external and Pd patch for a solution (workaround?) using an A_GIMME constructor, at least with pd-miller-0.40-2... Thanks, Claude -- http://claudiusmaximus.goto10.org howto-get-creation-classname.tar.gz Description: application/gzip ___

Re: [PD-dev] getting the classname in an class

2007-10-27 Thread Claude Heiland-Allen
Mathieu Bouchard wrote: > On Sat, 27 Oct 2007, Claude Heiland-Allen wrote: > >> See attached external and Pd patch for a solution (workaround?) using >> an A_GIMME constructor, at least with pd-miller-0.40-2... > > This is because the first argument of the constructor

[PD-dev] autotools magic for externals?

2007-11-29 Thread Claude Heiland-Allen
Hi all, I've been trying to use autotools (autoconf and friends) to build pdlua, but have ended up in a world of pain and deleted my experiments out of frustration. I tried to understand the system used in CVS/externals/moocow/, but the wizardry was somewhat beyond me. Even more so with the

Re: [PD-dev] Lua object help-path strangeness

2007-12-05 Thread Claude Heiland-Allen
Hi Frank, all, Frank Barknecht wrote: > This doesn't seem to be specific to Lua: pdlua doesn't do anything > regarding help file searches at all, "grep help pdlua/src/*" yields no > results. So Claude and I suspect it's something with the loader > functionality. Can someone comment on this? I

Re: [PD-dev] pd-extended loadlib request

2008-01-25 Thread Claude Heiland-Allen
Hans-Christoph Steiner wrote: > On Jan 24, 2008, at 2:31 PM, Mathieu Bouchard wrote: > >> On Wed, 23 Jan 2008, Hans-Christoph Steiner wrote: >> >>> What other programming language has aliases? >> Ruby accepts both 'indices' and 'indexes' as selectors in the Array >> and Hash classes. Ruby has 'a

  1   2   >