[go: up one dir, main page]

File: li.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 (88 lines) | stat: -rw-r--r-- 2,644 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
<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>The Cybil compositional language</TITLE>
</HEAD>
<BODY>

<CENTER>&nbsp;</CENTER>

<CENTER><TABLE COLS=3 WIDTH="100%" NOSAVE >
<TR ALIGN=CENTER VALIGN=CENTER NOSAVE>
<TD ALIGN=LEFT VALIGN=TOP NOSAVE><B><A HREF="sq.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="lo.html">--></A></FONT></B></TD>
</TR>
</TABLE></CENTER>

<CENTER>&nbsp;</CENTER>

<CENTER>
<H2>
The li algorithm</H2></CENTER>

<CENTER><A HREF="cybil.html">The Cybil composition language</A></CENTER>

<CENTER><A HREF="gensyn.html">Cybil general syntax</A></CENTER>

<CENTER><A HREF="commands.html">Algorithms</A><B><A HREF="sq.html"> sq</A>
- <A HREF="li.html">li </A>-<A HREF="li.html"> </A><A HREF="lo.html">lo </A>-
<A HREF="ma.html">ma</A> - <A HREF="gr.html">gr</A></B></CENTER>

<CENTER><A HREF="funcs.html">Functions</A> <B><A HREF="ran.html">ran </A>-
<A HREF="pik.html">pik</A> - <A HREF="pa.html">pa</A> - <A HREF="co.html">co</A></B></CENTER>

<CENTER><A HREF="oper.html">Operations</A></CENTER>

<CENTER><A HREF="examp.html">Examples of Cybil command lines</A><BR>
<BR></CENTER>

<CENTER><A HREF="examp.html"></A></CENTER>

<CENTER>
<HR></CENTER>
&nbsp;
<H4>
The li algorithm</H4>

<PRE>{li val1 val2 duration(s)}</PRE>
The <B>li</B> is for line. The values given after <B>li</B> will define
the departure and arrival points of a straight line. Last element in the
list is the duration in number of events or seconds (s)

<P>Values can be:
<OL>
<LI>
<B>a real number.</B></LI>

<PRE>{li 4.567 10 10s}&nbsp;
{li 4 0 30}</PRE>

<LI>
<B>a CECILIA irate variable.</B> Any irate variable from the CECILIA interface
can be used (sliders, toggles, option) by including the name of the variable
between <B>[]</B> brackets. The substitution is done before the score is
pre-compiled.</LI>

<PRE>{li [blue] [black] 30s}</PRE>
where <B>blue</B> and <B>black</B> have been defined as irate variables
in the CECILIA interface.
<BR>&nbsp;
<LI>
<B>a Cybil function. </B>Any Cybil function can be used to generate a value
for the sequencer. Each time the value is needed, the function is evaluated
(see functions further).</LI>

<PRE>{li {ran f .5 3.3} 4 30s}</PRE>
At computation time, the departure value of the line will be randomly selected
between .5 and 3.3. The arrival point will always be <B>4</B>.</OL>

<HR>
<BR>&nbsp;
<BR>&nbsp;
</BODY>
</HTML>