Welcome to %s forums

BrainModular Users Forum

Login Register

XY Morph patch in Add-ons

General Discussion about whatever fits..
Post Reply
bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 05 Mar 2007, 09:17

Ok, I've uploaded a patch in the Add-ons that "morphs" between 4 different sets of 16 parameters using array modules and a script.

I first tried to use sub-patches instead of a script, but the CPU usage went up way too high as I added the subs for each parameter. In the script I've restricted the number of executions to save CPU, since the first version using a script was using around twice the amount of CPU as the already unacceptable sub-patch version.

I used array modules, since handling up to 16 parameters is quite easy and lowering that number just a question of changing a couple of constants. More than 16 parameters is a bit more work, but nothing hard or complicated. Check it out if you want.
Bjørn S

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 05 Mar 2007, 09:19

cool
I take a look.
thanks

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 05 Mar 2007, 09:24

Less than 1.5% cpu on my old computer (5 years old 4 2.2 GHz)!!!

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 05 Mar 2007, 09:27

I also have an idea of using the preset manager to program the 4 parameter sets one at the time and then run a sort of update so that the arrays values don't have to read all the time.
Bjørn S

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 05 Mar 2007, 11:06

try it & let us know

Vincent

Unread post by Vincent » 06 Mar 2007, 00:18

Hello Bj?rn!
I just feel twice (only) trepanned reading your posts. But I don't care, cause I'm learning!
bsork wrote:I also have an idea of using the preset manager to program the 4 parameter sets one at the time and then run a sort of update so that the arrays values don't have to read all the time.
Hey, what do you mean by "the arrays values don't have to read all the time"? How do yo do that?
I am very interested, you know?

Cheers!

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 06 Mar 2007, 08:48

Hello Vincent, didn't know I was getting into skull surgery, so I guess I'm learning something entirely new by this...

There was a "be" missing, and I suppose this makes some more sense: "the arrays values don't have to be read all the time".

What I meant, was that I'm trying to create a patch where the 4 sets of values is saved using the preset manager in normal Usine fashion, and then an update routine reads these values into arrays within the script. I was working on this yesterday, but there are some issues - especially when getting the preset values - that have to be figured out. I'm not quite sure if my idea is even feasible given the behaviour of the preset manager, but I'm not sure. The presets might include a bit more than what I thought...

Anyway - don't forget that the morphing can be controlled by something else than an XY pad. What about an envelope follower for the X value, and a pitch tracker or a MIDI controller for the Y value?
Bjørn S

Post Reply

Who is online

Users browsing this forum: No registered users and 299 guests