treble_tsdk.scene.noise_profiles

Static noise profile constants for audio scene generation.

third_oct_bands and mems_noise_profile_db together describe the frequency shape of a typical MEMS microphone’s self-noise floor, one dB value per third-octave band. They back StaticNoiseProfile (via StaticNoiseProfile(frequencies=third_oct_bands, band_levels_db=mems_noise_profile_db)) and are used automatically by from_noise_type_and_level()/ from_noise_type_and_microphone_snr() when called with StaticNoiseType.mems_noise_profile.

Module Attributes

third_oct_bands

Third-octave-band center frequencies, in Hz.

mems_noise_profile_db

Per-band noise levels, in dB, describing the self-noise floor of a typical MEMS microphone, one value per entry in third_oct_bands.

treble_tsdk.scene.noise_profiles.mems_noise_profile_db = [72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55.1, 54.6, 53.9, 53.2, 52.8, 52.3, 51.9, 51.6, 51.4, 51.3, 51.3, 51.4, 51, 50]

Per-band noise levels, in dB, describing the self-noise floor of a typical MEMS microphone, one value per entry in third_oct_bands.

treble_tsdk.scene.noise_profiles.third_oct_bands = [20, 25, 31.5, 40, 50, 63, 80, 100, 125, 160, 200, 250, 315, 400, 500, 630, 800, 1000, 1250, 1600, 2000, 2500, 3150, 4000, 5000, 6300, 8000, 10000, 12500, 16000, 20000]

Third-octave-band center frequencies, in Hz.