xiph / xiph/opus

Significant distortion and noise for highly tonal signals

Open
#290 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.3k
Forks
808
PR merge metrics
No merged PRs in 30d

Description

Hello,

With OPUS 1.3.1, significant noise is present when encoding/decoding highly tonal signals.

Attached is an image of a 1 kHz sine tone encoded and decoded via "./opus_demo audio 48000 1 76800 -framesize 5 -max_payload 48 input.raw output.raw"
image

It looks like the comb postfilter amplifies the noise at multiples of the fundamental frequency.

The noise is audible in this configuration. Are there some parameters to tune to reduce the noise?

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report with the provided ./opus_demo command, a 1 kHz sine tone, and the stated 48 kHz, mono, 76800 bitrate, 5 ms frame-size, and 48-byte payload settings. Investigate the suspected comb postfilter behavior and determine whether a parameter or code change can reduce the audible noise; done means the cause and a reproducible mitigation are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.