File: score.html

package info (click to toggle)
cecilia 2.0.5-2.2
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 4,452 kB
  • ctags: 833
  • sloc: tcl: 9,786; sh: 1,097; makefile: 69; csh: 13
file content (114 lines) | stat: -rw-r--r-- 4,179 bytes parent folder | download | duplicates (7)
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>
&nbsp;
<CENTER><TABLE COLS=3 WIDTH="100%" NOSAVE >
<TR ALIGN=CENTER VALIGN=CENTER NOSAVE>
<TD ALIGN=LEFT VALIGN=TOP NOSAVE><B><A HREF="substitu.html">&lt;--</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>&nbsp;</CENTER>

<CENTER>
<H2>
The&nbsp; 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>&nbsp;
<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>&nbsp;
<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>&nbsp;
<HR WIDTH="100%">
<BR>&nbsp;
<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>&nbsp;
<HR WIDTH="100%">
<BR>&nbsp;
<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---- simple example ---
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #tcl
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set dummy "
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i1 $value(offset1) $value(duree1)&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i1 $value(offset1) $value(duree1)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----------------------
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---- more complex ---
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #tcl
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proc whatever {} {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; global value soundOutInfo
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #code tcl complexe
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proc more {} {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; global value
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #encore +!
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proc makeScore {} {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #blah blah
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; makeScore
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----------------------</PRE>
</OL>

</BODY>
</HTML>