-nm0 sr=44100 ksmps = 32 ;set counters for the instances of Called_i and Called_k giInstCi init 1 giInstCk init 1 instr Call_i ;call another instrument at i-rate event_i "i", "Called_i", 0, 1 endin instr Call_k ;call another instrument at k-rate event "i", "Called_k", 0, 1 endin instr Called_i ;report that instrument starts and which instance prints "Instance #%d of Called_i is starting!\n", giInstCi ;increment number of instance for next instance giInstCi += 1 endin instr Called_k ;report that instrument starts and which instance prints " Instance #%d of Called_k is starting!\n", giInstCk ;increment number of instance for next instance giInstCk += 1 endin ;run "Call_i" for one second i "Call_i" 0 1 ;run "Call_k" for 1/100 seconds i "Call_k" 0 0.01 ;example by joachim heintz