Thanks John,
You're missing nothing. I think that can be solution of my problem.
I'm using OSC and this real-time trigger will do it. I've just missed it. Thank you.



On Feb 5, 2008 6:06 PM, John Lato <jlato@mail.utexas.edu> wrote:
Hello,

Every time a note is triggered, either through the score or some real-time trigger,
csound will automatically allocate a new (or re-use an existing) instance of the
instrument specified.  In that  way, score notes are csound's equivalent of "new".
e.g. in the score:
i1 0 5  ;csound allocates a new instance of instr. 1
i1 2 10 ;csound allocates another instance of instr. 1
i2 3 9  ;csound allocates a new instance of instr. 2

It seems that just triggering score events in real-time would do what you want, or am
I missing something?

John W. Lato
School of Music
The University of Texas at Austin
1 University Station E3100
Austin, TX 78712-0435
(512) 232-2090

Arda Eden wrote:
> Hi there,
> As you'll remember i was working on a tangible interface (reactable) to
> control csound.
> The work at school was so hard and i had to give it a break. Now i'm
> workin' on it again.
>
> I wonder if it's possible to define an instrument like a class, so i'll
> be able to call it by using something like "new" statement in most
> programming languages.
>
> What I'm trying to do is exactly that, when I put an object on the
> control surface, I want it to create an instrument from a skeleton in
> real time. Conventional definition of instruments like "instr 1", "instr
> 2" and etc. causes some kind of limitation. I want it to be more flexible.
> Thank you.
>
> --
> Arda EDEN
> Cumhuriyet University
> Faculty of Fine Arts
> Department of Music Technology


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



--
Arda EDEN
Cumhuriyet University
Faculty of Fine Arts
Department of Music Technology