O'Reilly logo

Programming Sound with Pure Data by Tony Hillerson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with Different Frequencies

Now let’s have a little fun, and while we’re at it, build a little more complex a patch. Make a new patch that looks like the one shown here.

images/mary_step_1.png

You can safely keep DSP on in this case because the osc~ doesn’t have an initial frequency and it doesn’t have anything connected to its inlet telling it a frequency to use. It will make no sound.

Using Simple MIDI Messages

Now, above the osc~ create an object and call it mtof. This object, mtof, means MIDI to float. Above that object, add a message with the scalar value 60.

Joe asks:
What Is MIDI?

MIDI stands for musical instrument digital interface, and it’s a spec that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required