{
 "timestamp": "2026-06-18T14:10:42.153Z",
 "code": "use_bpm 130\nlive_loop :drums do\n sample :bd_haus\n sleep 0.5\n cue :tick\n sample :drum_snare_hard, amp: 0.8\n sleep 0.5\nend\nlive_loop :bass do\n sync :tick\n use_synth :tb303\n play :e2, release: 0.3, cutoff: 70\n sleep 0.5\nend\nlive_loop :hats do\n sample :drum_cymbal_closed, amp: 0.5, rate: 2\n sleep 0.25\nend\n",
 "duration": 20000,
 "name": "e2e-04_sync_cue",
 "desktop": {
 "wavPath": "/Users/mrityunjaybhardwaj/Documents/projects/sonicPiWeb/.captures/desktop-recordings/desktop_2026-06-18T14-09-46-993Z_e2e-04_sync_cue.wav",
 "stats": {
 "duration": 21.370666666666665,
 "peak": 0.3917,
 "rms": 0.0775,
 "clipping": 0,
 "sampleRate": 48000,
 "channels": 2
 },
 "ok": true,
 "pitch": {
 "count": 44,
 "median_spacing_s": 0.46,
 "midi": [
 56,
 40,
 40,
 40,
 40,
 40,
 40,
 56,
 56,
 40,
 40,
 40,
 40,
 56,
 56,
 40,
 40,
 40,
 40,
 40,
 56,
 56,
 40,
 40,
 40,
 40,
 56,
 56,
 40,
 40,
 40,
 40,
 40,
 56,
 56,
 40,
 40,
 40,
 40,
 56,
 56,
 40,
 40,
 41
 ],
 "pc": [
 8,
 4,
 4,
 4,
 4,
 4,
 4,
 8,
 8,
 4,
 4,
 4,
 4,
 8,
 8,
 4,
 4,
 4,
 4,
 4,
 8,
 8,
 4,
 4,
 4,
 4,
 8,
 8,
 4,
 4,
 4,
 4,
 4,
 8,
 8,
 4,
 4,
 4,
 4,
 8,
 8,
 4,
 4,
 5
 ],
 "names": [
 "G#3",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "G#3",
 "G#3",
 "E2",
 "E2",
 "E2",
 "E2",
 "G#3",
 "G#3",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "G#3",
 "G#3",
 "E2",
 "E2",
 "E2",
 "E2",
 "G#3",
 "G#3",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "G#3",
 "G#3",
 "E2",
 "E2",
 "E2",
 "E2",
 "G#3",
 "G#3",
 "E2",
 "E2",
 "F2"
 ],
 "method": "onset",
 "confidence": 1,
 "inconclusive": false,
 "compare": "midi"
 }
 },
 "web": {
 "wavPath": "/Users/mrityunjaybhardwaj/Documents/projects/sonicPiWeb/.captures/2026-06-18T14-09-48-146Z_inline_audio.wav",
 "stats": {
 "duration": 19.712,
 "peak": 0.2912,
 "rms": 0.0472,
 "clipping": 0,
 "sampleRate": 48000,
 "channels": 2
 },
 "ok": true,
 "pitch": {
 "count": 64,
 "median_spacing_s": 0.24,
 "midi": [
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40,
 40
 ],
 "pc": [
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4,
 4
 ],
 "names": [
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2",
 "E2"
 ],
 "method": "onset",
 "confidence": 1,
 "inconclusive": false,
 "compare": "midi"
 },
 "toolFailReason": null,
 "errors": []
 },
 "spectrogram": {
 "l2_mel_db": 24.536115646362305,
 "mfcc_distance": 251.1231689453125,
 "frames_compared": 1849,
 "spectrogram_png": "/Users/mrityunjaybhardwaj/Documents/projects/sonicPiWeb/.captures/compare_2026-06-18T14-10-14-133Z_e2e-04_sync_cue_spectrogram.png",
 "desktop_peak_freq_hz": 56.338906912902424,
 "web_peak_freq_hz": 51.998782467532465,
 "per_beat": null
 },
 "spectrogramError": null,
 "reportPath": "/Users/mrityunjaybhardwaj/Documents/projects/sonicPiWeb/.captures/compare_2026-06-18T14-10-14-133Z_e2e-04_sync_cue.md",
 "reconciledPitch": null,
 "eventParity": {
 "report": {
 "verdict": "STRUCTURE-MATCH",
 "isPrng": false,
 "reasons": [
 "Significant synthdef multiset matches.",
 "Significant-layer first-appearance order differs (desktop: basic_mono_player→basic_stereo_player→tb303 | web: basic_stereo_player→tb303→basic_mono_player) — thread-start timing."
 ],
 "rows": [
 {
 "synthdef": "sonic-pi-basic_mono_player",
 "desktop": 231,
 "web": 225,
 "ratio": 0.974025974025974,
 "significant": true,
 "status": "match",
 "desktopOnset": 0,
 "webOnset": 0.003
 },
 {
 "synthdef": "sonic-pi-basic_stereo_player",
 "desktop": 46,
 "web": 45,
 "ratio": 0.9782608695652174,
 "significant": true,
 "status": "match",
 "desktopOnset": 0,
 "webOnset": 0
 },
 {
 "synthdef": "sonic-pi-tb303",
 "desktop": 46,
 "web": 45,
 "ratio": 0.9782608695652174,
 "significant": true,
 "status": "match",
 "desktopOnset": 0.231,
 "webOnset": 0.231
 }
 ],
 "fxRows": [],
 "desktopTotal": 323,
 "webTotal": 315,
 "totalRatio": 0.98,
 "orderMatch": false,
 "desktopOrder": [
 "basic_mono_player",
 "basic_stereo_player",
 "tb303"
 ],
 "webOrder": [
 "basic_stereo_player",
 "tb303",
 "basic_mono_player"
 ],
 "sequenceParity": {
 "match": false,
 "epsilonMs": 15,
 "notesChecked": true,
 "rows": [
 {
 "synthdef": "sonic-pi-basic_mono_player",
 "desktopOnsets": [
 0,
 0.115,
 0.231,
 0.231,
 0.346,
 0.462,
 0.577,
 0.692,
 0.692,
 0.808,
 0.923,
 1.038,
 1.154,
 1.154,
 1.269,
 1.385,
 1.5,
 1.615,
 1.615,
 1.731,
 1.846,
 1.962,
 2.077,
 2.077,
 2.192,
 2.308,
 2.423,
 2.538,
 2.538,
 2.654,
 2.769,
 2.885,
 3,
 3,
 3.115,
 3.231,
 3.346,
 3.462,
 3.462,
 3.577,
 3.692,
 3.808,
 3.923,
 3.923,
 4.038,
 4.154,
 4.269,
 4.385,
 4.385,
 4.5,
 4.615,
 4.731,
 4.846,
 4.846,
 4.962,
 5.077,
 5.192,
 5.308,
 5.308,
 5.423,
 5.538,
 5.654,
 5.769,
 5.769,
 5.885,
 6,
 6.115,
 6.231,
 6.231,
 6.346,
 6.462,
 6.577,
 6.692,
 6.692,
 6.808,
 6.923,
 7.038,
 7.154,
 7.154,
 7.269,
 7.385,
 7.5,
 7.615,
 7.615,
 7.731,
 7.846,
 7.962,
 8.077,
 8.077,
 8.192,
 8.308,
 8.423,
 8.538,
 8.538,
 8.654,
 8.769,
 8.885,
 9,
 9,
 9.115,
 9.231,
 9.346,
 9.462,
 9.462,
 9.577,
 9.692,
 9.808,
 9.923,
 9.923,
 10.038,
 10.154,
 10.269,
 10.385,
 10.385,
 10.5,
 10.615,
 10.731,
 10.846,
 10.846,
 10.962,
 11.077,
 11.192,
 11.308,
 11.308,
 11.423,
 11.538,
 11.654,
 11.769,
 11.769,
 11.885,
 12,
 12.115,
 12.231,
 12.231,
 12.346,
 12.462,
 12.577,
 12.692,
 12.692,
 12.808,
 12.923,
 13.038,
 13.154,
 13.154,
 13.269,
 13.385,
 13.5,
 13.615,
 13.615,
 13.731,
 13.846,
 13.962,
 14.077,
 14.077,
 14.192,
 14.308,
 14.423,
 14.538,
 14.538,
 14.654,
 14.769,
 14.885,
 15,
 15,
 15.115,
 15.231,
 15.346,
 15.462,
 15.462,
 15.577,
 15.692,
 15.808,
 15.923,
 15.923,
 16.038,
 16.154,
 16.269,
 16.385,
 16.385,
 16.5,
 16.615,
 16.731,
 16.846,
 16.846,
 16.962,
 17.077,
 17.192,
 17.308,
 17.308,
 17.423,
 17.538,
 17.654,
 17.769,
 17.769,
 17.885,
 18,
 18.115,
 18.231,
 18.231,
 18.346,
 18.462,
 18.577,
 18.692,
 18.692,
 18.808,
 18.923,
 19.038,
 19.154,
 19.154,
 19.269,
 19.385,
 19.5,
 19.615,
 19.615,
 19.731,
 19.846,
 19.962,
 20.077,
 20.077,
 20.192,
 20.308,
 20.423,
 20.538,
 20.538,
 20.654,
 20.769,
 20.885,
 21,
 21,
 21.115,
 21.231
 ],
 "webOnsets": [
 0.003,
 0.118,
 0.231,
 0.233,
 0.349,
 0.464,
 0.58,
 0.692,
 0.695,
 0.81,
 0.926,
 1.041,
 1.154,
 1.156,
 1.272,
 1.387,
 1.503,
 1.615,
 1.618,
 1.733,
 1.849,
 1.964,
 2.077,
 2.08,
 2.195,
 2.31,
 2.426,
 2.539,
 2.541,
 2.657,
 2.772,
 2.887,
 3,
 3.003,
 3.118,
 3.233,
 3.349,
 3.461,
 3.464,
 3.58,
 3.695,
 3.81,
 3.923,
 3.926,
 4.041,
 4.156,
 4.272,
 4.385,
 4.387,
 4.503,
 4.618,
 4.733,
 4.846,
 4.849,
 4.964,
 5.08,
 5.195,
 5.308,
 5.31,
 5.426,
 5.541,
 5.656,
 5.769,
 5.772,
 5.887,
 6.003,
 6.118,
 6.231,
 6.233,
 6.349,
 6.464,
 6.58,
 6.692,
 6.695,
 6.81,
 6.926,
 7.041,
 7.154,
 7.156,
 7.272,
 7.387,
 7.503,
 7.615,
 7.618,
 7.733,
 7.849,
 7.964,
 8.077,
 8.08,
 8.195,
 8.31,
 8.426,
 8.539,
 8.541,
 8.657,
 8.772,
 8.887,
 9,
 9.003,
 9.118,
 9.233,
 9.349,
 9.462,
 9.464,
 9.58,
 9.695,
 9.81,
 9.923,
 9.926,
 10.041,
 10.157,
 10.272,
 10.385,
 10.387,
 10.503,
 10.618,
 10.733,
 10.846,
 10.849,
 10.964,
 11.08,
 11.195,
 11.308,
 11.31,
 11.426,
 11.541,
 11.657,
 11.769,
 11.772,
 11.887,
 12.003,
 12.118,
 12.231,
 12.233,
 12.349,
 12.464,
 12.58,
 12.692,
 12.695,
 12.81,
 12.926,
 13.041,
 13.154,
 13.157,
 13.272,
 13.387,
 13.503,
 13.615,
 13.618,
 13.733,
 13.849,
 13.964,
 14.077,
 14.08,
 14.195,
 14.31,
 14.426,
 14.539,
 14.541,
 14.657,
 14.772,
 14.887,
 15,
 15.003,
 15.118,
 15.233,
 15.349,
 15.462,
 15.464,
 15.58,
 15.695,
 15.81,
 15.923,
 15.926,
 16.041,
 16.157,
 16.272,
 16.385,
 16.387,
 16.503,
 16.618,
 16.733,
 16.846,
 16.849,
 16.964,
 17.08,
 17.195,
 17.308,
 17.31,
 17.426,
 17.541,
 17.657,
 17.769,
 17.772,
 17.887,
 18.003,
 18.118,
 18.231,
 18.233,
 18.349,
 18.464,
 18.58,
 18.692,
 18.695,
 18.81,
 18.926,
 19.041,
 19.154,
 19.157,
 19.272,
 19.387,
 19.503,
 19.615,
 19.618,
 19.733,
 19.849,
 19.964,
 20.077,
 20.08,
 20.195,
 20.31,
 20.426,
 20.539,
 20.541,
 20.657
 ],
 "comparedLen": 225,
 "timingMatched": true,
 "firstMismatchIdx": -1,
 "maxDevMs": 3,
 "noteMatched": false,
 "matched": false
 },
 {
 "synthdef": "sonic-pi-basic_stereo_player",
 "desktopOnsets": [
 0,
 0.462,
 0.923,
 1.385,
 1.846,
 2.308,
 2.769,
 3.231,
 3.692,
 4.154,
 4.615,
 5.077,
 5.538,
 6,
 6.462,
 6.923,
 7.385,
 7.846,
 8.308,
 8.769,
 9.231,
 9.692,
 10.154,
 10.615,
 11.077,
 11.538,
 12,
 12.462,
 12.923,
 13.385,
 13.846,
 14.308,
 14.769,
 15.231,
 15.692,
 16.154,
 16.615,
 17.077,
 17.538,
 18,
 18.462,
 18.923,
 19.385,
 19.846,
 20.308,
 20.769
 ],
 "webOnsets": [
 0,
 0.462,
 0.923,
 1.385,
 1.846,
 2.308,
 2.769,
 3.231,
 3.692,
 4.154,
 4.615,
 5.077,
 5.539,
 6,
 6.461,
 6.923,
 7.385,
 7.846,
 8.308,
 8.769,
 9.231,
 9.692,
 10.154,
 10.615,
 11.077,
 11.539,
 12,
 12.462,
 12.923,
 13.385,
 13.846,
 14.308,
 14.769,
 15.231,
 15.692,
 16.154,
 16.615,
 17.077,
 17.539,
 18,
 18.462,
 18.923,
 19.385,
 19.846,
 20.308
 ],
 "comparedLen": 45,
 "timingMatched": true,
 "firstMismatchIdx": -1,
 "maxDevMs": 1,
 "noteMatched": true,
 "matched": true
 },
 {
 "synthdef": "sonic-pi-tb303",
 "desktopOnsets": [
 0.231,
 0.692,
 1.154,
 1.615,
 2.077,
 2.538,
 3,
 3.462,
 3.923,
 4.385,
 4.846,
 5.308,
 5.769,
 6.231,
 6.692,
 7.154,
 7.615,
 8.077,
 8.538,
 9,
 9.462,
 9.923,
 10.385,
 10.846,
 11.308,
 11.769,
 12.231,
 12.692,
 13.154,
 13.615,
 14.077,
 14.538,
 15,
 15.462,
 15.923,
 16.385,
 16.846,
 17.308,
 17.769,
 18.231,
 18.692,
 19.154,
 19.615,
 20.077,
 20.538,
 21
 ],
 "webOnsets": [
 0.231,
 0.692,
 1.154,
 1.615,
 2.077,
 2.539,
 3,
 3.461,
 3.923,
 4.385,
 4.846,
 5.308,
 5.769,
 6.231,
 6.692,
 7.154,
 7.615,
 8.077,
 8.539,
 9,
 9.462,
 9.923,
 10.385,
 10.846,
 11.308,
 11.769,
 12.231,
 12.692,
 13.154,
 13.615,
 14.077,
 14.539,
 15,
 15.462,
 15.923,
 16.385,
 16.846,
 17.308,
 17.769,
 18.231,
 18.692,
 19.154,
 19.615,
 20.077,
 20.539
 ],
 "comparedLen": 45,
 "timingMatched": true,
 "firstMismatchIdx": -1,
 "maxDevMs": 1,
 "noteMatched": true,
 "matched": true
 }
 ],
 "reasons": [
 "basic_mono_player: onset times match but per-tick NOTE multiset differs — wrong notes (transposition?)",
 "basic_stereo_player: 45 onsets match within ε (max Δ 1ms), notes match",
 "tb303: 45 onsets match within ε (max Δ 1ms), notes match"
 ]
 }
 },
 "note": "STRUCTURE-MATCH · onset-seq diverge · d323/w315"
 }
}