1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (X11; I; IRIX 6.3 IP32) [Netscape]">
<TITLE>CECILIA SCORES</TITLE>
</HEAD>
<BODY>
<CENTER><TABLE COLS=3 WIDTH="100%" NOSAVE >
<TR ALIGN=CENTER VALIGN=CENTER NOSAVE>
<TD ALIGN=LEFT VALIGN=TOP NOSAVE><B><A HREF="substitu.html"><--</A></B></TD>
<TD ALIGN=CENTER VALIGN=CENTER NOSAVE><A HREF="index.html"><IMG SRC="help.gif" ></A></TD>
<TD ALIGN=RIGHT VALIGN=TOP NOSAVE><B><FONT COLOR="#000000"><A HREF="special.html">--></A></FONT></B></TD>
</TR>
</TABLE></CENTER>
<CENTER> </CENTER>
<CENTER>
<H2>
The CECILIA scores</H2></CENTER>
<CENTER><A HREF="#norm">Normal</A></CENTER>
<CENTER><A HREF="#minimum">Mininum</A></CENTER>
<CENTER><A HREF="#cyb">Cybil</A></CENTER>
<CENTER><A HREF="#tcl">Tcl</A><BR>
<BR>
<BR></CENTER>
<CENTER>
<HR></CENTER>
<P><B>There are four types of scores:</B>
<P>
<OL>
<LI>
<A NAME="norm"></A>Any legal ordinary Csound score. A tcl evaluation is
performed where any CECILIA [variable] is <A HREF="substitu.html">substituted</A>
with the current value of the interface's objects. The score is then passed
on to Csound.<BR>
<BR></LI>
<BR>
<HR WIDTH="100%">
<P>
<LI>
<B>#<A NAME="minimum"></A>minimum</B></LI>
<BR>If the score begins on the first line with and contains only the word
minimum preceded by a sharp sign, CECILIA produces a score containing a
single note on i1 starting at time 0 and lasting for the duration equal
to the longest duration of all active input soundfiles (see <A HREF="cec_file.html">filein</A>
object), OR, the duration specified by a slider specifically named "total_time"
or "duree_totale" .
<P>
<HR WIDTH="100%">
<BR>
<LI>
<B>#<A NAME="cyb"></A>cyb</B></LI>
<BR>If the score begins on the first line with the word "cyb" preceded
by a sharp sign, the following lines will be interpreted as a <A HREF="cybil.html">Cybil</A>
score. See the accompanying help file on <A HREF="cybil.html">Cybil</A>.
<P>
<HR WIDTH="100%">
<BR>
<LI>
<B>#<A NAME="tcl"></A>tcl</B></LI>
<BR>If the score begins on the first line with the word tcl preceded by
a sharp sign, the following lines will be interpreted as a tcl program.
Any tcl procedure or program will be interpreted and a score will be compiled
and then passed on to Csound. To do this, it is useful to know that the
array "value" contains all the current values of the interface objects.
Hence, $value(offset1) will contain the current time-based value of a graph
(or slider) named "offset1" . Two possible ways of doing this:
<PRE> ---- simple example ---
#tcl
set dummy "
i1 $value(offset1) $value(duree1)
i1 $value(offset1) $value(duree1)
"
-----------------------
---- more complex ---
#tcl
proc whatever {} {
global value soundOutInfo
#code tcl complexe
}
proc more {} {
global value
#encore +!
}
proc makeScore {} {
#blah blah
}
makeScore
-----------------------</PRE>
</OL>
</BODY>
</HTML>
|