teaching machines

SCSI 2019: Computational Music

Welcome to Computational Music, one of the courses at the 2019 Summer Computer Science Institute at Carleton College. This page contains all the course notes and exercises that you will need throughout the week. Day 1 On this day we introduce the notion of a sound wave, and we see how the frequency of these […]

Networking with Pure Data

This post is part of a series of notes and exercises for a summer camp on making musical instruments with Arduino and Pure Data. Our input so far has come from an Arduino plugged into our computer. It’s time to free things up. Bring on the internet! In this exercise, we will see how to […]

Timbre and Harmonics

This post is part of a series of notes and exercises for a summer camp on making musical instruments with Arduino and Pure Data. Earlier we said that sounds are generated by oscillating sine or cosine waves. That was a lie. None of our musical instruments produce pure waves of a single frequency. Rather, they […]

Changing Instruments

This post is part of a series of notes and exercises for a summer camp on making musical instruments with Arduino and Pure Data. Earlier we created this ticker abstraction to walk steadily through a range of numbers: In this exercise we explore changing MIDI instruments and using two of these tickers together. Changing Instruments […]

Counting in Time

This post is part of a series of notes and exercises for a summer camp on making musical instruments with Arduino and Pure Data. Musicians are servants of the beat. But who controls the beat? In this exercise, we do. We will create an abstraction named ticker that provides a steady pulse that will drive […]

Playing Sound Files Repeatedly

This post is part of a series of notes and exercises for a summer camp on making musical instruments with Arduino and Pure Data. In an earlier exercise, we created an abstraction to read in a sound file and play it. If you plan on playing the sound more than once, it doesn’t make a […]

Music Mouse, Part VI

This post is part of a series of notes and exercises for a summer camp on making musical instruments with Arduino and Pure Data. The Arduino side of the Music Mouse is working. Whew! All that’s left is to interpret the messages it sends out in Pure Data. Soon we’ll have music. Pure Data Interpreter […]

Music Mouse, Part V

This post is part of a series of notes and exercises for a summer camp on making musical instruments with Arduino and Pure Data. In this exercise, we prepare our Music Mouse to send messages to a Pure Data patch. When the musician goes up or down in the Music Mouse interface, we issue a […]

Music Mouse, Part IV

This post is part of a series of notes and exercises for a summer camp on making musical instruments with Arduino and Pure Data. We’ve got horizontal motion working in the Music Mouse. Let’s add vertical motion. This will be very similar to the horizontal motion, but there is an important difference. Vertical Motion In […]

Music Mouse, Part III

This post is part of a series of notes and exercises for a summer camp on making musical instruments with Arduino and Pure Data. Music Mouse walks the horizontal axis in steps of one right now. If we were to interpret the x-position as a MIDI number and move along one halfstep at a time, […]

1 2 3 7