Csound Csound-dev Csound-tekno Search About

[Csnd] panic button

Date2010-06-07 18:41
FromStefan Thomas
Subject[Csnd] panic button
Dear community,
from some midi-keyboards and sequencer programs I do know a so called panic button.
Is it possible to implement this within csound?

Date2010-06-07 19:14
FromMichael Gogins
Subject[Csnd] Re: panic button
Perhaps you could do it with a user-defined opcode that would send out
a NOTE OFF event for every MIDI key number on every MIDI channel.

Hope this helps,
Mike

On Mon, Jun 7, 2010 at 1:41 PM, Stefan Thomas
 wrote:
> Dear community,
> from some midi-keyboards and sequencer programs I do know a so called panic
> button.
> Is it possible to implement this within csound?
>


Date2010-06-07 19:21
FromStefan Thomas
Subject[Csnd] Re: Re: panic button
It sounds complicated, for me.
Has someone else tried something like this?

2010/6/7 Michael Gogins <michael.gogins@gmail.com>
Perhaps you could do it with a user-defined opcode that would send out
a NOTE OFF event for every MIDI key number on every MIDI channel.

Hope this helps,
Mike

On Mon, Jun 7, 2010 at 1:41 PM, Stefan Thomas
<kontrapunktstefan@googlemail.com> wrote:
> Dear community,
> from some midi-keyboards and sequencer programs I do know a so called panic
> button.
> Is it possible to implement this within csound?
>



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


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"



Date2010-06-07 19:50
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Re: Re: panic button
Do yopu mean thi sfor MIDI use or a general solution?

Do you want Csound to exit or reset or what?


> It sounds complicated, for me.
> Has someone else tried something like this?
>
> 2010/6/7 Michael Gogins 
>
>> Perhaps you could do it with a user-defined opcode that would send out
>> a NOTE OFF event for every MIDI key number on every MIDI channel.
>>
>> Hope this helps,
>> Mike
>>
>> On Mon, Jun 7, 2010 at 1:41 PM, Stefan Thomas
>>  wrote:
>> > Dear community,
>> > from some midi-keyboards and sequencer programs I do know a so called
>> panic
>> > button.
>> > Is it possible to implement this within csound?
>> >
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> 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"
>
>




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"

Date2010-06-07 19:57
FromOeyvind Brandtsegg
Subject[Csnd] Re: Re: Re: panic button
In ImproSculpt4 I use turnoff2 to do this.
However, I don't really want all instrument instances to stop, as
effects and other "always on" instruments should keep going.
I use turnoff2 generously when "panic" is activated, turning off all
instances of all instruments that could have been triggered by midi.
so it looks like this:

allnotesoff:
turnoff2	111, 0, 1
turnoff2	112, 0, 1
turnoff2	113, 0, 1
turnoff2	114, 0, 1
turnoff2	115, 0, 1
turnoff2	116, 0, 1
turnoff2	117, 0, 1
turnoff2	118, 0, 1
turnoff2	119, 0, 1
turnoff2	120, 0, 1
turnoff2	121, 0, 1
turnoff2	122, 0, 1
turnoff2	123, 0, 1
turnoff2	124, 0, 1
turnoff2	125, 0, 1
turnoff2	126, 0, 1
turnoff2	127, 0, 1
turnoff2	128, 0, 1
turnoff2	129, 0, 1
turnoff2	130, 0, 1
turnoff2	131, 0, 1
turnoff2	132, 0, 1
turnoff2	133, 0, 1
turnoff2	134, 0, 1
turnoff2	135, 0, 1
turnoff2	136, 0, 1
turnoff2	137, 0, 1
turnoff2	138, 0, 1
turnoff2	139, 0, 1
turnoff2	140, 0, 1
vstmidiout giVST_Clav, 176, 0, 123, 127
event		"i", 1029, 0, 1	; all notes off for formant synthesizers (fof and noise)
goto end

The two last lines are special cases for a vst instrument, and a
monophonic csound instr . This was included here more to show that
there's general (turnoff everything that has a midi channel assigned)
and special handling and you might need to do both.

Oeyvind
2010/6/7 Stefan Thomas :
> It sounds complicated, for me.
> Has someone else tried something like this?
>
> 2010/6/7 Michael Gogins 
>>
>> Perhaps you could do it with a user-defined opcode that would send out
>> a NOTE OFF event for every MIDI key number on every MIDI channel.
>>
>> Hope this helps,
>> Mike
>>
>> On Mon, Jun 7, 2010 at 1:41 PM, Stefan Thomas
>>  wrote:
>> > Dear community,
>> > from some midi-keyboards and sequencer programs I do know a so called
>> > panic
>> > button.
>> > Is it possible to implement this within csound?
>> >
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> 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"


Date2010-06-29 08:51
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: panic button
Dear community,
isn't it possible to activate midi-controller number 123, via e.g. the left pedal?

2010/6/7 Oeyvind Brandtsegg <obrandts@gmail.com>
In ImproSculpt4 I use turnoff2 to do this.
However, I don't really want all instrument instances to stop, as
effects and other "always on" instruments should keep going.
I use turnoff2 generously when "panic" is activated, turning off all
instances of all instruments that could have been triggered by midi.
so it looks like this:

allnotesoff:
turnoff2        111, 0, 1
turnoff2        112, 0, 1
turnoff2        113, 0, 1
turnoff2        114, 0, 1
turnoff2        115, 0, 1
turnoff2        116, 0, 1
turnoff2        117, 0, 1
turnoff2        118, 0, 1
turnoff2        119, 0, 1
turnoff2        120, 0, 1
turnoff2        121, 0, 1
turnoff2        122, 0, 1
turnoff2        123, 0, 1
turnoff2        124, 0, 1
turnoff2        125, 0, 1
turnoff2        126, 0, 1
turnoff2        127, 0, 1
turnoff2        128, 0, 1
turnoff2        129, 0, 1
turnoff2        130, 0, 1
turnoff2        131, 0, 1
turnoff2        132, 0, 1
turnoff2        133, 0, 1
turnoff2        134, 0, 1
turnoff2        135, 0, 1
turnoff2        136, 0, 1
turnoff2        137, 0, 1
turnoff2        138, 0, 1
turnoff2        139, 0, 1
turnoff2        140, 0, 1
vstmidiout giVST_Clav, 176, 0, 123, 127
event           "i", 1029, 0, 1 ; all notes off for formant synthesizers (fof and noise)
goto end

The two last lines are special cases for a vst instrument, and a
monophonic csound instr . This was included here more to show that
there's general (turnoff everything that has a midi channel assigned)
and special handling and you might need to do both.

Oeyvind
2010/6/7 Stefan Thomas <kontrapunktstefan@googlemail.com>:
> It sounds complicated, for me.
> Has someone else tried something like this?
>
> 2010/6/7 Michael Gogins <michael.gogins@gmail.com>
>>
>> Perhaps you could do it with a user-defined opcode that would send out
>> a NOTE OFF event for every MIDI key number on every MIDI channel.
>>
>> Hope this helps,
>> Mike
>>
>> On Mon, Jun 7, 2010 at 1:41 PM, Stefan Thomas
>> <kontrapunktstefan@googlemail.com> wrote:
>> > Dear community,
>> > from some midi-keyboards and sequencer programs I do know a so called
>> > panic
>> > button.
>> > Is it possible to implement this within csound?
>> >
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> 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"



Date2010-07-01 05:53
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: panic button
Dear community,
I found a solution for my problem.
I've just programmed my midi-pedal to send controller message to controller 123, and now it works!
Sorry, that I didn't have this solution in mind.

2010/6/29 Stefan Thomas <kontrapunktstefan@googlemail.com>
Dear community,
isn't it possible to activate midi-controller number 123, via e.g. the left pedal?

2010/6/7 Oeyvind Brandtsegg <obrandts@gmail.com>

In ImproSculpt4 I use turnoff2 to do this.
However, I don't really want all instrument instances to stop, as
effects and other "always on" instruments should keep going.
I use turnoff2 generously when "panic" is activated, turning off all
instances of all instruments that could have been triggered by midi.
so it looks like this:

allnotesoff:
turnoff2        111, 0, 1
turnoff2        112, 0, 1
turnoff2        113, 0, 1
turnoff2        114, 0, 1
turnoff2        115, 0, 1
turnoff2        116, 0, 1
turnoff2        117, 0, 1
turnoff2        118, 0, 1
turnoff2        119, 0, 1
turnoff2        120, 0, 1
turnoff2        121, 0, 1
turnoff2        122, 0, 1
turnoff2        123, 0, 1
turnoff2        124, 0, 1
turnoff2        125, 0, 1
turnoff2        126, 0, 1
turnoff2        127, 0, 1
turnoff2        128, 0, 1
turnoff2        129, 0, 1
turnoff2        130, 0, 1
turnoff2        131, 0, 1
turnoff2        132, 0, 1
turnoff2        133, 0, 1
turnoff2        134, 0, 1
turnoff2        135, 0, 1
turnoff2        136, 0, 1
turnoff2        137, 0, 1
turnoff2        138, 0, 1
turnoff2        139, 0, 1
turnoff2        140, 0, 1
vstmidiout giVST_Clav, 176, 0, 123, 127
event           "i", 1029, 0, 1 ; all notes off for formant synthesizers (fof and noise)
goto end

The two last lines are special cases for a vst instrument, and a
monophonic csound instr . This was included here more to show that
there's general (turnoff everything that has a midi channel assigned)
and special handling and you might need to do both.

Oeyvind
2010/6/7 Stefan Thomas <kontrapunktstefan@googlemail.com>:
> It sounds complicated, for me.
> Has someone else tried something like this?
>
> 2010/6/7 Michael Gogins <michael.gogins@gmail.com>
>>
>> Perhaps you could do it with a user-defined opcode that would send out
>> a NOTE OFF event for every MIDI key number on every MIDI channel.
>>
>> Hope this helps,
>> Mike
>>
>> On Mon, Jun 7, 2010 at 1:41 PM, Stefan Thomas
>> <kontrapunktstefan@googlemail.com> wrote:
>> > Dear community,
>> > from some midi-keyboards and sequencer programs I do know a so called
>> > panic
>> > button.
>> > Is it possible to implement this within csound?
>> >
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> 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"