Skip to content

[IMPORTANT] DSP / signal calculation optimization #2386

Description

@psykoruptor

[ THIS IS REALLY IMPORTANT TO ME AND IF THERE IS A WAY TO GENERALLY FIX PLUGDATA ON THIS POINT I CAN PUT MONEY ON IT TO HELP !!! ]
100$ if this it "patched" (lol, and "lets be honest i'm not rich at all" for scale)


Hi! I use plugdata a lot (2k+ patches) since ~ 1.5 year and I just found something concerning.

I made all my patches in a certain philosophy but I just found out that it doesn't work. I thought that when you [switch~] off an abstraction or a sub patch, every connected signal sleeps, because it sounded really obvious to me, and I didn't even try to mesure this, until now.

I found that :

  • when you use [*~ 0], it still uses cpu to process
  • when you try to avoid it using switches, it still uses (even more) cpu to apply the sum of signals
    (and dynamic patching with connect messages is pretty unstable / laggy)

My question is : is it a fundamental pure data thing that we can't change ?
If we can change it, lets change it, it would save so much cpu to make these signal connections sleep

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions