AudioSettings

Struct AudioSettings 

Source
pub struct AudioSettings {
    pub beep: bool,
    pub beep_volume: u8,
    pub tx_equalizer_fm: EqSetting,
    pub tx_equalizer_dv: EqSetting,
    pub rx_equalizer: EqSetting,
    pub mic_sensitivity: MicSensitivity,
    pub voice_guidance: bool,
    pub voice_guidance_volume: u8,
    pub voice_guidance_speed: VoiceGuideSpeed,
    pub balance: u8,
    pub tx_monitor: bool,
    pub usb_audio_output_level: u8,
}
Expand description

Audio and sound settings.

Controls the TH-D75’s beep, equalizer, microphone sensitivity, and voice guidance features. Derived from capability gap analysis features 123-148.

§Audio equalizer (per User Manual Chapter 12)

The TH-D75 has independent TX and RX parametric equalizers:

  • TX EQ (Menu No. 911/912): 4-band (0.4/0.8/1.6/3.2 kHz), range -9 to +3 dB per band. Separate enable for FM/NFM and DV modes.
  • RX EQ (Menu No. 911/913): 5-band (0.4/0.8/1.6/3.2/6.4 kHz), range -9 to +9 dB per band. The 6.4 kHz band has no effect in DV/DR mode since digital audio bandwidth is limited to 4 kHz.

§Volume balance (per User Manual Chapter 5)

Menu No. 910 controls audio balance between Band A and Band B. The Operation Band Only setting outputs sound only from the operation band when both bands are simultaneously busy.

Fields§

§beep: bool

Key beep on/off.

§beep_volume: u8

Beep volume level (1-7).

§tx_equalizer_fm: EqSetting

TX audio equalizer preset (for FM/NFM mode).

§tx_equalizer_dv: EqSetting

TX audio equalizer preset (for DV mode).

§rx_equalizer: EqSetting

RX audio equalizer preset.

§mic_sensitivity: MicSensitivity

Microphone sensitivity level.

§voice_guidance: bool

Voice guidance on/off.

§voice_guidance_volume: u8

Voice guidance volume (1-7).

§voice_guidance_speed: VoiceGuideSpeed

Voice guidance speed.

§balance: u8

Audio balance between Band A and Band B (0 = A only, 50 = equal, 100 = B only).

§tx_monitor: bool

TX monitor on/off (hear own transmit audio).

§usb_audio_output_level: u8

USB audio output level.

Trait Implementations§

Source§

impl Clone for AudioSettings

Source§

fn clone(&self) -> AudioSettings

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AudioSettings

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for AudioSettings

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for AudioSettings

Source§

fn eq(&self, other: &AudioSettings) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for AudioSettings

Source§

impl StructuralPartialEq for AudioSettings

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more