Csound Csound-dev Csound-tekno Search About

[Csnd] active and fractional instruments

Date2014-06-03 16:36
FromPierre Clisson
Subject[Csnd] active and fractional instruments
Hi all,

The active opcode works only with the integer part of instrument numbers (see below). Is there a way to get the number of active instances of a fractional instrument?



instr 1
  ia active p1
  print ia
endin


i 1.1 0 2 ; prints 1
i 1.2 1 1 ; prints 2, should print 1



--
Pierre