[Csnd] turnoff2
| Date | 2011-11-13 18:07 |
| From | k_o_m_p |
| Subject | [Csnd] turnoff2 |
|
One thing about turnoff2: If I have an instrument triggering events at different start times for example instr 1 event_i "i", 10, 0 event_i "i", 10, 10 event_i "i", 10, 20 event_i "i", 10, 30 endin If I want to kill instr 10 at time 5 I would use turnoff2. Bui I supose this wouldn't kill the future events once they are triggered at i-time in instr 1. Is this correct? If so, is there a possibility to kill instr 10 definitely including all in defined at i-time? Thanks, Luis -- http://luisantunespena.eu |
| Date | 2011-11-13 19:37 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] turnoff2 |
kmode -- sum of the following values:
On 13 Nov 2011, at 18:07, k_o_m_p wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
| Date | 2011-11-13 19:48 |
| From | Tarmo Johannes |
| Subject | Re: [Csnd] turnoff2 |
Hello,
For me the manual is confusing here:
> 0, 1, or 2: turn off all instances (0), oldest only (1), or newest
> only (2)
which ones are the newest? How many of them?
I have tried to use in such cases explicit instrument numbers with the fractional number like
instr 1
event_i "i", 10.0, 0
event_i "i", 10.1, 10
event_i "i", 10.2, 20
event_i "i", 10.3, 30
endin
so I know exactly which instances you kill later on.
if this is what you asked...
tarmo
On Sunday 13 November 2011 21:37:51 Victor Lazzarini wrote:
> from: http://www.csounds.com/manual/html/turnoff2.html
> kmode -- sum of the following values:
>
> 0, 1, or 2: turn off all instances (0), oldest only (1), or newest
> only (2)
>
> 4: only turn off notes with exactly matching (fractional) instrument
> number, rather than ignoring fractional part
>
> 8: only turn off notes with indefinite duration (p3 < 0 or MIDI)
>
>
>
> On 13 Nov 2011, at 18:07, k_o_m_p wrote:
>
> > One thing about turnoff2:
> >
> > If I have an instrument triggering events at different start times
> > for example
> >
> > instr 1
> > event_i "i", 10, 0
> > event_i "i", 10, 10
> > event_i "i", 10, 20
> > event_i "i", 10, 30
> > endin
> > If I want to kill instr 10 at time 5 I would use turnoff2. Bui I
> > supose this wouldn't kill the future events once they are triggered
> > at i-time in instr 1. Is this correct? If so, is there a
> > possibility to kill instr 10 definitely including all in defined at
> > i-time?
> >
> > Thanks,
> >
> > Luis
> >
> >
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|