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 version
---
** [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 2013
What
---
** [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
---
** [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
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
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 first
-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
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]
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
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
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'
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,
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,
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.
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
, 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
Segmentation Fault
Not very useful...
You could try 'gdb' or 'valgrind
about the bug?
Brian
On Sun, 2010-10-24 at 00:38 +0100, Claude Heiland-Allen wrote:
Yes, in the absence of symbol information from 'history.pd_linux', I
would guess that it is these lines that are the problem:
http://pure-data.svn.sourceforge.net/viewvc/pure-data/branches/pd-extended/0.42
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-local
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 glance
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
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
*
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):
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:
snip
bad option
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
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 h...@at.or.at mailto:h...@at.or.at
How about just starting a new
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
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
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
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)
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.org wrote:
sisil
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,
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.
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-extended'
which
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'
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
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_symbol
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 class classes
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/dataflow-2009-02-13.log/view
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
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
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, getdollarzero,
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
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
1)
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 for pointing out the issue
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
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 it's
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 last
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
[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 itself. IOhannes
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
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, is
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 get
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:
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
--
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;
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 have
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 done
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
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 load
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
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 'alias' as a
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 did
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
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
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 is the same thing
as the first
[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, but
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_addcreator()?), so I wrote
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
:48 schrieb 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
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 AndyGraybeal
[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
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__
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
valid in the _new function, I assume?
rich
Thanks,
Claude
On 3/23/07, Claude Heiland-Allen claudiusmaximus at goto10.org wrote:
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
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 patch
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 'balb
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 but rather tricky for an external).
Does
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 ...]
float a
|
[print]
error: Bad arguments for message 'float' to object 'messresponder'
but
symbol 1
|
[print]
print: symbol
(in fact an empty symbol: selectorsymbol messagesymbol, checked
with Print.hs from hsext [1])
I think *both* cases should error, with a more informative error
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
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
81 matches
Mail list logo