Sending arguments to an abstraction within poly

Jul 12, 2011 at 2:20pm

Sending arguments to an abstraction within poly

Hi guys,

Is it possible to send an argument to an abstraction that is within a poly~ object?

I have used the #1 symbol within the abstraction as I want to be able to control the number it represents, hence me not using #0.

If it is possible where would such an argument go? For example:

The abstraction is called sampoly and I want 8 voices with stealing on, so the poly~ object would read:

- poly~ sampoly 8 @steal 1 -

Where would the argument go?

Thanks for any help,

James

#57984
Jul 12, 2011 at 2:54pm

Check args in poly~ documentation.

Your instance should look like:
poly~ sampoly 8 @steal 1 args first_arg second_arg etc.

p

#208078
Jul 12, 2011 at 3:00pm

Nice one, cheers Patrick. After messing around with it, I have found you need to put the args message before the @ steal for it to work.

Thanks again

#208079
Jul 12, 2011 at 3:18pm

You’re right, sorry! I do this mistake all the time and never learn. I though @ttributes could take place anywhere, but it’s not the case.

#208080

You must be logged in to reply to this topic.