Debian Codegraph @

doc/title.html

raw
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 <!DOCTYPE html>
37 <html><head><title>Nyquist Reference Manual</title></head><body>
38
39
40
41
42 <h1>Nyquist Reference Manual</h1>
43 <b>Version 3.24</b>
44
45 <b>Copyright 2013-2025 by Roger B. Dannenberg</b>
46
47
48
49 <blockquote>Carnegie Mellon University<br>
50 School of Computer Science<br>
51 Pittsburgh, PA 15213, U.S.A.</blockquote>
52
53
54
55
56
57
58 <i></i>
59
60
61 <hr>
62 <a href = "part1.html">Next Section</a> | <a href = "indx.html">Index</a> | <hr>
63 <a name = "toc">
64 <h2>Table of Contents</h2></a>
65 <ul>
66 <li><a href = "part1.html#0"NIL>Preface</a>
67 <li><a href = "part2.html#1"NIL>Introduction and Overview</a>
68 <ul>
69 <li><a href = "part2.html#3"NIL>Installation</a>
70 <ul>
71 <li><a href = "part2.html#4"NIL>Troubleshooting</a>
72 </ul>
73 <li><a href = "part2.html#5"NIL>Using NyquistIDE</a>
74 <li><a href = "part2.html#6"NIL>Using SAL</a>
75 <li><a href = "part2.html#7"NIL>Command Line</a>
76 <li><a href = "part2.html#8"NIL>Helpful Hints</a>
77 <li><a href = "part2.html#9"NIL>Using Lisp</a>
78 <li><a href = "part2.html#10"NIL>Examples</a>
79 <ul>
80 <li><a href = "part2.html#11"NIL>Non-Sinusoidal Waveforms</a>
81 <li><a href = "part2.html#12"NIL>Using Wavetables</a>
82 <li><a href = "part2.html#13"NIL>Sequences</a>
83 <li><a href = "part2.html#14"NIL>Envelopes</a>
84 <li><a href = "part2.html#15"NIL>Piece-wise Linear Functions</a>
85 </ul>
86 <li><a href = "part2.html#16"NIL>Predefined Constants</a>
87 <li><a href = "part2.html#17"NIL>More Examples</a>
88 </ul>
89 <li><a href = "part3.html#17"NIL>The NyquistIDE Program</a>
90 <ul>
91 <li><a href = "part3.html#19"NIL>NyquistIDE Overview</a>
92 <li><a href = "part3.html#20"NIL>The Button Bar</a>
93 <li><a href = "part3.html#21"NIL>Command Completion</a>
94 <li><a href = "part3.html#22"NIL>Extension Manager</a>
95 <li><a href = "part3.html#23"NIL>Browser</a>
96 <li><a href = "part3.html#24"NIL>Envelope Editor</a>
97 <li><a href = "part3.html#25"NIL>Equalizer Editor</a>
98 <li><a href = "part3.html#26"NIL>UPIC Editor</a>
99 </ul>
100 <li><a href = "part4.html#26"NIL>Behavioral Abstraction</a>
101 <ul>
102 <li><a href = "part4.html#28"NIL>The Environment</a>
103 <li><a href = "part4.html#29"NIL>Sequential Behavior</a>
104 <li><a href = "part4.html#30"NIL>Simultaneous Behavior</a>
105 <li><a href = "part4.html#31"NIL>Sounds vs. Behaviors</a>
106 <li><a href = "part4.html#32"NIL>The At Transformation</a>
107 <li><a href = "part4.html#33"NIL>The Stretch Transformation</a>
108 <li><a href = "part4.html#34"NIL>Nested Transformations</a>
109 <li><a href = "part4.html#35"NIL>Defining Behaviors</a>
110 <li><a href = "part4.html#36"NIL>Overriding Default Transformations</a>
111 <li><a href = "part4.html#37"NIL>Sampling Rates</a>
112 </ul>
113 <li><a href = "part5.html#37"NIL>Continuous Transformations and Time Warps</a>
114 <ul>
115 <li><a href = "part5.html#39"NIL>Simple Transformations</a>
116 <li><a href = "part5.html#40"NIL>Time Warps</a>
117 <li><a href = "part5.html#41"NIL>Abstract Time Warps</a>
118 <li><a href = "part5.html#42"NIL>Nested Transformations</a>
119 </ul>
120 <li><a href = "part6.html#42"NIL>More Examples</a>
121 <ul>
122 <li><a href = "part6.html#44"NIL>Stretching Sampled Sounds</a>
123 <li><a href = "part6.html#45"NIL>Saving Sound Files</a>
124 <li><a href = "part6.html#46"NIL>Memory Space and Normalization</a>
125 <li><a href = "part6.html#47"NIL>Frequency Modulation</a>
126 <li><a href = "part6.html#48"NIL>Building a Wavetable</a>
127 <li><a href = "part6.html#49"NIL>Filter Examples</a>
128 <li><a href = "part6.html#50"NIL>DSP in Lisp</a>
129 </ul>
130 <li><a href = "part7.html#50"NIL>SAL</a>
131 <ul>
132 <li><a href = "part7.html#52"NIL>SAL Syntax and Semantics</a>
133 <ul>
134 <li><a href = "part7.html#53"NIL>Expressions</a>
135 <ul>
136 <li><a href = "part7.html#54"NIL>Simple Expressions</a>
137 <li><a href = "part7.html#55"NIL>Operators</a>
138 <li><a href = "part7.html#56"NIL>Function Calls</a>
139 <li><a href = "part7.html#57"NIL>Array Notation</a>
140 <li><a href = "part7.html#58"NIL>Conditional Values</a>
141 </ul>
142 <li><a href = "part7.html#59"NIL>SAL Statements</a>
143 <ul>
144 <li><a href = "part7.html#60"NIL>begin and end</a>
145 <li><a href = "part7.html#61"NIL>chdir</a>
146 <li><a href = "part7.html#62"NIL>define variable</a>
147 <li><a href = "part7.html#63"NIL>define function</a>
148 <li><a href = "part7.html#64"NIL>exec</a>
149 <li><a href = "part7.html#65"NIL>if</a>
150 <li><a href = "part7.html#66"NIL>when</a>
151 <li><a href = "part7.html#67"NIL>unless</a>
152 <li><a href = "part7.html#68"NIL>load</a>
153 <li><a href = "part7.html#69"NIL>loop</a>
154 <li><a href = "part7.html#70"NIL>play</a>
155 <li><a href = "part7.html#71"NIL>plot</a>
156 <li><a href = "part7.html#72"NIL>print</a>
157 <li><a href = "part7.html#73"NIL>display</a>
158 <li><a href = "part7.html#74"NIL>return</a>
159 <li><a href = "part7.html#75"NIL>set</a>
160 <li><a href = "part7.html#76"NIL>with</a>
161 <li><a href = "part7.html#77"NIL>exit</a>
162 </ul>
163 </ul>
164 <li><a href = "part7.html#78"NIL>Interoperability of SAL and XLISP</a>
165 <ul>
166 <li><a href = "part7.html#79"NIL>Function Calls</a>
167 <li><a href = "part7.html#80"NIL>Symbols and Functions</a>
168 <li><a href = "part7.html#81"NIL>Playing Tricks On the SAL Compiler</a>
169 </ul>
170 </ul>
171 <li><a href = "part8.html#81"NIL>Nyquist Functions</a>
172 <ul>
173 <li><a href = "part8.html#83"NIL>Sounds</a>
174 <ul>
175 <li><a href = "part8.html#84"NIL>What is a Sound?</a>
176 <li><a href = "part8.html#85"NIL>Multichannel Sounds</a>
177 <li><a href = "part8.html#86"NIL>Accessing and Creating Sound</a>
178 <li><a href = "part8.html#87"NIL>Miscellaneous Functions</a>
179 </ul>
180 <li><a href = "part8.html#88"NIL>Behaviors</a>
181 <ul>
182 <li><a href = "part8.html#89"NIL>Using Previously Created Sounds</a>
183 <li><a href = "part8.html#90"NIL>Sound Synthesis</a>
184 <ul>
185 <li><a href = "part8.html#91"NIL>Oscillators</a>
186 <li><a href = "part8.html#92"NIL>Piece-wise Approximations</a>
187 <li><a href = "part8.html#93"NIL>Filter Behaviors</a>
188 <li><a href = "part8.html#94"NIL>Effects</a>
189 <li><a href = "part8.html#95"NIL>Physical Models</a>
190 <li><a href = "part8.html#96"NIL>Phase Vocoder</a>
191 <li><a href = "part8.html#97"NIL>More Behaviors</a>
192 </ul>
193 </ul>
194 <li><a href = "part8.html#98"NIL>Transformations</a>
195 <li><a href = "part8.html#99"NIL>Combination and Time Structure</a>
196 <li><a href = "part8.html#100"NIL>Sound File Input and Output</a>
197 <li><a href = "part8.html#101"NIL>Low-level Functions</a>
198 <ul>
199 <li><a href = "part8.html#102"NIL>Creating Sounds</a>
200 <li><a href = "part8.html#103"NIL>Signal Operations</a>
201 <li><a href = "part8.html#104"NIL>Filters</a>
202 <li><a href = "part8.html#105"NIL>Table-Lookup Oscillator Functions</a>
203 <li><a href = "part8.html#106"NIL>Phase Vocoder Functions</a>
204 <li><a href = "part8.html#107"NIL>Physical Model Functions</a>
205 <li><a href = "part8.html#108"NIL>Sequence Support Functions</a>
206 </ul>
207 </ul>
208 <li><a href = "part9.html#108"NIL>Nyquist Globals</a>
209 <li><a href = "part10.html#109"NIL>Interactive Nyquist</a>
210 <ul>
211 <li><a href = "part10.html#111"NIL>Interactive Control with the NyquistIDE</a>
212 <ul>
213 <li><a href = "part10.html#112"NIL>Creating a Control Panel</a>
214 <li><a href = "part10.html#113"NIL>Creating Controls</a>
215 <li><a href = "part10.html#114"NIL>Accessing Control Values</a>
216 <li><a href = "part10.html#115"NIL>Starting and Stopping Sounds</a>
217 </ul>
218 <li><a href = "part10.html#116"NIL>Using Open Sound Control</a>
219 <ul>
220 <li><a href = "part10.html#117"NIL>Sending Open Sound Control Messages</a>
221 <li><a href = "part10.html#118"NIL>Python3 OSC Interface Demo</a>
222 <li><a href = "part10.html#119"NIL>Test Programs in C</a>
223 <li><a href = "part10.html#120"NIL>The ser-to-osc Program</a>
224 </ul>
225 </ul>
226 <li><a href = "part11.html#120"NIL>Time/Frequency Transformation</a>
227 <ul>
228 <li><a href = "part11.html#122"NIL>Spectral Processing</a>
229 </ul>
230 <li><a href = "part12.html#122"NIL>MIDI, Adagio, and Sequences</a>
231 <ul>
232 <li><a href = "part12.html#124"NIL>The SEQ Type</a>
233 <li><a href = "part12.html#125"NIL>Adagio Score Language</a>
234 <li><a href = "part12.html#126"NIL>Specifying Attributes</a>
235 <ul>
236 <li><a href = "part12.html#127"NIL>Time</a>
237 <li><a href = "part12.html#128"NIL>Pitch</a>
238 <li><a href = "part12.html#129"NIL>Duration</a>
239 <li><a href = "part12.html#130"NIL>Next Time</a>
240 <li><a href = "part12.html#131"NIL>Rest</a>
241 <li><a href = "part12.html#132"NIL>Articulation</a>
242 <li><a href = "part12.html#133"NIL>Loudness</a>
243 <li><a href = "part12.html#134"NIL>Voice</a>
244 <li><a href = "part12.html#135"NIL>Timbre (MIDI Program)</a>
245 <li><a href = "part12.html#136"NIL>Tempo</a>
246 <li><a href = "part12.html#137"NIL>Rate</a>
247 </ul>
248 <li><a href = "part12.html#138"NIL>Default Attributes</a>
249 <li><a href = "part12.html#139"NIL>Examples</a>
250 <li><a href = "part12.html#140"NIL>Advanced Features</a>
251 <ul>
252 <li><a href = "part12.html#141"NIL>Time Units and Resolution</a>
253 <li><a href = "part12.html#142"NIL>Multiple Notes Per Line</a>
254 <li><a href = "part12.html#143"NIL>Control Change Commands</a>
255 <li><a href = "part12.html#144"NIL>Multiple Tempi</a>
256 <li><a href = "part12.html#145"NIL>MIDI Synchronization</a>
257 <li><a href = "part12.html#146"NIL>System Exclusive Messages</a>
258 <li><a href = "part12.html#147"NIL>Control Ramps</a>
259 <li><a href = "part12.html#148"NIL>The !End Command</a>
260 <li><a href = "part12.html#149"NIL>Calling C Routines</a>
261 <li><a href = "part12.html#150"NIL>Setting C Variables</a>
262 </ul>
263 </ul>
264 <li><a href = "part13.html#150"NIL>Linear Prediction Analysis and Synthesis</a>
265 <ul>
266 <li><a href = "part13.html#152"NIL>LPC Classes and Functions</a>
267 <li><a href = "part13.html#153"NIL>Low-level LPC Functions</a>
268 </ul>
269 <li><a href = "part14.html#153"NIL>Developing and Debugging in Nyquist</a>
270 <ul>
271 <li><a href = "part14.html#155"NIL>Debugging</a>
272 <li><a href = "part14.html#156"NIL>Useful Functions</a>
273 </ul>
274 <li><a href = "part15.html#156"NIL>Xmusic and Algorithmic Composition</a>
275 <ul>
276 <li><a href = "part15.html#158"NIL>Xmusic Basics</a>
277 <li><a href = "part15.html#159"NIL>Xmusic Patterns</a>
278 <ul>
279 <li><a href = "part15.html#160"NIL>Nested Patterns</a>
280 <li><a href = "part15.html#161"NIL>Periods</a>
281 <li><a href = "part15.html#162"NIL>General Parameters for Creating Pattern objects</a>
282 <li><a href = "part15.html#163"NIL>cycle</a>
283 <li><a href = "part15.html#164"NIL>line</a>
284 <li><a href = "part15.html#165"NIL>random</a>
285 <li><a href = "part15.html#166"NIL>palindrome</a>
286 <li><a href = "part15.html#167"NIL>heap</a>
287 <li><a href = "part15.html#168"NIL>accumulation</a>
288 <li><a href = "part15.html#169"NIL>copier</a>
289 <li><a href = "part15.html#170"NIL>accumulate</a>
290 <li><a href = "part15.html#171"NIL>sum</a>
291 <li><a href = "part15.html#172"NIL>product</a>
292 <li><a href = "part15.html#173"NIL>eval</a>
293 <li><a href = "part15.html#174"NIL>length</a>
294 <li><a href = "part15.html#175"NIL>window</a>
295 <li><a href = "part15.html#176"NIL>markov</a>
296 </ul>
297 <li><a href = "part15.html#177"NIL>Random Number Generators</a>
298 <li><a href = "part15.html#178"NIL>Score Generation and Manipulation</a>
299 <ul>
300 <li><a href = "part15.html#179"NIL>Keyword Parameters</a>
301 <li><a href = "part15.html#180"NIL>Using score-gen</a>
302 <li><a href = "part15.html#181"NIL>Score Manipulation</a>
303 <li><a href = "part15.html#182"NIL>Xmusic and Standard MIDI Files</a>
304 <li><a href = "part15.html#183"NIL>Workspaces</a>
305 <li><a href = "part15.html#184"NIL>Utility Functions</a>
306 </ul>
307 </ul>
308 <li><a href = "part16.html#184"NIL>Nyquist Libraries</a>
309 <ul>
310 <li><a href = "part16.html#186"NIL>Statistics</a>
311 <li><a href = "part16.html#187"NIL>Plots</a>
312 <li><a href = "part16.html#188"NIL>Labeling Audio Events, Marking Audio Times, Displaying Marked Audio Times</a>
313 <li><a href = "part16.html#189"NIL>Linear Regression</a>
314 <li><a href = "part16.html#190"NIL>Vector Math, Linear Algebra</a>
315 <li><a href = "part16.html#191"NIL>JSON Input and Output</a>
316 <li><a href = "part16.html#192"NIL>Piano Synthesizer</a>
317 <li><a href = "part16.html#193"NIL>Dynamics Compression</a>
318 <li><a href = "part16.html#194"NIL>Clipping Softener</a>
319 <li><a href = "part16.html#195"NIL>Graphical Equalizer</a>
320 <li><a href = "part16.html#196"NIL>Sound Reversal</a>
321 <li><a href = "part16.html#197"NIL>Time Delay Functions</a>
322 <li><a href = "part16.html#198"NIL>Multiple Band Effects</a>
323 <li><a href = "part16.html#199"NIL>Granular Synthesis</a>
324 <li><a href = "part16.html#200"NIL>Chowning FM Voices</a>
325 <li><a href = "part16.html#201"NIL>Atonal Melody Composition</a>
326 <li><a href = "part16.html#202"NIL>MIDI Utilities</a>
327 <li><a href = "part16.html#203"NIL>Reverberation</a>
328 <li><a href = "part16.html#204"NIL>DTMF Encoding</a>
329 <li><a href = "part16.html#205"NIL>Dolby Surround(R), Stereo and Spatialization Effects</a>
330 <li><a href = "part16.html#206"NIL>Drum Machine</a>
331 </ul>
332 <li><a href = "part17.html#206"NIL>Appendix 1: Extending Nyquist</a>
333 <ul>
334 <li><a href = "part17.html#208"NIL>Translating Descriptions to C Code</a>
335 <li><a href = "part17.html#209"NIL>Rebuilding Nyquist</a>
336 <li><a href = "part17.html#210"NIL>Accessing the New Function</a>
337 <li><a href = "part17.html#211"NIL>Why Translation?</a>
338 <li><a href = "part17.html#212"NIL>Writing a .alg File</a>
339 <li><a href = "part17.html#213"NIL>Attributes</a>
340 <li><a href = "part17.html#214"NIL>Generated Names</a>
341 <li><a href = "part17.html#215"NIL>Scalar Arguments</a>
342 </ul>
343 <li><a href = "part18.html#215"NIL>Appendix 2: Intgen</a>
344 <ul>
345 <li><a href = "part18.html#217"NIL>Overview</a>
346 <ul>
347 <li><a href = "part18.html#218"NIL>Extending Xlisp</a>
348 </ul>
349 <li><a href = "part18.html#219"NIL>Header file format</a>
350 <li><a href = "part18.html#220"NIL>Using #define'd macros</a>
351 <li><a href = "part18.html#221"NIL>Lisp Include Files</a>
352 <li><a href = "part18.html#222"NIL>Example</a>
353 <li><a href = "part18.html#223"NIL>More Details</a>
354 </ul>
355 <li><a href = "part19.html#223"NIL>Appendix 3: XLISP: An Object-oriented Lisp</a>
356 <ul>
357 <li><a href = "part19.html#225"NIL>Introduction</a>
358 <li><a href = "part19.html#226"NIL>A Note From The Author</a>
359 <li><a href = "part19.html#227"NIL>XLISP Command Loop</a>
360 <li><a href = "part19.html#228"NIL>Special Characters</a>
361 <li><a href = "part19.html#229"NIL>Break Command Loop</a>
362 <li><a href = "part19.html#230"NIL>Data Types</a>
363 <li><a href = "part19.html#231"NIL>The Evaluator</a>
364 <li><a href = "part19.html#232"NIL>Lexical Conventions</a>
365 <li><a href = "part19.html#233"NIL>Readtables</a>
366 <li><a href = "part19.html#234"NIL>Lambda Lists</a>
367 <li><a href = "part19.html#235"NIL>Objects</a>
368 <li><a href = "part19.html#236"NIL>The &ldquo;Object&rdquo; Class</a>
369 <li><a href = "part19.html#237"NIL>The &ldquo;Class&rdquo; Class</a>
370 <li><a href = "part19.html#238"NIL>Profiling</a>
371 <li><a href = "part19.html#239"NIL>Symbols</a>
372 <li><a href = "part19.html#240"NIL>Evaluation Functions</a>
373 <li><a href = "part19.html#241"NIL>Symbol Functions</a>
374 <li><a href = "part19.html#242"NIL>Property List Functions</a>
375 <li><a href = "part19.html#243"NIL>Array Functions</a>
376 <li><a href = "part19.html#244"NIL>List Functions</a>
377 <li><a href = "part19.html#245"NIL>Destructive List Functions</a>
378 <li><a href = "part19.html#246"NIL>Predicate Functions</a>
379 <li><a href = "part19.html#247"NIL>Control Constructs</a>
380 <li><a href = "part19.html#248"NIL>Looping Constructs</a>
381 <li><a href = "part19.html#249"NIL>The Program Feature</a>
382 <li><a href = "part19.html#250"NIL>Debugging and Error Handling</a>
383 <li><a href = "part19.html#251"NIL>Arithmetic Functions</a>
384 <li><a href = "part19.html#252"NIL>Bitwise Logical Functions</a>
385 <li><a href = "part19.html#253"NIL>String Functions</a>
386 <li><a href = "part19.html#254"NIL>Character Functions</a>
387 <li><a href = "part19.html#255"NIL>Input/Output Functions</a>
388 <li><a href = "part19.html#256"NIL>The Format Function</a>
389 <li><a href = "part19.html#257"NIL>File I/O Functions</a>
390 <li><a href = "part19.html#258"NIL>String Stream Functions</a>
391 <li><a href = "part19.html#259"NIL>System Functions</a>
392 <li><a href = "part19.html#260"NIL>File I/O Functions</a>
393 <ul>
394 <li><a href = "part19.html#261"NIL>Input from a File</a>
395 <li><a href = "part19.html#262"NIL>Output to a File</a>
396 <li><a href = "part19.html#263"NIL>A Slightly More Complicated File Example</a>
397 </ul>
398 </ul>
399 </ul>
400 <ul><li><a href = "indx.html">Index</a>
401 </li></ul><hr>
402 <a href = "part1.html">Next Section</a> | <a href = "title.html#toc">Table of Contents</a> | <a href = "indx.html">Index</a> | <a href = "title.html">Title Page</a>
403 </body></html>