Repository navigation
Release v1.9.0
libsonare 1.9.0 adds multichannel and realtime repair, stereo room morphing, automatic tuning, offline auto-tune and multichannel decoding. Synth engines can now be set by key. The release also makes the API stricter: bindings refuse a mismatched native module, error classes agree across the C, Node, WASM and Python surfaces, and many inputs that were silently coerced are now refused.
Highlights
- Repair. Analyse and repair audio of any channel count in one call (
masteringRepairApply).repair.decrackle,repair.dehum,repair.denoiseClassicalandrepair.dereverbClassicalalso run as realtime inserts. - Room acoustics.
roomMorphStereomorphs a stereo recording toward a target room heard at two receivers.roomGeometryFromEstimateturns anestimateRoomresult intosynthesizeRirinput. - Tuning and pitch.
tuning: 'auto'measures the recording's own reference pitch for key, chord and transcription work.autoTunetunes a monophonic take to a detected or named key offline.voiceChangecan keep formants absolute.
- Transcription. The polyphonic tracker's limits are exposed, and the shortest note can be given as a note value (
minNoteDivision). Notes far below the take's own level are dropped instead of arriving as velocity-1 ghosts. - Parameter descriptors. Every insert, mastering stage and synth engine describes its parameters: range, default, unit, display scale, and the other parameters that bound (
dependsOn,coupledWith) or switch (activeWhen) them. A host can build its controls fromcapabilityCatalog(),masteringInsertParamInfoandsynthEngineParamInfo. - Synth. Set an engine's model fields by key with
engineParams, choose the FM algorithm, and use delay and hold on the amplitude and filter envelopes. A drum kit's reported tail follows the pieces actually struck. - Realtime engine and project.
- The WASM worklet engine bounces and freezes offline.
- Clips can be upserted one at a time.
- Each mixing-assistant track and each pair-processor reference can carry its own sample rate.
- Audio I/O.
decodeChannelskeeps every channel, anddownmixfolds layouts with the ITU-R BS.775 rule.
Upgrade notes
-
Rebuild native consumers.
SONARE_FEATURE_ABI_VERSIONis 7,SONARE_ACOUSTIC_ABI_VERSION5 andSONARE_VOICE_CHANGER_ABI_VERSION3. Several shipped structs grew, so start them from their*_default()functions. Every binding now checks the native module's ABI version and refuses a mismatch withAbiMismatch(code 10). -
"Not given" is absence, never
-1. An optional bound or position is omitted on Node and WASM andNonein Python. A negative position is refused. -
Renamed. Several names changed:
setSends→setTrackSendson the worklet, the mel and MFCC inverse inputs (power,coefficients), the room estimate fields (lengthM,bandAbsorption, Pythonband_absorption), and the keymode(now a name on WASM). Positional track-lane and bus automation ids are replaced by resolvers that survive reorders. -
Newly refused. These are now errors:
- unknown strip JSON keys;
- repair values above their new upper bounds;
- one-band multiband stages;
- unparsable note names;
- strings with an embedded NUL;
- non-integer sample rates;
- MIDI values outside their range.
The CHANGELOG lists each one.
-
Results that change. Polyphonic transcription, boundary detection, rate-dependent analysis windows, mixer automation ids and the stereo room inserts give different results for the same call.
-
Physical-model voices. Only the acoustic piano is calibrated. The other physical-model voices are still being tuned and will change in 1.9.x patch releases.
The full list is in CHANGELOG.md.
Full Changelog: v1.8.2...v1.9.0