How create a bpatcher with newdefault ?

Oct 16, 2006 at 10:24am

How create a bpatcher with newdefault ?

Hi,

I’m trying to put in a patcher a bpatcher.
I used many different definition like:

this.patcher.newdefault(100, 100, “bpatcher”)
this.patcher.newdefault(100, 100, “bpatcher”, “toto”)
this.patcher.newdefault(100, 100, “bpatcher”, 8, 71, 105, 90, 0, 0, “toto”, 1)

and I always have this error message:
• error: js: patcher: newdefault failed

Where is the mistake ?

#28171
Oct 16, 2006 at 12:26pm

On 16 Oct 2006, at 12:24, Thomas Goepfer wrote:
> I’m trying to put in a patcher a bpatcher.
> I used many different definition like:
>
> this.patcher.newdefault(100, 100, “bpatcher”)
> this.patcher.newdefault(100, 100, “bpatcher”, “toto”)
> this.patcher.newdefault(100, 100, “bpatcher”, 8, 71, 105, 90, 0, 0,
> “toto”, 1)
> …

probably “newdefault” is still broken with some (GUI) objects (i’m
still on 4.5.6, so no idea about 4.6)
but this works for me:

this.patcher.newobject(“bpatcher”, 43, 45, 113, 156, 0, 0,
“myBp.pat”, 0);

volker.

#86214
Oct 16, 2006 at 1:32pm

It works, thanks !

#86215

You must be logged in to reply to this topic.