pytimbre.utilities.audio_generator.generate_friedlander

pytimbre.utilities.audio_generator.generate_friedlander(peak_level: float = 165, a_duration: float = 0.005, duration: float = 3, sample_rate: float = 200000.0, blast_time: float = 0.0025, noise: bool = False)

Generates a generic_time_waveform object containing a Friedlander waveform :param peak_level: float, defaults to 165dB. :param a_duration: float, defaults to 0.005s. :param duration: float, length of total waveform in s. Defaults to 3s. :param sample_rate: float, defaults to 200e3 Hz. :param blast_time: float, time when friedlander starts in signal. Defualts to half the default a_duration and must be less than the duration of the signal minus 2 * a_duration. :param noise: bool, if True adds +/-94dB random noise (1pa) to the signal.

-20220325 - SCC - Created method.