File: UserManual_37.html

package info (click to toggle)
taopm 1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,972 kB
  • sloc: sh: 9,809; cpp: 5,161; yacc: 2,298; lex: 464; makefile: 434; ansic: 57
file content (88 lines) | stat: -rwxr-xr-x 5,191 bytes parent folder | download | duplicates (3)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<!-- HTML file produced from file: UserManual.tex --
 -- using Hyperlatex v 2.3.1 (c) Otfried Cheong--
 -- on Emacs 21.1 (patch 4) "Arches" XEmacs Lucid, Sun Apr 30 20:49:56 2000 -->
<HEAD>
<TITLE>Tao User Manual -- Executing the script</TITLE>

    <link rel=stylesheet href="../../taomanual.css" type="text/css">
    
</HEAD><BODY BACKGROUND="bg.gif">

    <table width="500" border="0" align="left" cellspacing="2" cellpadding="2"><tr><td class="nav" valign="top"><!-- top panel --><A HREF="UserManual_35.html"><IMG ALT="Up" ALIGN=BOTTOM BORDER=0 SRC="up.gif"></A>
    <BR><A HREF="UserManual_35.html">Getting Started</A><BR><IMG width="167" height="1" SRC="trans1x1.gif">
    </td><td class="nav" valign="top"><A HREF="UserManual_36.html"><IMG ALT="Back" ALIGN=BOTTOM BORDER=0 SRC="back.gif"></A>
    <BR><A HREF="UserManual_36.html">Writing a script</A><BR><IMG width="167" height="1" SRC="trans1x1.gif">
    </td><td class="nav" valign="top"><A HREF="UserManual_38.html"><IMG ALT="Forward" ALIGN=BOTTOM BORDER=0 SRC="forward.gif"></A>
    <BR><A HREF="UserManual_38.html">The output of the `tao' command</A><BR><IMG width="167" height="1" SRC="trans1x1.gif">
    </td></tr><!-- end top panel --><tr><td colspan="3" class="main"><!-- main text --><br><br>
<H2>Executing the script</H2>
To execute this script simply type the following:
<P><PRE>
    tao new
</PRE>
<P><B>Tao</B> should respond with the following messages in the shell window:
<P><PRE>
    ========================================
    |     Tao (c) 1996-99 Mark Pearson     |
    | Sound Synthesis with Physical Models |
    ========================================

    Processing new.tao
    Making new.exe
    Executing new.exe

    Sample rate=44100 KHz
    Score duration=20 seconds                
</PRE>
<P>You should then see the <EM>instrument visualisation window</EM>
open. It should look something like the following:
<P><P>  <A NAME="1">
    <BLOCKQUOTE><CENTER>
    
    
    <IMG  SRC="new.gif">
    
    </CENTER></BLOCKQUOTE>
    <CENTER>The instrument visualisation window generated by script new.tao</CENTER>
  </A>
<P>    
<P>When the visualisation window opens <B>Tao</B> is initially in <EM>pause mode</EM><A NAME="2">.</A>
To get it out of this mode you should press the right cursor key once.
You can pause the whole system again by pressing the left cursor key at
any point in time. If you repeatedly press the right cursor key you will
see that the animation begins to move more and more rapidly although eventually
it becomes less smooth. If you now repeatedly press the left cursor
key, the animation slows down again and becomes smoother.
<P>The reason for this is that it is possible to change the frequency with
which the visualisation window is updated. <B>Tao</B> has a <EM>synthesis engine</EM>
which keeps track of all the instruments and devices created in a script, and
carries out all the calculations involved in bringing them to life. It also
has a <EM>graphics engine</EM> which is responsible for displaying the
instruments and devices in the visualisation window. Pressing the left and
right cursor keys simply changes how frequently the graphics engine 
visualises what is going on inside the synthesis engine. Displaying the
instruments and devices on every tick of the synthesis engine leads to
smooth animations but at the expense of making the whole system slow
down. Conversely, displaying the instruments less frequently gives
a bigger slice of the processing power over to the synthesis engine at the
expense of producing more jerky animations.
<P>Now supposing you want to run a performance at maximum efficiency, without
the overhead of the graphics window. When executing a script for the
first time you can simply hit the right cursor key to set the synthesis
engine in motion, and then mimimise the graphics window. This means
that all the computational resources available will be put into the
synthesis itself, until the graphics window is restored.
<P>
    <BR></td></tr><!-- end main text --><tr><td class="nav" align="left" valign="top"><!-- bottom matter --><A HREF="UserManual_35.html"><IMG ALT="Up" ALIGN=BOTTOM BORDER=0 SRC="up.gif"></A>
    <BR><A HREF="UserManual_35.html">Getting Started</A><BR><IMG width="167" height="1" SRC="trans1x1.gif">
    </td><td class="nav" align="left" valign="top"><A HREF="UserManual_36.html"><IMG ALT="Back" ALIGN=BOTTOM BORDER=0 SRC="back.gif"></A>
    <BR><A HREF="UserManual_36.html">Writing a script</A><BR><IMG width="167" height="1" SRC="trans1x1.gif">
    </td><td class="nav" align="left" valign="top"><!-- bottom matter --><A HREF="UserManual_38.html"><IMG ALT="Forward" ALIGN=BOTTOM BORDER=0 SRC="forward.gif"></A>
    <BR><A HREF="UserManual_38.html">The output of the `tao' command</A>
    <IMG width="167" height="1" SRC="trans1x1.gif">
    </td></tr><!-- end bottom matter -->

    <tr><td colspan="3" class="addr"><!-- bottom panel --><ADDRESS><FONT SIZE=-1>&#169;1999,2000 Mark Pearson
<A HREF="mailto:m.pearson@ukonline.co.uk">m.pearson@ukonline.co.uk</A> April 30, 2000</ADDRESS><BR></td></tr><!-- end bottom panel --></table></BODY></HTML>