I'm not quite sure I understand your patching approach enough to debug.
If it's at all helpful, I can suggest how I might do this via [clone -n 1] with 72 instances of an abstraction:
[inlet] | [route freq gain] | [osc] | [*~ 0.25] <-- perhaps some trim amount as lots of osc are being summer | [*~ ] <--- single osc gain value goes here | [outlet~]
The outlets are summed in clone through the output. If you need stereo, it's the same just with two [outlet~]s and some sort of panner.
UDP messages would then just need to have the gain values read and applied to the clone instances by their ID, ie.
[1 gain 0.25 | [clone 72 -n 1 orc-abs] | [*~ ] <--- master gain | [dac~] <-- or some similar output abstraction
Not knowing your networking message layout, I can't say anything else other than "use OSC" as addressing and arguments are relatively easy to work with via:
[netreceive -u -b] | [oscparse] | perhaps some routing etc | [clone]
On Mar 14, 2021, at 3:31 AM, pd-list-request@lists.iem.at wrote:
Date: Sun, 14 Mar 2021 03:31:23 +0100 From: Michael Karr <michael.karr.22@gmail.com mailto:michael.karr.22@gmail.com> To: pd-list@lists.iem.at mailto:pd-list@lists.iem.at Subject: [PD] Adding up a thicket of oscillators Message-ID: <CAOH2gpZ=GUkk4X_kMOku3HeoCc92_xS-GgVTA0iRDWpTTHDQdw@mail.gmail.com mailto:CAOH2gpZ=GUkk4X_kMOku3HeoCc92_xS-GgVTA0iRDWpTTHDQdw@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Hello!
I am working on a multichannel sound piece, with 72 oscillators, receiving data from ffmpeg over udp. Each oscillator stream has its own intensity fluctuations. However, when I try to add the dynamic parts and scale them collectively (using *~ and a very tender slider), I get no output, whereas adding up the raw oscillators does produce audio, minus the individual fluctuations.
- how do I combine all of these dynamic signals?
- how can I make else/count start counting the moment information starts
flowing through the udp port, and stop again once the feed stops, while keeping the connection active?
Kind regards, Michael
oh yeah, the [clone] approach is 1000x more elegant :)
Em dom., 14 de mar. de 2021 às 06:38, Dan Wilcox danomatika@gmail.com escreveu:
I'm not quite sure I understand your patching approach enough to debug.
If it's at all helpful, I can suggest how I might do this via [clone -n 1] with 72 instances of an abstraction:
[inlet] | [route freq gain] | [osc] | [*~ 0.25] <-- perhaps some trim amount as lots of osc are being summer | [*~ ] <--- single osc gain value goes here | [outlet~]
The outlets are summed in clone through the output. If you need stereo, it's the same just with two [outlet~]s and some sort of panner.
UDP messages would then just need to have the gain values read and applied to the clone instances by their ID, ie.
[1 gain 0.25 | [clone 72 -n 1 orc-abs] | [*~ ] <--- master gain | [dac~] <-- or some similar output abstraction
Not knowing your networking message layout, I can't say anything else other than "use OSC" as addressing and arguments are relatively easy to work with via:
[netreceive -u -b] | [oscparse] | perhaps some routing etc | [clone]
On Mar 14, 2021, at 3:31 AM, pd-list-request@lists.iem.at wrote:
Date: Sun, 14 Mar 2021 03:31:23 +0100 From: Michael Karr michael.karr.22@gmail.com To: pd-list@lists.iem.at Subject: [PD] Adding up a thicket of oscillators Message-ID: CAOH2gpZ=GUkk4X_kMOku3HeoCc92_xS-GgVTA0iRDWpTTHDQdw@mail.gmail.com Content-Type: text/plain; charset="utf-8"
Hello!
I am working on a multichannel sound piece, with 72 oscillators, receiving data from ffmpeg over udp. Each oscillator stream has its own intensity fluctuations. However, when I try to add the dynamic parts and scale them collectively (using *~ and a very tender slider), I get no output, whereas adding up the raw oscillators does produce audio, minus the individual fluctuations.
- how do I combine all of these dynamic signals?
- how can I make else/count start counting the moment information starts
flowing through the udp port, and stop again once the feed stops, while keeping the connection active?
Kind regards, Michael
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list