1 Getting RSound 4 set up
2 Note for Windows Users
3 The Actual Lab
4 Demo

Lab 8

1 Getting RSound 4 set up

I’ve released a new version of rsound for testing, version 4.2.

To try it out, run this program in the "Determine Language from Source" language:

#lang 'racket
(require (planet clements/rsound:4:2))
 
(play ding)

I’m expecting you to see some error messages. That’s okay, as long as you hear the ding. Windows users, see the next section.

2 Note for Windows Users

I’ve revamped Windows support for this version. It should work better, but only after you’ve adjusted the sample rate on your main device.

To try to help you with this, I’ve added a function, (diagnose-sound-playing), that will try playing a sound at each of two sample rates on all of the default devices associated with the different APIs. If you hear a tone at 48 KHz but not at 44.1 KHz for the 'paWASAPI device, you need to set the sample rate of that device to 44.1 KHz by right-clicking on your volume button and then navigating through a bunch of menus.

3 The Actual Lab

Build a program that uses play-signal and sliders. It should have at least three sliders, and a network that includes at least six clauses. Try strange things, and be creative!

4 Demo

Unlike earlier labs, you will demo this lab as a group. All of you must be there to receive credit. As usual, it’s due on Friday. We are extremely unlikely to run out of time when checking this one, so I won’t be allowing you to demo this on Monday instead.