Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leveling Ambed #198

Open
hb9gfx opened this issue Sep 2, 2021 · 0 comments
Open

Leveling Ambed #198

hb9gfx opened this issue Sep 2, 2021 · 0 comments

Comments

@hb9gfx
Copy link

hb9gfx commented Sep 2, 2021

At the moment it seams that the code of ambed handles DMR and C4FM signls as the same signal.
This causes that if you change the parameters in main.h influence both at the same time.
// Transcoding speech gains
#define CODECGAIN_AMBEPLUS -10 // in dB
#define CODECGAIN_AMBE2PLUS +10 // in dB

// Transcoding Tweaks
#define USE_AGC 0
#define AGC_CLAMPING 3 //clamps the AGC gain to +- this value
#define USE_BANDPASSFILTER 1

If there would be a solution to handle C4FM and DMR separate by indentifing the stream based on the header this would give us the chance to align C4FM and DMR in a way that DMR is not so loud and C4FM is not so silent .

The parameters could look like this:

// Transcoding speech gains
#define CODECGAIN_AMBEPLUS DMR -10 // in dB
#define CODECGAIN_AMBEPLUS C4FM -5 // in dB
#define CODECGAIN_AMBE2PLUS +10 // in dB

// Transcoding Tweaks
#define USE_AGC 0
#define AGC_CLAMPING 3 //clamps the AGC gain to +- this value
#define USE_BANDPASSFILTER 1

I am not good enough to read the code if this is possible but maybe someone can modify the code in that way that the parameters for C4FM and DMR could be separated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant