boatbod / op25

Fork of osmocom OP25 by boatbod
319 stars 100 forks source link

Volume offset based on talkgroups #99

Closed JoeyAbsi closed 3 years ago

JoeyAbsi commented 3 years ago

When listening to certain talkgroups, the volume is way too high. Would it be possible to adjust the volume offset based on certain talkgroups?

There could be a 4th column in the tgid-tags.tsv file where the user can select the volume offset for a selected talkgroup. In example, the default offset is 3 (sound is not lowered/amplified) and the user can select 0/1/2 to lower the volume or 4/5/6 to amplify it. The volume offset could act as a gain control.

boatbod commented 3 years ago

While I have no intention of implementing a TG-specific volume feature, you might want to look at the audio processing which liquidsoap can apply to an op25 stream. The example op25.liq includes compressions and normalization which has been developed and tuned by wgbecks for the exact you describe.