A peak inside my PD workspace
Two things to show today: A sampler which switches between beat-matched samples (of the same length) and the comparison engine for the wiimote movement.
The sample switcher
This is very prototype-y at the moment. Essentially, the sample switcher toggles in between samples based on messages sent from the top (0, 1, 2). This is done so later a router can be used to sort which sample is playing at what time. This can be done live, and is quite fun to toggle in-between samples as a pretend DJ.
The comparison engine
The comparison engine is at the heart of the sample switching, and core to the design. Basically, it determines and upper and lower threshold for sample switches. If lower than a certain threshold, it moves back to a lower intensity sample. If higher, it switches to a higher intensity sample. It may also stay the same if there isn’t enough movement to qualify one extreme or another.
Data is captured using an adder throughout the dance. When the end of a sample is reached, the comparison engine is asked where in the threshold the dancer’s movements are. This will then trigger the next sample set, be it higher or lower intensity. Once this happens, the comparison engine is turned back on to “quiet mode” and continues to observe the dancer’s movements for the next sample switch. In this way, the song could go on infinitely.







