Hi Stephane, Sorry, it's 10ms to update a parameter... math error on my part.
As I said, it takes about 30 seconds to update a Faust jack client with 3136 (=49*64) parameters, which is roughly 10 ms per parameter. This was with jack, the jack client written in Faust, and the Python script performing the update, all running on my MacBook Pro. There are two versions of the Python, one that opens a new connection for each update and one that keeps the connection open; the timing for both is the same. I also tried it with jack and the Faust jaxk client running on a RPi4 and the Python running on my MBP, with the same ~10ms/update result. The 49x64 parameter matrix corresponds to playing sixth-order ambisonics over a 64 speaker array, which is the situation at the Stage at CCRMA. The decoder has two matrices, high and low frequencies, so about a minute to update. I'm looking for a solution that would be at least 10x faster. Thanks... Aaron On Tue, Jan 3, 2023 at 12:44 AM Stéphane Letz <l...@grame.fr> wrote: > How do you measure this « 100 ms to update » delay? > > Stéphane > > > Le 3 janv. 2023 à 02:12, Aaron Heller <ajhel...@gmail.com> a écrit : > > > > As a warmup exercise for the next version of my ambisonic decoder > engine, I made a matrix mixer in Faust and compiled it with httpd support. > You can see the code and the Python program I wrote to control it in the > repo --- mmd.dsp and mmd_control.py, respectively: > > > https://bitbucket.org/ambidecodertoolbox/adt_evaluation/src/AES153/faust/ > > > > It looks like it takes ~100 ms to update a single entry, so I assume > it's processing one request per slow-time loop. In my application, these > matrices could have thousands of entries, so, for example, a 49x64 matrix > takes over 30 seconds to update. Is there a way to speed this up? Are > there better ways to update the coefficients of an array? Over the network > is convenient, but loading from a local file would be fine too. > > > > Thanks... > > > > Aaron Heller > > Menlo Park, CA US > > > > _______________________________________________ > > Faudiostream-users mailing list > > Faudiostream-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/faudiostream-users > >
_______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users