Csound Csound-dev Csound-tekno Search About

Re: Auto-switch off Csound when input ends

Date1999-09-05 23:44
Fromrasmus ekman
SubjectRe: Auto-switch off Csound when input ends
Suggested plot:
Use negative p3 (indefinite instrument), set to minimum
play time. Take rms of output signal (to let reverb fade out),
or take rms of input and start a counter when this is zero.
After minimum ring time (-p3 in orc), if rms is zero, 
call turnoff. (For multiple instr's you can set a global 
variable which all read, and call turnoff when true.)

Would that do, or is the situation more complex?

	re

Tobiah wrote:
> 
> The orc would have to sense the end of input, and then