
Displays the parameters of the Hot Hand, a wireless USB MIDI ring with an accelerometer: the roll and the pitch of the hand, and the shots (fast moves). The results go to global buses that any patch of the workspace can read.
The Hot Hand USB receiver must be on a MIDI input, channel 1: the faders x (CC 7), z (CC 8) and y (CC 9) follow these control changes. Each axis is smoothed by a data-filter-kalman module and scaled to -1..1, then two trigonometric-arctan2 modules give the roll and the pitch:
roll = atan2(Y, sign * sqrt(Z*Z + miu*X*X)), with sign = 1 if Z > 0, else -1, and miu = 0.001. The absolute value, from 0 to 3 rad, is scaled to 0..1.pitch = atan2(-X, sqrt(Y*Y + Z*Z)). The value is negated, then scaled from -1.5..1.5 rad to 0..1.Outputs, on global buses:
Without the ring, move x (CC 7), y (CC 9) and z (CC 8) by hand or with MIDI knobs sending these control changes, and watch roll and pitch.
In the library: 5-Data > Sensors.
X axis of the accelerometer, received on CC 7, from 0 to 1.
Z axis of the accelerometer, received on CC 8, from 0 to 1.
Y axis of the accelerometer, received on CC 9, from 0 to 1.
Oscilloscope of the roll, from 0 to 1 (value of the bus HOT HAND ROLL).
Oscilloscope of the pitch, from 0 to 1 (value of the bus HOT HAND PITCH).
Sensitivity of the shot detection, from 0 to 1. 0: very sensitive, 1: not sensitive at all. Lower it to detect lighter moves.
Lights at each shot, when a fast move is detected. The bus HOT HAND SHOT sends a trigger at the same time.
Use this icon in the patch header to open these advanced settings. Like the other icons of the header, it shows when the mouse is over the control panel of the patch (the green dot, always shown, turns the patch ON or OFF).

Factor of the Kalman filters that smooth the 3 axes, from 0.00001 to 0.1 (logarithmic). Small values smooth more and respond more slowly; large values respond faster and let more noise pass.
Resample period, from 0 to 100000 ms (logarithmic).
version 7.0.250921
Edit All Pages