Low and High Frequencies
Let’s load up the first activity sketch, a little test that will help you discern between different signal types.
One thing to note is that your brain will get a lot better at discernment after a bit of practice. Try revisiting some of these sketches after a week or so of messing around with WEFT and see how much better you’ve gotten!
In the Arduino interface, find the
frequency-quiz sketch. It’s under
Arduino/libraries/weftlib/Examples. Load it onto your WEFT board and try it out.
The sketch is super-simple—it plays a sample waveform at a random frequency. When you press the encoder pushbutton, the OLED screen reveals the waveform that was just playing, and starts another waveform at another random frequency. This is a good exercise in understanding the ranges of frequencies that work best with WEFT, and what those ranges feel like.
Once you’ve clicked a couple of times, please feel free to mix it up: go into the code and change the
wavelabel variable to try the game with different waveforms, or change the
maxFreq parameters to go beyond the default range of frequencies.
Discrete frequencies tend, in my limited experience, to be more discernible and memorable than a constantly-changing frequency. To try it for yourself, you can load up the
tonesweep sketch in the Examples folder and try that out. Tonesweep is just what it says it is: a sine wave that linearly ramps from one frequency to another over a user-specified duration.