Week 2

Home Up Code 2

Slides     code_2.lsp

Jan 23

Unit Generators and Nyquist Expressions
Basic elements:
Sine oscillator
Piece-wise linear functions
Multiply
Add
Listening
Preludes Suspendus II, Horacio Vaggione 9:49

Jan 25

Composing functions
Function definition
Function parameters
Function application
Listening
Homework 2

 

Homework 3 due Jan 31

Use Nyquist to synthesize an interesting sound using oscillators and envelopes. The duration should be from 1 to 10 seconds.
You should turn in a zip file with (1) your Nyquist program -- a .lsp file, and (2) your sound as generated by Nyquist. (Hint: The Nyquist PLAY command writes a sound file and prints the file name so you'll know where to find it.) Submission instructions are here.

Grading: As discussed in class, the goal of this homework assignment is to become familiar with Nyquist, software synthesis, unit generators, control, and other concepts we've talked about in class. Your work should demonstrate that you have learned how to put these concepts into practice. We are not looking for a composition, just an interesting sound (but that's easier said than done). This is an open-ended project, but as a general guideline, your sound should require at least 25 lines of code (if not, then turn in at least 25 lines of working code so we can see what you tried and rejected) and probably no more than 100 lines.

Grading will be based on:
  (1) is there an interesting sound?
  (2) was the sound generated using Nyquist, and is the source code there?
  (3) is the code readable, nicely indented, using defined functions to avoid very deep nesting, and including comments?
  (4) does the code avoid assigning sounds to global variables?