Opus tuning
This page is meant to provide help on tuning the current Opus encoder. It assumes you are working on the master branch, not 1.0.x. As work progresses, some info (especially any line numbers) may become outdated. The numbers in parentheses represent (in order):
- Impact on quality
- Quality of current tuning
- Difficulty
Parameters
tonality (10 5 1)
around line 1574 of celt_encoder.c:
tonal_target = target + (opus_int32)((coded_bins<<BITRES)*1.2f*tonal);
Replacing the constant 1.2f will change the impact of tonality on the bit-rate. The higher value, the higher the bit-rate of tonal frames/samples.