Abstract
This research presents a wearable system for real-time virtual orchestra conducting. Utilizing the eWatch—a wrist-worn sensing platform—the system captures acceleration data and processes it through a discrete Hidden Markov Model (HMM) framework. By implementing a modified Viterbi algorithm and a specialized threshold model, the system achieves continuous gesture recognition with a 94% detection ratio and low latency, effectively distinguishing meaningful conducting patterns from random arm movements.
Introduction: The "Unmusical" Input Problem
Interacting with a virtual orchestra via traditional peripherals like a mouse or keyboard is fundamentally "unmusical." For applications aimed at education or entertainment—particularly for children—the interface must mirror the physical intuition of real-world conducting. However, recognizing conducting gestures is technically demanding. Unlike discrete "swipe" gestures, conducting is continuous, rhythmic, and varies significantly between individuals.
Previous solutions often relied on computer vision, which is sensitive to lighting and occlusion, or expensive data gloves. This work explores the use of the eWatch, an unobtrusive wearable, to "spot" gestures in a continuous motion stream while solving the "garbage" problem—the tendency of models to misclassify random movements as valid gestures.
Methodology: The Recognition Pipeline
The system employs a multi-stage pipeline to translate raw motion into musical commands:
- Sensing: The eWatch captures 2D acceleration data and transmits it via Bluetooth to a host computer.
- Preprocessing: To isolate the user's intent, a calibration algorithm subtracts the effects of gravity. The continuous signal is then converted into 16 discrete "codewords" via vector quantization, representing directional motion.
- The Compound HMM: Rather than running isolated models, the system uses a single "Compound HMM" containing sub-models for 2-beat, 3-beat, and 4-beat gestures.
- Threshold Modeling: To handle non-meaningful movements, an ergodic "Threshold Model" acts as a garbage collector. It represents the likelihood of any arbitrary movement; if a gesture's probability doesn't exceed this threshold, it is rejected.
- Modified Viterbi Algorithm: The standard Viterbi algorithm was adapted for continuous data streams. This allows the system to trigger a detection event immediately upon the completion of a gesture cycle, rather than waiting for a fixed sequence length.
Data and Training
The research incorporated two data sources:
- Expert Ground Truth: Studies with professional conductors (Daniel Meyer and Walter Morales) established how professional gestures map to musical beats.
- Evaluation Dataset: A corpus of 72 recordings (~2.5 hours) from four users, covering various gestures, tempos (50–130 bpm), and gesture sizes.
Key Insights
- Topology and Physics: A left-to-right HMM topology was chosen because conducting gestures follow a strict temporal order (e.g., the down-beat always precedes the up-beat). This structure naturally aligns with the physics of the task.
- Sensor Orientation: Standard watch placement proved insufficient for capturing the necessary plane of motion. Mounting the device perpendicularly to the wrist was required to accurately track the conductor's stroke.
Evaluation and Results
In user-dependent testing, the system demonstrated high accuracy and responsiveness:
- Detection Ratio: 94.56%
- Reliability: 90.07%
- Latency: ~91 ms
Beyond simple recognition, the system allows users to influence the orchestra’s tempo and volume by varying the speed and size of their gestures. Performance was strongest at standard musical tempos but degraded at very slow speeds (50 bpm), where acceleration signals become faint and noisy.
Future Directions
The current 2D accelerometer setup struggles with user-independent recognition (dropping to ~50% accuracy) due to the highly personal nature of conducting styles. However, the machine learning approach ensures that new gestures can easily be trained for specific users. Future iterations could benefit from 3D sensors to capture depth and sensor fusion, combining wearable data with camera-based baton tracking to leverage the strengths of both modalities.
Summary updated