Re: [PD] Fwd: Variable number of objects?

2011-10-03 Thread Mathieu Bouchard
Le 2011-10-01 à 04:14:00, Ingo a écrit : I wonder what kind of ears it takes to listen to something so complex... rather, what kind of brain lobes it takes. It takes a regular pair of ears - one on the left side and one on the right side! per head ? how many heads do you have ? e.g.

Re: [PD] Fwd: Variable number of objects?

2011-10-03 Thread Ingo
: Variable number of objects? Le 2011-10-01 à 04:14:00, Ingo a écrit : I wonder what kind of ears it takes to listen to something so complex... rather, what kind of brain lobes it takes. It takes a regular pair of ears - one on the left side and one on the right side! per head

Re: [PD] Fwd: Variable number of objects?

2011-10-02 Thread Ingo
[mailto:pd-list-boun...@iem.at] Im Auftrag von IOhannes m zmölnig Gesendet: Samstag, 1. Oktober 2011 18:18 An: pd-list@iem.at Betreff: Re: [PD] Fwd: Variable number of objects? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/01/2011 04:48 AM, Ingo wrote: Every [receive] will have to check

Re: [PD] Fwd: Variable number of objects?

2011-10-01 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/01/2011 04:48 AM, Ingo wrote: Every [receive] will have to check if any [send] message is meant to be for this particular [receive]. It will have to check if the header of the [send] matches the header of the [receive] until the first

Re: [PD] Fwd: Variable number of objects?

2011-09-30 Thread Ingo
second if the data is meant to be for them or not. Ingo -Ursprüngliche Nachricht- Von: Jaime Oliver [mailto:jaime.oliv...@gmail.com] Gesendet: Freitag, 30. September 2011 05:04 An: Ingo Cc: Jonathan Wilkes; Pd List Betreff: Re: [PD] Fwd: Variable number of objects? I see

Re: [PD] Fwd: Variable number of objects?

2011-09-30 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/30/2011 05:03 AM, Jaime Oliver wrote: I see... What I do is put a spigot right after all receives and the spigot is controlled by the same messages that control switch~: [r foo] | [spigot 0] | ... In this way you'll at least stop

Re: [PD] Fwd: Variable number of objects?

2011-09-30 Thread Mathieu Bouchard
Le 2011-09-29 à 10:17:00, Jonathan Wilkes a écrit : Since you have a large patch, I'd be curious to know how much memory is taken up by having the switched off voices just sitting there. It's not easy to know how much memory is taken by a bunch of small mallocs. If you use getbytes() you

Re: [PD] Fwd: Variable number of objects?

2011-09-30 Thread Mathieu Bouchard
Le 2011-09-29 à 19:41:00, Ingo a écrit : One shouldn't underestimate the cpu load when several hundreds of midi controllers per second are modulating hundreds of parameters and the get multiplied by 16 voices constantly because the control messages are still active all of the time. I wonder

Re: [PD] Fwd: Variable number of objects?

2011-09-30 Thread Mathieu Bouchard
Le 2011-09-30 à 12:01:00, Mathieu Bouchard a écrit : size_t real_size (size_t n) {return 1highest_bit(n+sizeof(void *));} erratum : size_t real_size (size_t n) {return 2highest_bit(n+sizeof(void *)-1);} because the first version I wrote gets the PREVIOUS-or-equal power, which is nonsense.

Re: [PD] Fwd: Variable number of objects?

2011-09-30 Thread Jaime Oliver
-Ursprüngliche Nachricht- Von: Jaime Oliver [mailto:jaime.oliv...@gmail.com] Gesendet: Freitag, 30. September 2011 05:04 An: Ingo Cc: Jonathan Wilkes; Pd List Betreff: Re: [PD] Fwd: Variable number of objects? I see... What I do is put a spigot right after all receives and the spigot

Re: [PD] Fwd: Variable number of objects?

2011-09-30 Thread Mathieu Bouchard
Le 2011-09-30 à 12:32:00, Jaime Oliver a écrit : If you're going to wire them why not just create specific send messages? Yes, that's much faster. But keep in mind that making large amounts of symbols makes gensym become gradually slower, which slows down interpreting $1-foo in all

Re: [PD] Fwd: Variable number of objects?

2011-09-30 Thread Ingo
I wonder what kind of ears it takes to listen to something so complex... rather, what kind of brain lobes it takes. It takes a regular pair of ears - one on the left side and one on the right side! Ingo ___ Pd-list@iem.at mailing list UNSUBSCRIBE

Re: [PD] Fwd: Variable number of objects?

2011-09-30 Thread Ingo
Betreff: Re: [PD] Fwd: Variable number of objects? I see... What I do is put a spigot right after all receives and the spigot is controlled by the same messages that control switch~: [r foo] | [spigot 0] | ... In this way you'll at least stop using all lines and metros

Re: [PD] Fwd: Variable number of objects?

2011-09-29 Thread Roman Haefeli
On Wed, 2011-09-28 at 19:29 +0200, Ludwig Maes wrote: -- Forwarded message -- From: Ludwig Maes ludwig.m...@gmail.com Date: 28 September 2011 19:29 Subject: Re: [PD] Variable number of objects? To: Ingo i...@miamiwave.com I actually meant more in general, also for

Re: [PD] Fwd: Variable number of objects?

2011-09-29 Thread Ingo
: Re: [PD] Fwd: Variable number of objects? On Wed, 2011-09-28 at 19:29 +0200, Ludwig Maes wrote: -- Forwarded message -- From: Ludwig Maes ludwig.m...@gmail.com Date: 28 September 2011 19:29 Subject: Re: [PD] Variable number of objects? To: Ingo i...@miamiwave.com

Re: [PD] Fwd: Variable number of objects?

2011-09-29 Thread Ingo
: Donnerstag, 29. September 2011 11:33 An: 'Roman Haefeli'; 'Ludwig Maes' Cc: 'Pd List' Betreff: Re: [PD] Fwd: Variable number of objects? Actually, I just tried again to simply copy a couple of voices and it only took a fraction of a second with a very short dropout - even with the dsp on. I

Re: [PD] Fwd: Variable number of objects?

2011-09-29 Thread Ingo
...@miamiwave.com] Gesendet: Donnerstag, 29. September 2011 12:02 An: 'Ingo'; 'Roman Haefeli'; 'Ludwig Maes' Cc: 'Pd List' Betreff: AW: [PD] Fwd: Variable number of objects? I just added the [; pd dsp 0( when starting to creat voices to speed it up and eliminated the 17 voices limit of the patch

Re: [PD] Fwd: Variable number of objects?

2011-09-29 Thread Jonathan Wilkes
Message - From: Ingo i...@miamiwave.com To: 'Roman Haefeli' reduz...@gmail.com; 'Ludwig Maes' ludwig.m...@gmail.com Cc: 'Pd List' pd-list@iem.at Sent: Thursday, September 29, 2011 5:33 AM Subject: Re: [PD] Fwd: Variable number of objects? Actually, I just tried again to simply copy

Re: [PD] Fwd: Variable number of objects?

2011-09-29 Thread Jaime Oliver
Message - From: Ingo i...@miamiwave.com To: 'Roman Haefeli' reduz...@gmail.com; 'Ludwig Maes' ludwig.m...@gmail.com Cc: 'Pd List' pd-list@iem.at Sent: Thursday, September 29, 2011 5:33 AM Subject: Re: [PD] Fwd:  Variable number of objects? Actually, I just tried again to simply copy a couple

Re: [PD] Fwd: Variable number of objects?

2011-09-29 Thread Ingo
of the time. Ingo - Original Message - From: Ingo i...@miamiwave.com To: 'Roman Haefeli' reduz...@gmail.com; 'Ludwig Maes' ludwig.m...@gmail.com Cc: 'Pd List' pd-list@iem.at Sent: Thursday, September 29, 2011 5:33 AM Subject: Re: [PD] Fwd: Variable number of objects

Re: [PD] Fwd: Variable number of objects?

2011-09-29 Thread Ingo
...@gmail.com] Gesendet: Donnerstag, 29. September 2011 19:56 An: Ingo Cc: Jonathan Wilkes; Pd List Betreff: Re: [PD] Fwd: Variable number of objects? On Thu, Sep 29, 2011 at 1:41 PM, Ingo i...@miamiwave.com wrote: One shouldn't underestimate the cpu load when several hundreds of midi

[PD] Fwd: Variable number of objects?

2011-09-28 Thread Ludwig Maes
-- Forwarded message -- From: Ludwig Maes ludwig.m...@gmail.com Date: 28 September 2011 19:29 Subject: Re: [PD] Variable number of objects? To: Ingo i...@miamiwave.com I actually meant more in general, also for non-~ signals (i.e. also control rate .pd patches). I referred to

Re: [PD] Fwd: Variable number of objects?

2011-09-28 Thread Mathieu Bouchard
Le 2011-09-28 à 19:29:00, Ludwig Maes a écrit : How can that take 10 seconds?? I dont see what would cause such a huge overhead, i'd expect an increase in computations memory though (say from 10 voices to 11: 10% increase in cpu workload ram dedicated to these voices..., I fail to see what