Csound Csound-dev Csound-tekno Search About

[Csnd] xchan UDO

Date2017-11-01 22:28
FromSteven Yi
Subject[Csnd] xchan UDO
Hi All,

I put together a new UDO today as part of my livecode.orc library:

https://github.com/kunstmusik/csound-live-code/blob/master/livecode.orc#L190-L219

It's a kind of utility UDO for reading from a channel as well as
setting a default value. I think it might be handy not just for live
coding but also for keeping the channel initialization and use
encapsulated within an instrument definition.

I published a demo video on Youtube:

https://youtu.be/G5P_MP_2a18

showing how the UDO works as part of a live coding session. In the
video, I show using chnset to set a value immediately (i-time chnset
as part of instr 0 evaluation), as well as within the context of an
Auto1 instrument that automates the channel at k-rate.

If you want try it out yourself, I first started Csound using the
livecode.csd provided in the repository, then used the code from:

https://github.com/kunstmusik/csound-live-code/blob/master/snaps/snap2.orc

as a starting point to the session.  In the video, I am using Vim for
the live coding within a tmux session, but any Csound editor that
supports live coding should work.

The documentation for livecode.orc is still forthcoming. :)

Thanks!
steven

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-11-02 07:07
FromTarmo Johannes
SubjectRe: [Csnd] xchan UDO
Hi,

Thanks! Good idea to create new channels that carry info if the given channel 
is initalized or not, turn very handy in many situations!

tarmo

On Thursday, November 2, 2017 12:28:27 AM EET you wrote:
> Hi All,
> 
> I put together a new UDO today as part of my livecode.orc library:
> 
> https://github.com/kunstmusik/csound-live-code/blob/master/livecode.orc#L190
> -L219
> 
> It's a kind of utility UDO for reading from a channel as well as
> setting a default value. I think it might be handy not just for live
> coding but also for keeping the channel initialization and use
> encapsulated within an instrument definition.
> 
> I published a demo video on Youtube:
> 
> https://youtu.be/G5P_MP_2a18
> 
> showing how the UDO works as part of a live coding session. In the
> video, I show using chnset to set a value immediately (i-time chnset
> as part of instr 0 evaluation), as well as within the context of an
> Auto1 instrument that automates the channel at k-rate.
> 
> If you want try it out yourself, I first started Csound using the
> livecode.csd provided in the repository, then used the code from:
> 
> https://github.com/kunstmusik/csound-live-code/blob/master/snaps/snap2.orc
> 
> as a starting point to the session.  In the video, I am using Vim for
> the live coding within a tmux session, but any Csound editor that
> supports live coding should work.
> 
> The documentation for livecode.orc is still forthcoming. :)
> 
> Thanks!
> steven
> 
> 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