Sending arguments to an abstraction within poly

JSMilton's icon

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

pdelges's icon

Check args in poly~ documentation.

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

p

JSMilton's icon

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

pdelges's icon

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.