"Computational Sound"  (new course, first offering W16)
Contact: Richard Mann (www.cs.uwaterloo.ca/~mannrmannr@uwaterloo.ca)

Course number:
CS489/CS689 ("Topics in Computer Science".  Note multiple 489's this term.)

Prerequisite: Scientific Computation/Matlab (CS370.1 or equivalent experience).

Evaluation:
Assignments (60%), Project (40%), No final!

Project Requirement:  Students will complete an independent project.  Implement a design or algorithm, perform experiments, and report on the results.  Broad range of topics, including: acoustics measurements, speaker building, audio effects, music synthesis, signal processing, speech recognition, perception, ...

Opportunities: Students encouraged to contribute to open software/hardware/research projects and present to the class.










Schedule
Lectures:
- Basic theory and methodsNote: data supplied by instructor.
- Assignments given in Matlab/Octave.

Project:
- Students will perform their own implementation/analysis/experiments.
- Students may work on any audio/hardware/software platform.


Lectures
Assignments (60%)
Project (40%)
1. Acoustics, transducers, electronics, and measurement

15%

2. Fourier Analysis

15%
P0: Project proposal (5%)
3. Digital Audio
- Analog to Digital conversion (ADC, DAC), Digital Filters

15%

4. Perception

15%
P1: Project plan (10%)
5. Other topics,


.. Guest lectures


.. Student presentations (optional)




EOT: Final report (25%)







Computer Audio Platforms

Hardware
Software
Cost
National Instruments myDAQ
- 2 analog inputs (16bit, 200 ksps, DC coupled)
- 2 analog outputs (16bit, 200 ksps, DC coupled)

- Matlab (Windows only)
- Labview (Windows only)
$227 (no sofware)
$240 (Labview, student edition)
(www.Studica.ca, special discount
 negotiated for
this course)

USB 1.0 Audio (eg., Behringer UCA-222)
- stereo input (16bit, 44.1/48 ksps, AC coupled)
- stereo output (16bit, 44.1/48 ksps, AC coupled)

- Matlab/Octave (Win/Linux)
- Python (Win/Linux)
- C
$30 and up
Teensy 3.2 (PJRC.COM, SPARKFUN.COM)
- 32 bit ARM Cortex-M4 72 MHz CPU (M4 = DSP extensions)
- 2 analog inputs (16bit, 1M sps, DC coupled)
- 1 analog output (12bit, DC coupled)

- Arduino/C
$20
Others...

??
??














Demo: Speaker measurement

Demo 1: National Instruments myDAQ


Demo 2: System Identification by Log Sweep (joint work with John Vanderkooy, Physics)