a p5.js oscillator where you can experiment with microtonal sounds

Week 12: Microtonal Tone Oscillator

Sketch link

https://editor.p5js.org/jeeyoonhyun/full/MolOTjA2p

  • Press any key: generate microtonal sounds
  • Clap once: change oscillator into sine wave
  • Clap twice: change oscillator into sawtooth wave
  • Mouse position: filter frequency

Process + Collaboration

A work in progress version of the sketch

Eamon, who was knowledgable on music theory aspects worked on the microtonal scales. Todd did the awesome ring visualization in his sketch. I finally worked on implementing the audio classifier and oscillators, combining the sketches and refining them.

Using clap sounds with Teachable Machine

Link to Teachable Machine model

An audio classifier that recognizes one clap and two claps

This classifier trained in Teachable machine is capable of recognizing claps, especially when you clap once or twice. I mapped the classification results into different types of oscillators: clapping once changes the oscillator to give sine waves, and clapping twice changes the oscillator to give sawtooth waves.