Piecewise circuit: range of one value?

Official support for: sonicbirth.sourceforge.net
Post Reply New Topic
RELATED
PRODUCTS

Post

I'm retrofitting my plug-ins with piecewise circuits to optimize CPU performance (ex.: a "Mute" button will deactivate the circuit, thus saving CPU cycles). In one case, the ideal ranges would be:

-inf / <0
0 / 0
>0 / +inf

So the middle range would only have a one value: 0.

Is this possible? If yes, how to enter it in the range fields?

- Kewl

Post

Hey there!

I don't know how the cicuits are calculated but perhaps you should try Comparators.
With comparators you can set up each value that needs to be compared.

Though I'm new to Sonic Birth I might be wrong but I think it is worth a shot.

Greetz
Are angels poultry???

Post

Just create three sub-circuits and double-click on the Min to edit them.

Joaquim

Post

metal_head_82 wrote:Hey there!

I don't know how the cicuits are calculated but perhaps you should try Comparators.
Greetz
Comparators don't save CPU time

Post

kanguru007 wrote:Just create three sub-circuits and double-click on the Min to edit them.
I'm not sure I understand... Could you elaborate a bit more?

- Kewl

Post

- Add a 'piecewise circuit'
- Click on it
- Add 2 more ranges so that you have a total of 3
- Double-click on each Min range value and edit it
- Select one range and click Next on the main window to
get to its content
- Create the corresponding sub-circuit
- Click Prev. on the main window to get out
- Do the same for the other two

Joaquim

Post

kanguru007 wrote:- Double-click on each Min range value and edit it
OK, that was, for some reason, the tricky part. I have plug-ins that incorporate three-range piecewise circuit, but never thought of trying to edit *ONLY* the minimum value. So that's the trick for a range of only one value...

Thanks,

Kewl

Post

Bad news...

We know how to enter a range of one value, but ultimately it doesn't work. The active part of the circuit are always on. So there is no CPU saving benefits and, in some cases, it's worse.

It's like the the range of one value (the passive part of the circuit, meant to save CPU cycles) is not considered.

- Kewl

Post Reply

Return to “SonicBirth”