Csound Csound-dev Csound-tekno Search About

Feature request: Fade out on sigkill or csound process terminate

Date2017-06-17 15:31
FromAnton Kholomiov
SubjectFeature request: Fade out on sigkill or csound process terminate
A feature request that is very desirable to have in the live setup.
The summary of it:

weather it's possible to include a release
stage in the csound process terminate?
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

Date2017-06-18 06:38
FromOeyvind Brandtsegg
SubjectRe: Feature request: Fade out on sigkill or csound process terminate
Hi, maybe you could do this with in the orchestra code? 
Perhaps using the sensekey opcodee to capture some keyboard command, which when received initiates the fade out, then when the fade out is done, call the exitnow opcode.

2017-06-17 7:31 GMT-07:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
A feature request that is very desirable to have in the live setup.
The summary of it:

weather it's possible to include a release
stage in the csound process terminate?
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

Date2017-06-18 13:54
FromAnton Kholomiov
SubjectRe: Feature request: Fade out on sigkill or csound process terminate
I'm closing up the Csound with external application. I'd rather not do it manualy..
Often those application run in the background with no interface.

2017-06-18 8:38 GMT+03:00 Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no>:
Hi, maybe you could do this with in the orchestra code? 
Perhaps using the sensekey opcodee to capture some keyboard command, which when received initiates the fade out, then when the fade out is done, call the exitnow opcode.

2017-06-17 7:31 GMT-07:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
A feature request that is very desirable to have in the live setup.
The summary of it:

weather it's possible to include a release
stage in the csound process terminate?
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

Date2017-06-18 16:32
Fromjoachim heintz
SubjectRe: Feature request: Fade out on sigkill or csound process terminate
the developers will tell whether this is possible or not.  i assume it 
is not easy, because kill is kill ...

but a workaround might be to send an osc message shortly before which 
means "release"?

	joachim


On 18/06/17 14:54, Anton Kholomiov wrote:
> I'm closing up the Csound with external application. I'd rather not do
> it manualy..
> Often those application run in the background with no interface.
>
> 2017-06-18 8:38 GMT+03:00 Oeyvind Brandtsegg  >:
>
>     Hi, maybe you could do this with in the orchestra code?
>     Perhaps using the sensekey opcodee to capture some keyboard command,
>     which when received initiates the fade out, then when the fade out
>     is done, call the exitnow opcode.
>
>     2017-06-17 7:31 GMT-07:00 Anton Kholomiov      >:
>
>         A feature request that is very desirable to have in the live setup.
>         The summary of it:
>
>         weather it's possible to include a release
>         stage in the csound process terminate?
>
>         https://github.com/csound/csound/issues/811
>         
>
>         Cheers!
>         Anton
>         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
>
>
>
>
>     --
>
>     Oeyvind Brandtsegg
>     Professor of Music Technology
>     NTNU
>     7491 Trondheim
>     Norway
>     Cell: +47 92 203 205
>
>     http://www.partikkelaudio.com/
>     http://crossadaptive.hf.ntnu.no 
>     http://gdsp.hf.ntnu.no/
>     http://soundcloud.com/brandtsegg 
>     http://flyndresang.no/
>     http://soundcloud.com/t-emp
>
>     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

Date2017-06-18 19:30
FromAnton Kholomiov
SubjectRe: Feature request: Fade out on sigkill or csound process terminate
Thanks for the answers!

@Joachim Indeed the osc solution is best workaround I can think of so far.

2017-06-18 18:32 GMT+03:00 joachim heintz <jh@joachimheintz.de>:
the developers will tell whether this is possible or not.  i assume it is not easy, because kill is kill ...

but a workaround might be to send an osc message shortly before which means "release"?

        joachim


On 18/06/17 14:54, Anton Kholomiov wrote:
I'm closing up the Csound with external application. I'd rather not do
it manualy..
Often those application run in the background with no interface.

2017-06-18 8:38 GMT+03:00 Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no
<mailto:oyvind.brandtsegg@ntnu.no>>:

    Hi, maybe you could do this with in the orchestra code?
    Perhaps using the sensekey opcodee to capture some keyboard command,
    which when received initiates the fade out, then when the fade out
    is done, call the exitnow opcode.

    2017-06-17 7:31 GMT-07:00 Anton Kholomiov <anton.kholomiov@gmail.com
    <mailto:anton.kholomiov@gmail.com>>:

        A feature request that is very desirable to have in the live setup.
        The summary of it:

        weather it's possible to include a release
        stage in the csound process terminate?

        https://github.com/csound/csound/issues/811
        <https://github.com/csound/csound/issues/811>

        Cheers!
        Anton
        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




    --

    Oeyvind Brandtsegg
    Professor of Music Technology
    NTNU
    7491 Trondheim
    Norway
    Cell: +47 92 203 205

    http://www.partikkelaudio.com/
    http://crossadaptive.hf.ntnu.no <http://crossadaptive.hf.ntnu.no>
    http://gdsp.hf.ntnu.no/
    http://soundcloud.com/brandtsegg <http://soundcloud.com/brandtsegg>
    http://flyndresang.no/
    http://soundcloud.com/t-emp

    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
<mailto: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

Date2017-06-22 15:08
FromAnton Kholomiov
SubjectRe: Feature request: Fade out on sigkill or csound process terminate
Actually it turns out that sending with OSC is an ugly solution...

phew..

It turns out that only one instrument can listen on the osc port.
In my scenario I use it for crossfades between instruments
of the same type. Kind of smooth switch.

But using it with OSC means that I have to assign an osc port
to every unit. Which is rather boring and error prone.



2017-06-18 21:30 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
Thanks for the answers!

@Joachim Indeed the osc solution is best workaround I can think of so far.

2017-06-18 18:32 GMT+03:00 joachim heintz <jh@joachimheintz.de>:
the developers will tell whether this is possible or not.  i assume it is not easy, because kill is kill ...

but a workaround might be to send an osc message shortly before which means "release"?

        joachim


On 18/06/17 14:54, Anton Kholomiov wrote:
I'm closing up the Csound with external application. I'd rather not do
it manualy..
Often those application run in the background with no interface.

2017-06-18 8:38 GMT+03:00 Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no
<mailto:oyvind.brandtsegg@ntnu.no>>:

    Hi, maybe you could do this with in the orchestra code?
    Perhaps using the sensekey opcodee to capture some keyboard command,
    which when received initiates the fade out, then when the fade out
    is done, call the exitnow opcode.

    2017-06-17 7:31 GMT-07:00 Anton Kholomiov <anton.kholomiov@gmail.com
    <mailto:anton.kholomiov@gmail.com>>:

        A feature request that is very desirable to have in the live setup.
        The summary of it:

        weather it's possible to include a release
        stage in the csound process terminate?

        https://github.com/csound/csound/issues/811
        <https://github.com/csound/csound/issues/811>

        Cheers!
        Anton
        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




    --

    Oeyvind Brandtsegg
    Professor of Music Technology
    NTNU
    7491 Trondheim
    Norway
    Cell: +47 92 203 205

    http://www.partikkelaudio.com/
    http://crossadaptive.hf.ntnu.no <http://crossadaptive.hf.ntnu.no>
    http://gdsp.hf.ntnu.no/
    http://soundcloud.com/brandtsegg <http://soundcloud.com/brandtsegg>
    http://flyndresang.no/
    http://soundcloud.com/t-emp

    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
<mailto: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

Date2017-06-22 15:53
FromAnton Kholomiov
SubjectRe: Feature request: Fade out on sigkill or csound process terminate
I don't like how the OSC brings a global trace with all that ports...
but it's kind of the world we live in. The jack organization seems much
smarter to me

2017-06-22 17:08 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
Actually it turns out that sending with OSC is an ugly solution...

phew..

It turns out that only one instrument can listen on the osc port.
In my scenario I use it for crossfades between instruments
of the same type. Kind of smooth switch.

But using it with OSC means that I have to assign an osc port
to every unit. Which is rather boring and error prone.



2017-06-18 21:30 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
Thanks for the answers!

@Joachim Indeed the osc solution is best workaround I can think of so far.

2017-06-18 18:32 GMT+03:00 joachim heintz <jh@joachimheintz.de>:
the developers will tell whether this is possible or not.  i assume it is not easy, because kill is kill ...

but a workaround might be to send an osc message shortly before which means "release"?

        joachim


On 18/06/17 14:54, Anton Kholomiov wrote:
I'm closing up the Csound with external application. I'd rather not do
it manualy..
Often those application run in the background with no interface.

2017-06-18 8:38 GMT+03:00 Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no
<mailto:oyvind.brandtsegg@ntnu.no>>:

    Hi, maybe you could do this with in the orchestra code?
    Perhaps using the sensekey opcodee to capture some keyboard command,
    which when received initiates the fade out, then when the fade out
    is done, call the exitnow opcode.

    2017-06-17 7:31 GMT-07:00 Anton Kholomiov <anton.kholomiov@gmail.com
    <mailto:anton.kholomiov@gmail.com>>:

        A feature request that is very desirable to have in the live setup.
        The summary of it:

        weather it's possible to include a release
        stage in the csound process terminate?

        https://github.com/csound/csound/issues/811
        <https://github.com/csound/csound/issues/811>

        Cheers!
        Anton
        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




    --

    Oeyvind Brandtsegg
    Professor of Music Technology
    NTNU
    7491 Trondheim
    Norway
    Cell: +47 92 203 205

    http://www.partikkelaudio.com/
    http://crossadaptive.hf.ntnu.no <http://crossadaptive.hf.ntnu.no>
    http://gdsp.hf.ntnu.no/
    http://soundcloud.com/brandtsegg <http://soundcloud.com/brandtsegg>
    http://flyndresang.no/
    http://soundcloud.com/t-emp

    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
<mailto: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

Date2017-06-22 16:13
FromAnders Genell
SubjectRe: Feature request: Fade out on sigkill or csound process terminate
Couldn't there be a way to use a single always on instrument that receives OSC and then use the OSC addressing string (e.g. "/foo/bar") too point messages to the correct instrument?

Regards,
Anders

22 juni 2017 kl. 16:53 skrev Anton Kholomiov <anton.kholomiov@GMAIL.COM>:

I don't like how the OSC brings a global trace with all that ports...
but it's kind of the world we live in. The jack organization seems much
smarter to me

2017-06-22 17:08 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
Actually it turns out that sending with OSC is an ugly solution...

phew..

It turns out that only one instrument can listen on the osc port.
In my scenario I use it for crossfades between instruments
of the same type. Kind of smooth switch.

But using it with OSC means that I have to assign an osc port
to every unit. Which is rather boring and error prone.



2017-06-18 21:30 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
Thanks for the answers!

@Joachim Indeed the osc solution is best workaround I can think of so far.

2017-06-18 18:32 GMT+03:00 joachim heintz <jh@joachimheintz.de>:
the developers will tell whether this is possible or not.  i assume it is not easy, because kill is kill ...

but a workaround might be to send an osc message shortly before which means "release"?

        joachim


On 18/06/17 14:54, Anton Kholomiov wrote:
I'm closing up the Csound with external application. I'd rather not do
it manualy..
Often those application run in the background with no interface.

2017-06-18 8:38 GMT+03:00 Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no
<mailto:oyvind.brandtsegg@ntnu.no>>:

    Hi, maybe you could do this with in the orchestra code?
    Perhaps using the sensekey opcodee to capture some keyboard command,
    which when received initiates the fade out, then when the fade out
    is done, call the exitnow opcode.

    2017-06-17 7:31 GMT-07:00 Anton Kholomiov <anton.kholomiov@gmail.com
    <mailto:anton.kholomiov@gmail.com>>:

        A feature request that is very desirable to have in the live setup.
        The summary of it:

        weather it's possible to include a release
        stage in the csound process terminate?

        https://github.com/csound/csound/issues/811
        <https://github.com/csound/csound/issues/811>

        Cheers!
        Anton
        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




    --

    Oeyvind Brandtsegg
    Professor of Music Technology
    NTNU
    7491 Trondheim
    Norway
    Cell: +47 92 203 205

    http://www.partikkelaudio.com/
    http://crossadaptive.hf.ntnu.no <http://crossadaptive.hf.ntnu.no>
    http://gdsp.hf.ntnu.no/
    http://soundcloud.com/brandtsegg <http://soundcloud.com/brandtsegg>
    http://flyndresang.no/
    http://soundcloud.com/t-emp

    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
<mailto: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

Date2017-06-22 16:24
FromDave Seidel
SubjectRe: Feature request: Fade out on sigkill or csound process terminate
This is how I use OSC, with a single alwayson instrument (in my case, the instrument sets gk variables based on the incoming messages).

On Thu, Jun 22, 2017 at 11:13 AM, Anders Genell <anders.genell@gmail.com> wrote:
Couldn't there be a way to use a single always on instrument that receives OSC and then use the OSC addressing string (e.g. "/foo/bar") too point messages to the correct instrument?

Regards,
Anders

22 juni 2017 kl. 16:53 skrev Anton Kholomiov <anton.kholomiov@GMAIL.COM>:

I don't like how the OSC brings a global trace with all that ports...
but it's kind of the world we live in. The jack organization seems much
smarter to me

2017-06-22 17:08 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
Actually it turns out that sending with OSC is an ugly solution...

phew..

It turns out that only one instrument can listen on the osc port.
In my scenario I use it for crossfades between instruments
of the same type. Kind of smooth switch.

But using it with OSC means that I have to assign an osc port
to every unit. Which is rather boring and error prone.



2017-06-18 21:30 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
Thanks for the answers!

@Joachim Indeed the osc solution is best workaround I can think of so far.

2017-06-18 18:32 GMT+03:00 joachim heintz <jh@joachimheintz.de>:
the developers will tell whether this is possible or not.  i assume it is not easy, because kill is kill ...

but a workaround might be to send an osc message shortly before which means "release"?

        joachim


On 18/06/17 14:54, Anton Kholomiov wrote:
I'm closing up the Csound with external application. I'd rather not do
it manualy..
Often those application run in the background with no interface.

2017-06-18 8:38 GMT+03:00 Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no
<mailto:oyvind.brandtsegg@ntnu.no>>:

    Hi, maybe you could do this with in the orchestra code?
    Perhaps using the sensekey opcodee to capture some keyboard command,
    which when received initiates the fade out, then when the fade out
    is done, call the exitnow opcode.

    2017-06-17 7:31 GMT-07:00 Anton Kholomiov <anton.kholomiov@gmail.com
    <mailto:anton.kholomiov@gmail.com>>:

        A feature request that is very desirable to have in the live setup.
        The summary of it:

        weather it's possible to include a release
        stage in the csound process terminate?

        https://github.com/csound/csound/issues/811
        <https://github.com/csound/csound/issues/811>

        Cheers!
        Anton
        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




    --

    Oeyvind Brandtsegg
    Professor of Music Technology
    NTNU
    7491 Trondheim
    Norway
    Cell: +47 92 203 205

    http://www.partikkelaudio.com/
    http://crossadaptive.hf.ntnu.no <http://crossadaptive.hf.ntnu.no>
    http://gdsp.hf.ntnu.no/
    http://soundcloud.com/brandtsegg <http://soundcloud.com/brandtsegg>
    http://flyndresang.no/
    http://soundcloud.com/t-emp

    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
<mailto: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

Date2017-06-22 16:42
FromTarmo Johannes
SubjectRe: Feature request: Fade out on sigkill or csound process terminate
Hi, 

what I would do is to have one instrument to fade out global volume, make 
Csound to listen to incoming  messages (--port= switch) and send an UDP 
message to start that instrument and then a scoreline to end csound (not 
completely sure, if the latter works):

instr fadeOut
gkVolume line i(gkVolume), p3, 0
endin

and send (via python ot netcat command or perhaps some other command line 
tool):

schedule "fadeOut", 0,1
scoreline_i "e 0 1" ; not tested, if works this way.

Once again -  Csound's runtime compilation is awesome!

tarmo



On neljapäev, 22. juuni 2017 11:24.51 EEST you wrote:
> This is how I use OSC, with a single alwayson instrument (in my case, the
> instrument sets gk variables based on the incoming messages).
> 
> On Thu, Jun 22, 2017 at 11:13 AM, Anders Genell 
> 
> wrote:
> > Couldn't there be a way to use a single always on instrument that receives
> > OSC and then use the OSC addressing string (e.g. "/foo/bar") too point
> > messages to the correct instrument?
> > 
> > Regards,
> > Anders
> > 
> > 22 juni 2017 kl. 16:53 skrev Anton Kholomiov :
> > 
> > I don't like how the OSC brings a global trace with all that ports...
> > but it's kind of the world we live in. The jack organization seems much
> > smarter to me
> > 
> > 2017-06-22 17:08 GMT+03:00 Anton Kholomiov :
> >> Actually it turns out that sending with OSC is an ugly solution...
> >> 
> >> phew..
> >> 
> >> It turns out that only one instrument can listen on the osc port.
> >> In my scenario I use it for crossfades between instruments
> >> of the same type. Kind of smooth switch.
> >> 
> >> But using it with OSC means that I have to assign an osc port
> >> to every unit. Which is rather boring and error prone.
> >> 
> >> 2017-06-18 21:30 GMT+03:00 Anton Kholomiov :
> >>> Thanks for the answers!
> >>> 
> >>> @Joachim Indeed the osc solution is best workaround I can think of so
> >>> far.
> >>> 
> >>> 2017-06-18 18:32 GMT+03:00 joachim heintz :
> >>>> the developers will tell whether this is possible or not.  i assume it
> >>>> is not easy, because kill is kill ...
> >>>> 
> >>>> but a workaround might be to send an osc message shortly before which
> >>>> means "release"?
> >>>> 
> >>>>         joachim
> >>>> 
> >>>> On 18/06/17 14:54, Anton Kholomiov wrote:
> >>>>> I'm closing up the Csound with external application. I'd rather not do
> >>>>> it manualy..
> >>>>> Often those application run in the background with no interface.
> >>>>> 
> >>>>> 2017-06-18 8:38 GMT+03:00 Oeyvind Brandtsegg <
> >>>>> oyvind.brandtsegg@ntnu.no
> >>>>> 
> >>>>> >:
> >>>>>     Hi, maybe you could do this with in the orchestra code?
> >>>>>     Perhaps using the sensekey opcodee to capture some keyboard
> >>>>> 
> >>>>> command,
> >>>>> 
> >>>>>     which when received initiates the fade out, then when the fade out
> >>>>>     is done, call the exitnow opcode.
> >>>>>     
> >>>>>     2017-06-17 7:31 GMT-07:00 Anton Kholomiov <
> >>>>> 
> >>>>> anton.kholomiov@gmail.com
> >>>>> 
> >>>>>     >:
> >>>>>         A feature request that is very desirable to have in the live
> >>>>> 
> >>>>> setup.
> >>>>> 
> >>>>>         The summary of it:
> >>>>>         
> >>>>>         weather it's possible to include a release
> >>>>>         stage in the csound process terminate?
> >>>>>         
> >>>>>         https://github.com/csound/csound/issues/811
> >>>>>         
> >>>>>         
> >>>>>         Cheers!
> >>>>>         Anton
> >>>>>         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
> >>>>>     
> >>>>>     --
> >>>>>     
> >>>>>     Oeyvind Brandtsegg
> >>>>>     Professor of Music Technology
> >>>>>     NTNU
> >>>>>     7491 Trondheim
> >>>>>     Norway
> >>>>>     Cell: +47 92 203 205
> >>>>>     
> >>>>>     http://www.partikkelaudio.com/
> >>>>>     http://crossadaptive.hf.ntnu.no 
> >>>>>     http://gdsp.hf.ntnu.no/
> >>>>>     http://soundcloud.com/brandtsegg  >>>>>     
> >>>>>     http://flyndresang.no/
> >>>>>     http://soundcloud.com/t-emp
> >>>>>     
> >>>>>     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

Date2017-06-23 08:07
FromAnton Kholomiov
SubjectRe: Feature request: Fade out on sigkill or csound process terminate
Hey, hey, hey

so many options :) now I think I've got the broader view on the problem.

Thanks for proposals!
Anton



2017-06-22 18:42 GMT+03:00 Tarmo Johannes <trmjhnns@gmail.com>:
Hi,

what I would do is to have one instrument to fade out global volume, make
Csound to listen to incoming  messages (--port= switch) and send an UDP
message to start that instrument and then a scoreline to end csound (not
completely sure, if the latter works):

instr fadeOut
gkVolume line i(gkVolume), p3, 0
endin

and send (via python ot netcat command or perhaps some other command line
tool):

schedule "fadeOut", 0,1
scoreline_i "e 0 1" ; not tested, if works this way.

Once again -  Csound's runtime compilation is awesome!

tarmo



On neljapäev, 22. juuni 2017 11:24.51 EEST you wrote:
> This is how I use OSC, with a single alwayson instrument (in my case, the
> instrument sets gk variables based on the incoming messages).
>
> On Thu, Jun 22, 2017 at 11:13 AM, Anders Genell <anders.genell@gmail.com>
>
> wrote:
> > Couldn't there be a way to use a single always on instrument that receives
> > OSC and then use the OSC addressing string (e.g. "/foo/bar") too point
> > messages to the correct instrument?
> >
> > Regards,
> > Anders
> >
> > 22 juni 2017 kl. 16:53 skrev Anton Kholomiov <anton.kholomiov@GMAIL.COM>:
> >
> > I don't like how the OSC brings a global trace with all that ports...
> > but it's kind of the world we live in. The jack organization seems much
> > smarter to me
> >
> > 2017-06-22 17:08 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
> >> Actually it turns out that sending with OSC is an ugly solution...
> >>
> >> phew..
> >>
> >> It turns out that only one instrument can listen on the osc port.
> >> In my scenario I use it for crossfades between instruments
> >> of the same type. Kind of smooth switch.
> >>
> >> But using it with OSC means that I have to assign an osc port
> >> to every unit. Which is rather boring and error prone.
> >>
> >> 2017-06-18 21:30 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
> >>> Thanks for the answers!
> >>>
> >>> @Joachim Indeed the osc solution is best workaround I can think of so
> >>> far.
> >>>
> >>> 2017-06-18 18:32 GMT+03:00 joachim heintz <jh@joachimheintz.de>:
> >>>> the developers will tell whether this is possible or not.  i assume it
> >>>> is not easy, because kill is kill ...
> >>>>
> >>>> but a workaround might be to send an osc message shortly before which
> >>>> means "release"?
> >>>>
> >>>>         joachim
> >>>>
> >>>> On 18/06/17 14:54, Anton Kholomiov wrote:
> >>>>> I'm closing up the Csound with external application. I'd rather not do
> >>>>> it manualy..
> >>>>> Often those application run in the background with no interface.
> >>>>>
> >>>>> 2017-06-18 8:38 GMT+03:00 Oeyvind Brandtsegg <
> >>>>> oyvind.brandtsegg@ntnu.no
> >>>>>
> >>>>> <mailto:oyvind.brandtsegg@ntnu.no>>:
> >>>>>     Hi, maybe you could do this with in the orchestra code?
> >>>>>     Perhaps using the sensekey opcodee to capture some keyboard
> >>>>>
> >>>>> command,
> >>>>>
> >>>>>     which when received initiates the fade out, then when the fade out
> >>>>>     is done, call the exitnow opcode.
> >>>>>
> >>>>>     2017-06-17 7:31 GMT-07:00 Anton Kholomiov <
> >>>>>
> >>>>> anton.kholomiov@gmail.com
> >>>>>
> >>>>>     <mailto:anton.kholomiov@gmail.com>>:
> >>>>>         A feature request that is very desirable to have in the live
> >>>>>
> >>>>> setup.
> >>>>>
> >>>>>         The summary of it:
> >>>>>
> >>>>>         weather it's possible to include a release
> >>>>>         stage in the csound process terminate?
> >>>>>
> >>>>>         https://github.com/csound/csound/issues/811
> >>>>>         <https://github.com/csound/csound/issues/811>
> >>>>>
> >>>>>         Cheers!
> >>>>>         Anton
> >>>>>         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
> >>>>>
> >>>>>     --
> >>>>>
> >>>>>     Oeyvind Brandtsegg
> >>>>>     Professor of Music Technology
> >>>>>     NTNU
> >>>>>     7491 Trondheim
> >>>>>     Norway
> >>>>>     Cell: +47 92 203 205
> >>>>>
> >>>>>     http://www.partikkelaudio.com/
> >>>>>     http://crossadaptive.hf.ntnu.no <http://crossadaptive.hf.ntnu.no>
> >>>>>     http://gdsp.hf.ntnu.no/
> >>>>>     http://soundcloud.com/brandtsegg <http://soundcloud.com/brandtsegg
> >>>>>
> >>>>>     http://flyndresang.no/
> >>>>>     http://soundcloud.com/t-emp
> >>>>>
> >>>>>     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
> >>>>> <mailto: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