Csound Csound-dev Csound-tekno Search About

Midictrl vs. Ctrl7

Date2005-10-23 02:27
From"Art Hunkins"
SubjectMidictrl vs. Ctrl7
AttachmentsBohnCtrl7.csd  BohnMidictrl.csd  
Hello, James,

Looking over your Tutorial 3, I was struck by your use of midictrl. I had
thought that, for me, midictrl didn't work; as a result I always used ctrl7,
which *did* work.

But in your examples midictrl worked fine. So I thought I'd dig deeper.

What I found is something you (and the listserv, to which I'm copying this)
may find interesting.

As the two simplified .csd's - both based on your Tutorial 3 - illustrate,
midictrl works only when notes are externally triggered from midi. OTOH,
ctrl7 works when either notes are triggered via midi *or* by a score event
(as in an "always on" note such as is typical usage in my compositions).

Simple modifications of the attached .csd's illustrate this. (A basic midi
keyboard is required; note volume is controlled by modulation wheel -
controller 1.) Note that if you substitute midictrl for ctrl7 in BohnCtrl7,
you don't get any sound, as kmod (midictrl) is now inactive.

FWIW, I believe Csound documentation should reflect this difference,
especially the limitation on midictrl. I'm not aware that this important
distinction is made anywhere.

Once again, congratulations on a fine set of tutorials - and I hope your
upcoming presentation goes well.

Best regards -

Art Hunkins

----- Original Message -----
From: "James Bohn" 
To: 
Sent: Friday, October 21, 2005 9:21 AM
Subject: Fwd: Re: [Csnd] Using CSound in Live Performance


> Thanks for the kind words Art.  I certainly don't have a problem with
> it being linked.  Now or after.
>
> Thanks:
>
> Jim
>
> >An excellent tutorial/introduction to realtime MIDI-controlled Csound.
> >
> >It would be highly appropriate for a link to this paper to be posted at
> >csounds.com, perhaps after it is delivered in early November.
> >
> >Would this be possible?
> >
> >Art Hunkins
> >
> >----- Original Message -----
> >From: "James Bohn" 
> >To: 
> >Sent: Tuesday, October 18, 2005 10:13 PM
> >Subject: [Csnd] Using CSound in Live Performance
> >
> >
> >>  Hello:
> >>
> >>  Those of you heading to ATMI / CMS in November, I will be giving a
> >>  paper on Using CSound in Live Performance:
> >>
> >>  Thursday, November 3rd, Paper Session "Using CSound in Live
> >>  Performance" at the Association for Technology in Music Instruction
> >>  International Convention - Quebec City, Quebec
> >>
> >>  http://atmionline.org/Conferences/Conf2005/2005Program.htm
> >>
> >>  If you are interested, but can't attend, the paper is online at . . .
> >>
> >>  http://www.bohnmedia.com/jbohn/csound
> >>
> >>  Also, I will be having a premiere in Worchester where the tape part
> >>  was realized in CSound . . .
> >>
> >>  Friday, November 4th, Premiere of "wormwood" for 2 toy pianos, piano
> >>  and tape at the "Extensible Toy Piano Project" - Worchester, MA
> >>
> >>  http://www.clarku.edu/faculty/mmalsky/festival.html
> >>
> >>  Thanks:
> >>
> >>  --
> >>  ***************************
> >>  James Bohn
> >>  Bohn Media
> >>  210 James Street
> >>  New Bedford, MA 02740
> >>  508.999.2308
> >>  mailto:jbohn@bohnmedia.com
> >>  http://www.bohnmedia.com
> >>  --
> >>  Send bugs reports to this list.
> >>  To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
> >
> >--
> >Send bugs reports to this list.
> >To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>
> --
> ***************************
> James Bohn
> Bohn Media
> 210 James Street
> New Bedford, MA 02740
> 508.999.2308
> mailto:jbohn@bohnmedia.com
> http://www.bohnmedia.com

Date2005-10-23 10:16
FromIstvan Varga
SubjectRe: Midictrl vs. Ctrl7
Well, from the syntax of midictrl it should be obvious that it is
not suitable for use from score notes, as it does not take a channel
number argument; which channel would you expect it to read in a non-MIDI
triggered note ?
Nevertheless, updating the manual may be useful just to make this clear.

Art Hunkins wrote:

> Looking over your Tutorial 3, I was struck by your use of midictrl. I had
> thought that, for me, midictrl didn't work; as a result I always used ctrl7,
> which *did* work.
> 
> But in your examples midictrl worked fine. So I thought I'd dig deeper.
> 
> What I found is something you (and the listserv, to which I'm copying this)
> may find interesting.
> 
> As the two simplified .csd's - both based on your Tutorial 3 - illustrate,
> midictrl works only when notes are externally triggered from midi. OTOH,
> ctrl7 works when either notes are triggered via midi *or* by a score event
> (as in an "always on" note such as is typical usage in my compositions).
> 
> Simple modifications of the attached .csd's illustrate this. (A basic midi
> keyboard is required; note volume is controlled by modulation wheel -
> controller 1.) Note that if you substitute midictrl for ctrl7 in BohnCtrl7,
> you don't get any sound, as kmod (midictrl) is now inactive.
> 
> FWIW, I believe Csound documentation should reflect this difference,
> especially the limitation on midictrl. I'm not aware that this important
> distinction is made anywhere.
> 
> Once again, congratulations on a fine set of tutorials - and I hope your
> upcoming presentation goes well.