Csound Csound-dev Csound-tekno Search About

[Csnd] Skipping all scheduled events?

Date2025-04-18 16:52
FromMaximilian Marcoll
Subject[Csnd] Skipping all scheduled events?
Attachmentssmime.p7s  
Hi!

Does anyone know a way to programatically skip all scheduled events?
Say I have a bunch of events scheduled for the future, via scoreline, schedule and related opcodes and plans changed and those events are no longer wanted, how can i “turn them off”?

I tried insertig an “x” statememnt via scoreline_i but that doesn’t seem to work.

Any ideas?

Cheers

Max



<CsoundSynthesizer>

<CsOptions>

-odac

</CsOptions>


<CsInstruments>

sr = 44100
0dbfs = 1
nchnls = 1
ksmps = 2

instr 1
scoreline_i {{
}}
endin

instr 2

a1 poscil .1, 330 
out a1
endin
</CsInstruments>
<CsScore>

i1 1 1
i2 3 1
</CsScore>
</CsoundSynthesizer>

________________________________

Prof. Maximilian Marcoll
Studio Director
Studio for Electroacoustic Music (SEAM)
University of Music Franz Liszt Weimar
Bauhaus University Weimar













Date2025-04-18 18:02
Fromjoachim heintz
SubjectRe: [Csnd] Skipping all scheduled events?
hi max -

as far as i understand, none of the score statements work in scoreline_i 
because they are part of the score preprocessor (which is not present in 
the actual csound language).  so "x" etc will not work.

i seem to remember that in csound 7 there will be an opcode to undo 
scheduled events (i don't remember the name).  but in csound 6 it is 
not, as far as i know.

ciao -
	joachim

On 18/04/2025 17:52, Maximilian Marcoll wrote:
> Hi!
> 
> Does anyone know a way to programatically skip all scheduled events?
> Say I have a bunch of events scheduled for the future, via scoreline, 
> schedule and related opcodes and plans changed and those events are no 
> longer wanted, how can i “turn them off”?
> 
> I tried insertig an “x” statememnt via scoreline_i but that doesn’t seem 
> to work.
> 
> Any ideas?
> 
> Cheers
> 
> Max
> 
> 
> 
> 
> 
> 
> 
> -odac
> 
> 
> 
> 
> 
> 
> sr = 44100
> 0dbfs = 1
> nchnls = 1
> ksmps = 2
> 
> instr 1
> scoreline_i {{
> x
> }}
> endin
> 
> instr 2
> 
> a1 poscil .1, 330
> out a1
> endin
> 
> 
> 
> i1 1 1
> i2 3 1
> 
> 
> 
> ________________________________
> 
> Prof. Maximilian Marcoll
> Studio Director
> Studio for Electroacoustic Music (SEAM)
> University of Music/Franz Liszt/Weimar
> Bauhaus University Weimar
> 
> http://seam.hfm-weimar.de/ 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Csound mailing list Csound@listserv.heanet.ie 
>  https://listserv.heanet.ie/cgi-bin/ 
> wa?A0=CSOUND  Send bugs 
> reports to https://github.com/csound/csound/issues  csound/csound/issues> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2025-04-18 18:20
FromTarmo Johannes
SubjectRe: [Csnd] Skipping all scheduled events?

Hi!

turnoff3 turns off also future events, present also in Csound 6.18, if I remember correctly.
You need to call it on every instrument  thought that may play.

Tarmo


R, 18. aprill 2025 20:02 joachim heintz <jh@joachimheintz.de> kirjutas:
hi max -

as far as i understand, none of the score statements work in scoreline_i
because they are part of the score preprocessor (which is not present in
the actual csound language).  so "x" etc will not work.

i seem to remember that in csound 7 there will be an opcode to undo
scheduled events (i don't remember the name).  but in csound 6 it is
not, as far as i know.

ciao -
        joachim

On 18/04/2025 17:52, Maximilian Marcoll wrote:
> Hi!
>
> Does anyone know a way to programatically skip all scheduled events?
> Say I have a bunch of events scheduled for the future, via scoreline,
> schedule and related opcodes and plans changed and those events are no
> longer wanted, how can i “turn them off”?
>
> I tried insertig an “x” statememnt via scoreline_i but that doesn’t seem
> to work.
>
> Any ideas?
>
> Cheers
>
> Max
>
>
>
> <CsoundSynthesizer>
>
> <CsOptions>
>
> -odac
>
> </CsOptions>
>
>
> <CsInstruments>
>
> sr = 44100
> 0dbfs = 1
> nchnls = 1
> ksmps = 2
>
> instr 1
> scoreline_i {{
> x
> }}
> endin
>
> instr 2
>
> a1 poscil .1, 330
> out a1
> endin
> </CsInstruments>
> <CsScore>
>
> i1 1 1
> i2 3 1
> </CsScore>
> </CsoundSynthesizer>
>
> ________________________________
>
> Prof. Maximilian Marcoll
> Studio Director
> Studio for Electroacoustic Music (SEAM)
> University of Music/Franz Liszt/Weimar
> Bauhaus University Weimar
>
> http://seam.hfm-weimar.de/ <http://seam.hfm-weimar.de/>
>
>
>
>
>
>
>
>
>
>
>
> Csound mailing list Csound@listserv.heanet.ie
> <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
> wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
> reports to https://github.com/csound/csound/issues <https://github.com/
> csound/csound/issues> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2025-04-18 18:50
FromMaximilian Marcoll
SubjectRe: [Csnd] Skipping all scheduled events?
Oh that’s great, thank you!!
Thanks for the explanation, Joachim, I should have known better that to try with a preprocessor routine.

Cheers!
M

________________________________

Prof. Maximilian Marcoll
Studio Director
Studio for Electroacoustic Music (SEAM)
University of Music Franz Liszt Weimar
Bauhaus University Weimar



On Apr 18, 2025, at 19:21, Tarmo Johannes <trmjhnns@gmail.com> wrote:



Hi!

turnoff3 turns off also future events, present also in Csound 6.18, if I remember correctly.
You need to call it on every instrument  thought that may play.

Tarmo


R, 18. aprill 2025 20:02 joachim heintz <jh@joachimheintz.de> kirjutas:
hi max -

as far as i understand, none of the score statements work in scoreline_i
because they are part of the score preprocessor (which is not present in
the actual csound language).  so "x" etc will not work.

i seem to remember that in csound 7 there will be an opcode to undo
scheduled events (i don't remember the name).  but in csound 6 it is
not, as far as i know.

ciao -
        joachim

On 18/04/2025 17:52, Maximilian Marcoll wrote:
> Hi!
>
> Does anyone know a way to programatically skip all scheduled events?
> Say I have a bunch of events scheduled for the future, via scoreline,
> schedule and related opcodes and plans changed and those events are no
> longer wanted, how can i “turn them off”?
>
> I tried insertig an “x” statememnt via scoreline_i but that doesn’t seem
> to work.
>
> Any ideas?
>
> Cheers
>
> Max
>
>
>
> <CsoundSynthesizer>
>
> <CsOptions>
>
> -odac
>
> </CsOptions>
>
>
> <CsInstruments>
>
> sr = 44100
> 0dbfs = 1
> nchnls = 1
> ksmps = 2
>
> instr 1
> scoreline_i {{
> x
> }}
> endin
>
> instr 2
>
> a1 poscil .1, 330
> out a1
> endin
> </CsInstruments>
> <CsScore>
>
> i1 1 1
> i2 3 1
> </CsScore>
> </CsoundSynthesizer>
>
> ________________________________
>
> Prof. Maximilian Marcoll
> Studio Director
> Studio for Electroacoustic Music (SEAM)
> University of Music/Franz Liszt/Weimar
> Bauhaus University Weimar
>
> http://seam.hfm-weimar.de/ <http://seam.hfm-weimar.de/>
>
>
>
>
>
>
>
>
>
>
>
> Csound mailing list Csound@listserv.heanet.ie
> <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
> wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
> reports to https://github.com/csound/csound/issues <https://github.com/
> csound/csound/issues> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2025-04-18 20:10
Fromjoachim heintz
SubjectRe: [Csnd] Skipping all scheduled events?
ah right --- it is there since csound 6.16 =)
thanks tarmo -
	j

On 18/04/2025 19:20, Tarmo Johannes wrote:
> Hi!
> 
> turnoff3 turns off also future events, present also in Csound 6.18, if I 
> remember correctly.
> You need to call it on every instrument  thought that may play.
> 
> Tarmo
> 
> 
> R, 18. aprill 2025 20:02 joachim heintz  > kirjutas:
> 
>     hi max -
> 
>     as far as i understand, none of the score statements work in
>     scoreline_i
>     because they are part of the score preprocessor (which is not
>     present in
>     the actual csound language).  so "x" etc will not work.
> 
>     i seem to remember that in csound 7 there will be an opcode to undo
>     scheduled events (i don't remember the name).  but in csound 6 it is
>     not, as far as i know.
> 
>     ciao -
>              joachim
> 
>     On 18/04/2025 17:52, Maximilian Marcoll wrote:
>      > Hi!
>      >
>      > Does anyone know a way to programatically skip all scheduled events?
>      > Say I have a bunch of events scheduled for the future, via
>     scoreline,
>      > schedule and related opcodes and plans changed and those events
>     are no
>      > longer wanted, how can i “turn them off”?
>      >
>      > I tried insertig an “x” statememnt via scoreline_i but that
>     doesn’t seem
>      > to work.
>      >
>      > Any ideas?
>      >
>      > Cheers
>      >
>      > Max
>      >
>      >
>      >
>      > 
>      >
>      > 
>      >
>      > -odac
>      >
>      > 
>      >
>      >
>      > 
>      >
>      > sr = 44100
>      > 0dbfs = 1
>      > nchnls = 1
>      > ksmps = 2
>      >
>      > instr 1
>      > scoreline_i {{
>      > x
>      > }}
>      > endin
>      >
>      > instr 2
>      >
>      > a1 poscil .1, 330
>      > out a1
>      > endin
>      > 
>      > 
>      >
>      > i1 1 1
>      > i2 3 1
>      > 
>      > 
>      >
>      > ________________________________
>      >
>      > Prof. Maximilian Marcoll
>      > Studio Director
>      > Studio for Electroacoustic Music (SEAM)
>      > University of Music/Franz Liszt/Weimar
>      > Bauhaus University Weimar
>      >
>      > http://seam.hfm-weimar.de/       seam.hfm-weimar.de/ >
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>      > Csound mailing list Csound@listserv.heanet.ie
>     
>      >      > https://listserv.heanet.ie/cgi-
>     bin/ 
>      > wa?A0=CSOUND      > Send bugs
>      > reports to https://github.com/csound/csound/issues      github.com/csound/csound/issues>      github.com/>
>      > csound/csound/issues> Discussions of bugs and features can be
>     posted here
> 
>     Csound mailing list
>     Csound@listserv.heanet.ie 
>     https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND      listserv.heanet.ie/cgi-bin/wa?A0=CSOUND>
>     Send bugs reports to
>     https://github.com/csound/csound/issues      csound/issues>
>     Discussions of bugs and features can be posted here
> 
> Csound mailing list Csound@listserv.heanet.ie 
>  https://listserv.heanet.ie/cgi-bin/ 
> wa?A0=CSOUND  Send bugs 
> reports to https://github.com/csound/csound/issues  csound/csound/issues> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2025-04-18 20:39
Fromvlz
SubjectRe: [Csnd] Skipping all scheduled events?
It's a bit more nuanced actually.

All events sent to Csound via the score section, csoundEvent (csound 7 api) or csoundReadScore() (csound 6 api) before the engine start are "score events": you can rewind them etc.

All events sent to Csound from anywhere after the engine started, are realtime events, kept on a separate list. As Tarmo said turnoff3 can act on these, but certain score commands may not work. Some preprocessing is possible with readscore. 

I started investigating the possibility of turning an event off in the scheduled realtime list with matching parameters.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 18 Apr 2025, at 18:50, Maximilian Marcoll <maximilian.marcoll@hfm-weimar.de> wrote:

 Oh that’s great, thank you!!
Thanks for the explanation, Joachim, I should have known better that to try with a preprocessor routine.

Cheers!
M

________________________________

Prof. Maximilian Marcoll
Studio Director
Studio for Electroacoustic Music (SEAM)
University of Music Franz Liszt Weimar
Bauhaus University Weimar



On Apr 18, 2025, at 19:21, Tarmo Johannes <trmjhnns@gmail.com> wrote:



Hi!

turnoff3 turns off also future events, present also in Csound 6.18, if I remember correctly.
You need to call it on every instrument  thought that may play.

Tarmo


R, 18. aprill 2025 20:02 joachim heintz <jh@joachimheintz.de> kirjutas:
hi max -

as far as i understand, none of the score statements work in scoreline_i
because they are part of the score preprocessor (which is not present in
the actual csound language).  so "x" etc will not work.

i seem to remember that in csound 7 there will be an opcode to undo
scheduled events (i don't remember the name).  but in csound 6 it is
not, as far as i know.

ciao -
        joachim

On 18/04/2025 17:52, Maximilian Marcoll wrote:
> Hi!
>
> Does anyone know a way to programatically skip all scheduled events?
> Say I have a bunch of events scheduled for the future, via scoreline,
> schedule and related opcodes and plans changed and those events are no
> longer wanted, how can i “turn them off”?
>
> I tried insertig an “x” statememnt via scoreline_i but that doesn’t seem
> to work.
>
> Any ideas?
>
> Cheers
>
> Max
>
>
>
> <CsoundSynthesizer>
>
> <CsOptions>
>
> -odac
>
> </CsOptions>
>
>
> <CsInstruments>
>
> sr = 44100
> 0dbfs = 1
> nchnls = 1
> ksmps = 2
>
> instr 1
> scoreline_i {{
> x
> }}
> endin
>
> instr 2
>
> a1 poscil .1, 330
> out a1
> endin
> </CsInstruments>
> <CsScore>
>
> i1 1 1
> i2 3 1
> </CsScore>
> </CsoundSynthesizer>
>
> ________________________________
>
> Prof. Maximilian Marcoll
> Studio Director
> Studio for Electroacoustic Music (SEAM)
> University of Music/Franz Liszt/Weimar
> Bauhaus University Weimar
>
> http://seam.hfm-weimar.de/ <http://seam.hfm-weimar.de/>
>
>
>
>
>
>
>
>
>
>
>
> Csound mailing list Csound@listserv.heanet.ie
> <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
> wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
> reports to https://github.com/csound/csound/issues <https://github.com/
> csound/csound/issues> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2025-04-19 22:05
Fromvlz
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Skipping all scheduled events?
An opcode has been added to Csound 7

https://github.com/csound/csound/pull/2130


> On 18 Apr 2025, at 20:39, vlz  wrote:
> 
> *Warning*
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> It's a bit more nuanced actually.
> 
> All events sent to Csound via the score section, csoundEvent (csound 7 api) or csoundReadScore() (csound 6 api) before the engine start are "score events": you can rewind them etc.
> 
> All events sent to Csound from anywhere after the engine started, are realtime events, kept on a separate list. As Tarmo said turnoff3 can act on these, but certain score commands may not work. Some preprocessing is possible with readscore. 
> 
> I started investigating the possibility of turning an event off in the scheduled realtime list with matching parameters.
> 
> Prof. Victor Lazzarini 
> Maynooth University
> Ireland
> 
>> On 18 Apr 2025, at 18:50, Maximilian Marcoll  wrote:
>> 
>>  Oh that’s great, thank you!! Thanks for the explanation, Joachim, I should have known better that to try with a preprocessor routine.
>> 
>> Cheers!
>> M
>> 
>> ________________________________
>> 
>> Prof. Maximilian Marcoll
>> Studio Director
>> Studio for Electroacoustic Music (SEAM)
>> University of Music Franz Liszt Weimar
>> Bauhaus University Weimar
>> 
>> http://seam.hfm-weimar.de/
>> 
>> 
>>> On Apr 18, 2025, at 19:21, Tarmo Johannes  wrote:
>>> 
>>>  Hi!
>>> turnoff3 turns off also future events, present also in Csound 6.18, if I remember correctly.
>>> You need to call it on every instrument  thought that may play.
>>> Tarmo
>>> 
>>> R, 18. aprill 2025 20:02 joachim heintz  kirjutas:
>>> hi max -
>>> 
>>> as far as i understand, none of the score statements work in scoreline_i 
>>> because they are part of the score preprocessor (which is not present in 
>>> the actual csound language).  so "x" etc will not work.
>>> 
>>> i seem to remember that in csound 7 there will be an opcode to undo 
>>> scheduled events (i don't remember the name).  but in csound 6 it is 
>>> not, as far as i know.
>>> 
>>> ciao -
>>>         joachim
>>> 
>>> On 18/04/2025 17:52, Maximilian Marcoll wrote:
>>> > Hi!
>>> > 
>>> > Does anyone know a way to programatically skip all scheduled events?
>>> > Say I have a bunch of events scheduled for the future, via scoreline, 
>>> > schedule and related opcodes and plans changed and those events are no 
>>> > longer wanted, how can i “turn them off”?
>>> > 
>>> > I tried insertig an “x” statememnt via scoreline_i but that doesn’t seem 
>>> > to work.
>>> > 
>>> > Any ideas?
>>> > 
>>> > Cheers
>>> > 
>>> > Max
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > -odac
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > sr = 44100
>>> > 0dbfs = 1
>>> > nchnls = 1
>>> > ksmps = 2
>>> > 
>>> > instr 1
>>> > scoreline_i {{
>>> > x
>>> > }}
>>> > endin
>>> > 
>>> > instr 2
>>> > 
>>> > a1 poscil .1, 330
>>> > out a1
>>> > endin
>>> > 
>>> > 
>>> > 
>>> > i1 1 1
>>> > i2 3 1
>>> > 
>>> > 
>>> > 
>>> > ________________________________
>>> > 
>>> > Prof. Maximilian Marcoll
>>> > Studio Director
>>> > Studio for Electroacoustic Music (SEAM)
>>> > University of Music/Franz Liszt/Weimar
>>> > Bauhaus University Weimar
>>> > 
>>> > http://seam.hfm-weimar.de/ 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > 
>>> > Csound mailing list Csound@listserv.heanet.ie 
>>> >  https://listserv.heanet.ie/cgi-bin/ 
>>> > wa?A0=CSOUND  Send bugs 
>>> > reports to https://github.com/csound/csound/issues >> > csound/csound/issues> Discussions of bugs and features can be posted here
>>> 
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>         https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2025-04-20 06:57
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Skipping all scheduled events?
nice

- Dr.B


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sat, Apr 19, 2025 at 5:05 PM vlz <viclazzarini@gmail.com> wrote:
An opcode has been added to Csound 7

https://github.com/csound/csound/pull/2130


> On 18 Apr 2025, at 20:39, vlz <viclazzarini@gmail.com> wrote:
>
> *Warning*
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> It's a bit more nuanced actually.
>
> All events sent to Csound via the score section, csoundEvent (csound 7 api) or csoundReadScore() (csound 6 api) before the engine start are "score events": you can rewind them etc.
>
> All events sent to Csound from anywhere after the engine started, are realtime events, kept on a separate list. As Tarmo said turnoff3 can act on these, but certain score commands may not work. Some preprocessing is possible with readscore.
>
> I started investigating the possibility of turning an event off in the scheduled realtime list with matching parameters.
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 18 Apr 2025, at 18:50, Maximilian Marcoll <maximilian.marcoll@hfm-weimar.de> wrote:
>>
>>  Oh that’s great, thank you!! Thanks for the explanation, Joachim, I should have known better that to try with a preprocessor routine.
>>
>> Cheers!
>> M
>>
>> ________________________________
>>
>> Prof. Maximilian Marcoll
>> Studio Director
>> Studio for Electroacoustic Music (SEAM)
>> University of Music Franz Liszt Weimar
>> Bauhaus University Weimar
>>
>> http://seam.hfm-weimar.de/
>>
>>
>>> On Apr 18, 2025, at 19:21, Tarmo Johannes <trmjhnns@gmail.com> wrote:
>>>
>>>  Hi!
>>> turnoff3 turns off also future events, present also in Csound 6.18, if I remember correctly.
>>> You need to call it on every instrument  thought that may play.
>>> Tarmo
>>>
>>> R, 18. aprill 2025 20:02 joachim heintz <jh@joachimheintz.de> kirjutas:
>>> hi max -
>>>
>>> as far as i understand, none of the score statements work in scoreline_i
>>> because they are part of the score preprocessor (which is not present in
>>> the actual csound language).  so "x" etc will not work.
>>>
>>> i seem to remember that in csound 7 there will be an opcode to undo
>>> scheduled events (i don't remember the name).  but in csound 6 it is
>>> not, as far as i know.
>>>
>>> ciao -
>>>         joachim
>>>
>>> On 18/04/2025 17:52, Maximilian Marcoll wrote:
>>> > Hi!
>>> >
>>> > Does anyone know a way to programatically skip all scheduled events?
>>> > Say I have a bunch of events scheduled for the future, via scoreline,
>>> > schedule and related opcodes and plans changed and those events are no
>>> > longer wanted, how can i “turn them off”?
>>> >
>>> > I tried insertig an “x” statememnt via scoreline_i but that doesn’t seem
>>> > to work.
>>> >
>>> > Any ideas?
>>> >
>>> > Cheers
>>> >
>>> > Max
>>> >
>>> >
>>> >
>>> > <CsoundSynthesizer>
>>> >
>>> > <CsOptions>
>>> >
>>> > -odac
>>> >
>>> > </CsOptions>
>>> >
>>> >
>>> > <CsInstruments>
>>> >
>>> > sr = 44100
>>> > 0dbfs = 1
>>> > nchnls = 1
>>> > ksmps = 2
>>> >
>>> > instr 1
>>> > scoreline_i {{
>>> > x
>>> > }}
>>> > endin
>>> >
>>> > instr 2
>>> >
>>> > a1 poscil .1, 330
>>> > out a1
>>> > endin
>>> > </CsInstruments>
>>> > <CsScore>
>>> >
>>> > i1 1 1
>>> > i2 3 1
>>> > </CsScore>
>>> > </CsoundSynthesizer>
>>> >
>>> > ________________________________
>>> >
>>> > Prof. Maximilian Marcoll
>>> > Studio Director
>>> > Studio for Electroacoustic Music (SEAM)
>>> > University of Music/Franz Liszt/Weimar
>>> > Bauhaus University Weimar
>>> >
>>> > http://seam.hfm-weimar.de/ <http://seam.hfm-weimar.de/>
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > Csound mailing list Csound@listserv.heanet.ie
>>> > <mailto:Csound@listserv.heanet.ie> https://listserv.heanet.ie/cgi-bin/
>>> > wa?A0=CSOUND <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
>>> > reports to https://github.com/csound/csound/issues <https://github.com/
>>> > csound/csound/issues> Discussions of bugs and features can be posted here
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>         https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here