Skip to content

Release v1.9.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 19:32
· 3538 commits to main since this release

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.denoiseClassical and repair.dereverbClassical also run as realtime inserts.
  • Room acoustics. roomMorphStereo morphs a stereo recording toward a target room heard at two receivers. roomGeometryFromEstimate turns an estimateRoom result into synthesizeRir input.
  • Tuning and pitch.
    • tuning: 'auto' measures the recording's own reference pitch for key, chord and transcription work.
    • autoTune tunes a monophonic take to a detected or named key offline.
    • voiceChange can 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 from capabilityCatalog(), masteringInsertParamInfo and synthEngineParamInfo.
  • 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. decodeChannels keeps every channel, and downmix folds layouts with the ITU-R BS.775 rule.

Upgrade notes

  • Rebuild native consumers. SONARE_FEATURE_ABI_VERSION is 7, SONARE_ACOUSTIC_ABI_VERSION 5 and SONARE_VOICE_CHANGER_ABI_VERSION 3. 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 with AbiMismatch (code 10).

  • "Not given" is absence, never -1. An optional bound or position is omitted on Node and WASM and None in Python. A negative position is refused.

  • Renamed. Several names changed: setSends → setTrackSends on the worklet, the mel and MFCC inverse inputs (power, coefficients), the room estimate fields (lengthM, bandAbsorption, Python band_absorption), and the key mode (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