Skip to content

mutap.aec~: auto-select the built-in learned model by session sample rate #18

Description

@tap

With @postfilter 2 and @model empty, the external always uses the embedded 48 kHz model; a 16 kHz or 44.1 kHz session gets the mismatch warning and detuned bands. Once MuTap ships per-rate models (tickets filed there for 16 kHz and 44.1 kHz companions), the external should embed the set and pick by samplerate() at publish() time — keeping @model as the explicit override, and keeping the console notice when no embedded model matches the session rate exactly.

Blocked on tap/MuTap's per-rate model tickets. Binary-size note: each embedded model is ~800 KB of generated header; three models ≈ 2.4 MB of constants — acceptable for a package binary, but worth a look at compressing the byte arrays if it grows further.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions