Robot In A Can
ENFR
Back

Read it. Find the peak. Map it.

World of VibrationFIELD NOTES / code

Display microphone volume, capture each hit’s peak, and map it to an action.

An 8-bit pixel-art hacker with lime goggles coding at a retro computer, in black and white.
There is no correct instrument Change one variable. Repeat the experiment and compare the signal. You are investigating how vibration travels through the world. Material Wood · metal · plastic · cardboard Size Big object · small object Sensor position Middle · edge · near · far How you play Tap · pluck · scratch · rub · bend

Step by step

  1. Step 1 of 3

    Display microphone volume.

    Try a tiny, medium, and hard tap. Watch the number change.

    Illustrated Snap coding guide
  2. Step 2 of 3

    Capture the strongest reading.

    For a short moment, keep replacing “maximum” whenever the new reading is larger.

  3. Step 3 of 3

    Use that number.

    Map the peak to sound, pitch, volume, filter, jump height, or another action.