Skip to content

audio levels#393

Draft
rkayakr wants to merge 4 commits intodrexjj:devfrom
rkayakr:VUmeter
Draft

audio levels#393
rkayakr wants to merge 4 commits intodrexjj:devfrom
rkayakr:VUmeter

Conversation

@rkayakr
Copy link

@rkayakr rkayakr commented Feb 2, 2026

Adds an input audio peak meter for voice modes to transmit spectrum.
Samples are taken just before clipping and the meter level is on a log scale.
Low audio is indicated in green on left and indication moves to right as audio increases. Yellow indicates audio just below clipping. Red indicates audio clipped. Further red indicates audio way over clip limit.
Updates every tick.
Waveform displayed in spectrum is post clipping.
image

@drexjj
Copy link
Owner

drexjj commented Feb 3, 2026

I know it is hard to label a control that makes sense, but "vlevel" should be changed to something else. What does the bar graph show and what is the ideal range to be in?

@MolKa51
Copy link

MolKa51 commented Feb 3, 2026

In analog radio this is called MicGain, could be TXaudio for example. HA3HZ

@rkayakr
Copy link
Author

rkayakr commented Feb 3, 2026

On most radios there is an ALC meter, but the sBitx doesn't have a functioning ALC, which clips RF power. This is not the mic gain, which is set in the sBitx display lower left.
This measures audio input signal before signal level clipping just before displayed and sent to Xmit circuit. It reports peak signal level from low on left to high on right. It is also color coded. Green is good, yellow is just under clip limit, red is clipped, bright red is way over clip limit.
The goal is to allow people to adjust audio input level to have good modulation without overdriving and distortion due to clipping. It grew out of CESSB work with Mike.
I'd like to avoid a long name. Think zerobeat being shortened to ZBEAT - That's how VOLUME LEVEL became VLEVEL.
Thetis has a similar meter called "Signal". I could label it that.

@drexjj
Copy link
Owner

drexjj commented Feb 3, 2026

what if we called it the Audio Peak Indicator (API) or Audio Peak Meter (APM)

@drexjj drexjj marked this pull request as draft February 4, 2026 00:50
@rkayakr
Copy link
Author

rkayakr commented Feb 4, 2026

Updated label to APM. Added meter scale description.

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

Successfully merging this pull request may close these issues.

3 participants