You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strip redundant/duplicate fields from to_json() to match TypeScript PR #887:
- Pitch: remove ratios and fundamental (inherited from raga)
- Trajectory: remove name, instrumentation, and tags (derived/defaulted)
- Phrase: remove raga (redundant with piece-level raga)
Thread ratios/fundamental from piece-level Raga down through the
deserialization chain (Piece → Phrase → Trajectory → Pitch) with
fallback to embedded values for backward compatibility with old data.
Also adds clone_transcription() and delete_transcription() to SwaraClient,
fixes Group/Phrase to_json() serialization bugs, and hardens Piece.from_json()
against unknown server fields.
Verified 68.3% size reduction on a 6.9MB transcription with all 6,770
pitch frequencies preserved exactly through full clone/save/reload cycle.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments