Patterns and Pattern-Variance

Let’s use the Teensy Audio library to create a more complex custom texture.

In the Examples folder, open Hybrid Texture. This sketch just alternates between two randomly-chosen waveforms; turn the encoder knob to change the frequency of both waveforms, and press the encoder button to randomly change them.

Patterns and pauses are some of the more effective ways to encode richer data into electrovibration interfaces. If the crowd is game for it, here we can dig into the DRV2667’s dedicated waveform synthesis stuff here, and explore the waves.h file that comes with the library. For easy wafevorm experimentation, load up the workshop-uiboard sketch from the Examples folder.