Re: [PD-dev] Use Pd executable to debug an external

2023-09-11 Thread Joseph Larralde
/09/2023 à 00:49, Joseph Larralde a écrit : Hi list, I'm looking for advice about how to debug a Pd external using breakpoints etc (on macos big sur ATM). I'm actually experimenting avendish : https://github.com/celtera/avendish/ while working on a new object. I started from the suggested

[PD-dev] Use Pd executable to debug an external

2023-09-10 Thread Joseph Larralde
Hi list, I'm looking for advice about how to debug a Pd external using breakpoints etc (on macos big sur ATM). I'm actually experimenting avendish : https://github.com/celtera/avendish/ while working on a new object. I started from the suggested template :

Re: [PD-dev] why must one never send a message from a perform routine ?

2023-08-23 Thread Joseph Larralde
k. You can save a little bit of latency, but it is less forgiving to CPU spikes or non-realtime-safe operations. Christof On 22.08.2023 15:08, Joseph Larralde wrote: Thanks Christof for the additional insight. I've always been puzzled by the fact that everything runs on a single thread in Pd. I gues

Re: [PD-dev] why must one never send a message from a perform routine ?

2023-08-22 Thread Joseph Larralde
. Best, Joseph Larralde -- freelance developer www.josephlarralde.fr Le 22/08/2023 à 11:55, Christof Ressi a écrit : How well does it work? It seems to work quite well. With synthetic benchmarks I can get a 6x speedup on my 8 core machine, but I need to do some more practical testing

Re: [PD-dev] why must one never send a message from a perform routine ?

2023-08-21 Thread Joseph Larralde
/08/2023 à 19:08, Claude Heiland-Allen a écrit : See bang~ in pure-data/src/d_misc.c for an example that uses a clock to send a message from DSP. On 21/08/2023 18:02, Miller Puckette wrote: The built-in objects "delay", "metro" and "pipe" use clocks in various wa

[PD-dev] why must one never send a message from a perform routine ?

2023-08-21 Thread Joseph Larralde
any doc about clocks, is there a known object that uses them that I could take as an example ? Sorry if this has been brought up before (which is probably the case), and thanks in advance for your enlightenments. Cheers, Joseph Larralde -- freelance developer w

Re: [PD-dev] dynamic patching - is iemguts the way to go?

2019-08-21 Thread Joseph Larralde
An approach I've been using successfully is to put a [switch~] and some fade-in / fade-out mechanism (with appropriate delays to avoid audio artifacts) in all subpatches that need to be exclusively active. This way you can enable / disable them at will, and you will always only consume the

Re: [PD-dev] libpd search paths

2019-02-15 Thread Joseph Larralde
how this goes with externals. Joseph Le 15/02/19 à 15:11, Joseph Larralde a écrit : For the moment I'm using the default Makefile of libpd (version tagged 0.11.0), which makes use of the -DHAVE_LIBDL flag. It can't find the HAVE_LIBPD definition anywhere, though ... is this normal ? Sorry for my

Re: [PD-dev] libpd search paths

2019-02-15 Thread Joseph Larralde
the flags used in the libpd Makefile. Also, if you're using the libpd Makefile, double-check that HAVE_LIBPD is being defined. On Thu, Feb 14, 2019 at 2:30 PM Joseph Larralde mailto:joseph.larra...@gmail.com>> wrote: Thank you Dan for your explanation. And thanks everyone for h

Re: [PD-dev] libpd search paths

2019-02-14 Thread Joseph Larralde
d separate, precompiled externals. 4. Some environments do *not* allow loading dynamic libraries for legal/security reasons, ie. iOS. I don't this is the problem, but it's good to know... I image you're issue is more to do with 3. Message: 1 Date: Wed, 13 Feb 2019 15:04:19 +0100 Fr

Re: [PD-dev] libpd search paths

2019-02-13 Thread Joseph Larralde
, so at least you can temporarily rule out the node.js wrapper as the cause of the issue. Giulio On Wednesday, 13 February 2019, 12:32:55 GMT, Joseph Larralde wrote: Hi Lucas, From everything you listed, only loading an abstraction from the same dir worked. I'll investigate in the addon's

Re: [PD-dev] libpd search paths

2019-02-13 Thread Joseph Larralde
February 2019, 12:15:59 GMT, Joseph Larralde wrote: Hi Giulio, Le 13/02/19 à 11:11, Giulio Moro a écrit : That sounds like an interesting project, although I struggle to understand how it would be used. Yes it is :) Actually we are working on a project where we make an extensive use of nodejs

Re: [PD-dev] libpd search paths

2019-02-13 Thread Joseph Larralde
e] is working. First with abstractions then with [external]. Mensaje telepatico asistido por maquinas. On 2/13/2019 6:42 AM, Joseph Larralde wrote: Hi, A friend of mine wrote this libpd wrapper for nodejs (which is actually a work in progress) : https://github.com/ircam-jstools/node-libpd It's running fine on

Re: [PD-dev] libpd search paths

2019-02-13 Thread Joseph Larralde
another json field in the init method instead. Does this sound right-minded ? Thanks, Joseph Giulio On Wednesday, 13 February 2019, 09:49:08 GMT, Joseph Larralde wrote: Hi, A friend of mine wrote this libpd wrapper for nodejs (which is actually a work in progress) : https://github.com/ircam

Re: [PD-dev] HMM in PD

2018-12-13 Thread Joseph Larralde
Hey, I've been working on Jules Françoise's XMM library at IRCAM during a couple of years. It's a really cool GMM and HMM library, in GPL 3 license. I made wrappers for unity and nodejs, and several demo projects based on this library. It's also there in Max as part of IRCAM's MuBu free

Re: [PD-dev] compiling 32 bit linux externals on 64 bit linux using pd-lib-builder

2018-11-10 Thread Joseph Larralde
de nov de 2018 às 19:39, Joseph Larralde mailto:joseph.larra...@gmail.com>> escreveu: For your information ... I ended up installing a 32 bit debian on a new virtual box and the compilation worked perfectly, without altering the makefile or anything else.

Re: [PD-dev] compiling 32 bit linux externals on 64 bit linux using pd-lib-builder

2018-11-09 Thread Joseph Larralde
For your information ... I ended up installing a 32 bit debian on a new virtual box and the compilation worked perfectly, without altering the makefile or anything else. So this was probably the most straightforward way :) Cheers, Joseph Le 09/11/18 à 14:40, Joseph Larralde a écrit : Hello

[PD-dev] compiling 32 bit linux externals on 64 bit linux using pd-lib-builder

2018-11-09 Thread Joseph Larralde
Hello, I'm actually trying to compile my lib for linux on a debian jessie virtual box. So far I managed to build against the native architecture (x86_64). Now I'm trying to build the 32 bit version. I installed gcc-multilib and g++-multilib because some system libraries were missing. I also

Re: [PD-dev] distributing a collection of externals and abstractions using deken

2018-06-18 Thread Joseph Larralde
That's perfect, I think I know everything I need now. I still have to sort out some outdated abstractions and write a couple of help patches, and I'm ready to go. Thanks a lot, Joseph Le 18/06/18 à 17:02, IOhannes m zmoelnig a écrit : On 2018-06-18 16:32, Joseph Larralde wrote: Thank you

Re: [PD-dev] distributing a collection of externals and abstractions using deken

2018-06-18 Thread Joseph Larralde
, Joseph Le 17/06/18 à 19:20, IOhannes m zmölnig a écrit : On 06/17/2018 01:17 PM, Joseph Larralde wrote: What is the cleanest way to organize my stuff in this case ? in the source repository, the best way is the one that fits your workflow. it's the only thing that matters. there are many many

Re: [PD-dev] distributing a collection of externals and abstractions using deken

2018-06-17 Thread Joseph Larralde
24) hours until deken updates the database. So don't be impatient if it doesn't show up on Pd's Deken. :) Mensaje telepatico asistido por maquinas. On 6/17/2018 9:28 AM, Joseph Larralde wrote: No, I've been reading this already and it doesn't mention abstractions. But you're right, I should

Re: [PD-dev] distributing a collection of externals and abstractions using deken

2018-06-17 Thread Joseph Larralde
 : Is this what your a looking for? : https://github.com/pure-data/deken/blob/master/developer/README.md -- Mensaje telepatico asistido por maquinas. On 6/17/2018 8:17 AM, Joseph Larralde wrote: Hi list, Apologies if I didn't browse the archives enough before coming here, but I remain with a stupid question

[PD-dev] distributing a collection of externals and abstractions using deken

2018-06-17 Thread Joseph Larralde
Hi list, Apologies if I didn't browse the archives enough before coming here, but I remain with a stupid question. I have a couple of externals I'd like to publish using deken, and the doc is explicit enough to allow me to do this. But, along with these externals, I have some abstractions

Re: [PD-dev] pd external c++ example

2018-06-04 Thread Joseph Larralde
m zmoelnig a écrit : On 2018-06-04 13:05, Joseph Larralde wrote: And as you said, it compiles with extern "C" surrounding only the setup function. In fact it even compiles without any extern "C" at all (but won't load, probably due to name mangling). yes. you only need the 'e

Re: [PD-dev] pd external c++ example

2018-06-04 Thread Joseph Larralde
't_atomtype' for 6th argument EXTERN t_class *class_new(t_symbol *name, t_newmethod newmethod, is you're 6th argument a '0'? looks like in C++ you can't pass an int where an enum (t_atomtype) is expected. try to pass 'A_NULL' instead. Christof Gesendet: Sonntag, 03. Juni 2018 um 09:40 Uhr Vo