Does stereo channel placement affect MIDI conversion?
Yes in the current browser implementation. The detector reads the first decoded channel: a controlled C4 in the left channel was retained, while the same C4 placed only in the right channel was missed.
Controlled channel check
| 300 ms C4 source placement | Median across 10 fixtures | Result |
|---|---|---|
| Left channel only | 1 retained; 0 missed; 0 extra | Matching event appeared. |
| Right channel only | 0 retained; 1 missed; 0 extra | No event appeared. |
Why this happens
The detector calls getChannelData(0) before pitch analysis, which selects the first decoded channel. This does not mean all stereo files fail: a normal stereo mix often contains melody information in both channels. It does mean a hard-panned right-only melody is an input condition worth checking.
Fixture conditions and limits
Each condition used 10 generated stereo 44.1 kHz PCM fixtures with a synthetic 300 ms C4 in exactly one declared channel, Melody / solo instrument mode, Balanced sensitivity, a 2048-sample analysis window, and a 1024-sample hop. A retained note required exactly one output within 50 cents and with at least 50% overlap. Detector SHA-256: DDA185AC8FB6A179A4FCFA73FD4197ACC95B8B6F59B233F5D3E330F596309F9F.
These are controlled source checks, not a universal stereo, song, voice, instrument, or accuracy promise.