syntax for the XY-controller in BSB instruments

View: New views
3 Messages — Rating Filter:   Alert me  

syntax for the XY-controller in BSB instruments

by Jan Jacob Hofmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear List,

does someone know the right syntax for the XY-controller in BSB instruments? I do keep geting errors with:

INTERFACE:

objectname: x_control, y_control

CODE:
ix = <x_control> ; position - x (start)
iy = <y_control> ; position - x (start)




the manual says:
XY Controller
objectNameX, objectNameY
X and Y value

What am I doing wrong? Any hints? (see error message below)

Best regards,

Jan Jacob





error:  illegal character <, line 1971:
ix = <x_control>
   ^
error:  illegal character >, line 1971:
ix = <x_control>
            ^
error:  input arg 'x_control' used before defined, line 1971:
ix = <x_control>
error:  input arg 'x_control' of type ? not allowed when expecting i, line 1971:
ix = <x_control>
error:  illegal character <, line 1972:
iy = <y_control>
   ^
error:  illegal character >, line 1972:
iy = <y_control>
            ^
error:  input arg 'y_control' used before defined, line 1972:
iy = <y_control>
error:  input arg 'y_control' of type ? not allowed when expecting i, line 1972:
iy = <y_control>

------------------------------------------------------------------------------

_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

Re: syntax for the XY-controller in BSB instruments

by Steven Yi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jan Jacob,

If the objectName of your widget is "control", then it should be

ix = <controlX> ; position - x (start)
iy = <controlY> ; position - x (start)

You can press ctrl-shift-space (or maybe it is cmd-shift-space on OSX)
and it should open up a dialog with the available widget values.

Let me know if that works or if there are still problems!

Thanks and good luck!
steven

On Mon, Mar 30, 2009 at 1:29 PM, Jan Jacob Hofmann
<jjh@...> wrote:

> Dear List,
> does someone know the right syntax for the XY-controller in BSB instruments?
> I do keep geting errors with:
> INTERFACE:
> objectname: x_control, y_control
> CODE:
> ix = <x_control> ; position - x (start)
> iy = <y_control> ; position - x (start)
>
>
>
> the manual says:
> XY Controller
> objectNameX, objectNameY
> X and Y value
> What am I doing wrong? Any hints? (see error message below)
> Best regards,
> Jan Jacob
>
>
>
>
> error:  illegal character <, line 1971:
> ix = <x_control>
>    ^
> error:  illegal character >, line 1971:
> ix = <x_control>
>             ^
> error:  input arg 'x_control' used before defined, line 1971:
> ix = <x_control>
> error:  input arg 'x_control' of type ? not allowed when expecting i, line
> 1971:
> ix = <x_control>
> error:  illegal character <, line 1972:
> iy = <y_control>
>    ^
> error:  illegal character >, line 1972:
> iy = <y_control>
>             ^
> error:  input arg 'y_control' used before defined, line 1972:
> iy = <y_control>
> error:  input arg 'y_control' of type ? not allowed when expecting i, line
> 1972:
> iy = <y_control>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Bluemusic-users mailing list
> Bluemusic-users@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-users
>
>

------------------------------------------------------------------------------
_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users

Re: syntax for the XY-controller in BSB instruments

by Jan Jacob Hofmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Steven,

thanks a lot for the explanation, now it works! The objectName in the interface has to be slightly different than explained in the manual:

It is rather simply 

objectName

than 

objectNameX, objectNameY

like described in the manual. Maybe the manual should be changed in this little point occasionally.

The right objectName in the Interface however solved all problems. Thanks again for that hint!

All the best,

Jan Jacob


sound         |         movement          |          object         |          space

sonic architecture       |        site: http://www.sonicarchitecture.de  

spatial electronic composition     |    2nd order ambisonic music  


Am 30.03.2009 um 23:21 schrieb Steven Yi:

Hi Jan Jacob,

If the objectName of your widget is "control", then it should be

ix = <controlX> ; position - x (start)
iy = <controlY> ; position - x (start)

You can press ctrl-shift-space (or maybe it is cmd-shift-space on OSX)
and it should open up a dialog with the available widget values.

Let me know if that works or if there are still problems!

Thanks and good luck!
steven

On Mon, Mar 30, 2009 at 1:29 PM, Jan Jacob Hofmann
<jjh@...> wrote:
Dear List,
does someone know the right syntax for the XY-controller in BSB instruments?
I do keep geting errors with:
INTERFACE:
objectname: x_control, y_control
CODE:
ix = <x_control> ; position - x (start)
iy = <y_control> ; position - x (start)



the manual says:
XY Controller
objectNameX, objectNameY
X and Y value
What am I doing wrong? Any hints? (see error message below)
Best regards,
Jan Jacob




error:  illegal character <, line 1971:
ix = <x_control>
   ^
error:  illegal character >, line 1971:
ix = <x_control>
            ^
error:  input arg 'x_control' used before defined, line 1971:
ix = <x_control>
error:  input arg 'x_control' of type ? not allowed when expecting i, line
1971:
ix = <x_control>
error:  illegal character <, line 1972:
iy = <y_control>
   ^
error:  illegal character >, line 1972:
iy = <y_control>
            ^
error:  input arg 'y_control' used before defined, line 1972:
iy = <y_control>
error:  input arg 'y_control' of type ? not allowed when expecting i, line
1972:
iy = <y_control>
------------------------------------------------------------------------------

_______________________________________________
Bluemusic-users mailing list



------------------------------------------------------------------------------
_______________________________________________
Bluemusic-users mailing list



------------------------------------------------------------------------------

_______________________________________________
Bluemusic-users mailing list
Bluemusic-users@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-users