Skip to content

prismcollective/Generative-music

Repository files navigation

This contains small learning projects that use puredata for audio and MediaPipe (TouchDesigner) for webcam processing. The goal is to create generative music from movements.

These projects are probably not the best way to do things, but they're intended as a learning resource for those who want to learn more operators/techniques by seeing them and playing around. Each project has a short description. This will be updated as I create new projects and tests.

How this works

Untitled Diagram drawio

Which software is used for what. Of course, this is just one way to do it-- many others use different softwares for the audio part, like VCV rack, Ableton, Max, etc. Any virtual midi device should work.

Quick setup

For each project, you might have to:

  • Open loopMIDI, and both the .pd and .toe files. In TouchDesigner, go to Dialogs -> MIDI device mapper -> Create new mapping, and set the out device to "loopMIDI port".
  • In puredata, go to Media -> MIDI Settings and set the input device to loopMIDI port.
  • In puredata, go to Media -> Audio Settings and set an output device.
  • To start/stop audio in puredata, go to Media -> DSP On or DSP Off.
  • You'll have to set the webcam by clicking on the MediaPipe node in TouchDesigner. There's a dropdown to select the webcam. Try resetting it also.

About

Learning interactive music projects in puredata and TouchDesigner's MediaPipe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors