Page 1 of 1
Posted: 06 Mar 2009, 15:13
by Gizzeta
Hi Senso,
thanks for your work!
it would be nice if it was possible to insert one or more arguments in a module.
i.e. to insert "3" for a 3 channel sampler
This would be very usefull for the users modules!!!
Posted: 19 Mar 2009, 01:03
by Gizzeta
je relance...
Gizzeta wrote:Hi Senso,
thanks for your work!
it would be nice if it was possible to insert one or more arguments in a module.
i.e. to insert "3" for a 3 channel sampler
This would be very usefull for the users modules!!!
what do you think about it? It's hard to do?
Posted: 19 Mar 2009, 10:51
by senso
sorry I forgot to answer.
I'm not sure I understand your request.
You want to add another argument in a module. But where, and when:
- during the drag and drop
- during the creation in the Internal Language Engine
- ?
is it with a pupup query, in the module itself as an inlet, etc..?
Posted: 22 Mar 2009, 15:53
by Gizzeta
I think the best solution is effectively is a popup menu during drag and drop, before the module creation.
The user can then provide the arguments that are specified in a function in the module head code, with type(int, float, checkbox, char...), min, max and default. Then the module is create, with appropriate number of imputs and outputs and the needed memory allocation.
It also be useful for argument elaboration requiring hard cpu usage during the creation process.
Posted: 22 Mar 2009, 21:15
by senso
Actually it's hard to implement with the actual intern structure of Usine.
Especially built-in modules like the sampler, etc aren't designed for variable number of parameters.
But if you want to create variable inputs User modules (in C++) I'll see how I can implement it in the sdk, especially a way add a popup window during the GetParameter procedure call and ask the user to chose the number of parameters.
Posted: 23 Mar 2009, 12:24
by Gizzeta
cool, it's what i need,
thanks