{'fraction_non_alphanumeric': 0.017857142857142856, 'fraction_numerical': 0.00510204081632653, 'mean_word_length': 5.541666666666667, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Method for generating realistic sound stimuli with given characteristics by controlled combination of audio recordings.

Audio recordings are often used to improve ecological validity of stimuli for laboratory research on effects of noise. In this paper a method is proposed for composing realistic environmental sound stimuli with (1) specified overall spectrum and (2) specified statistical distribution of sound event durations and semantic categories. The combination is addressed as a mixed integer linear programming problem. Objective measurements, for eight stimuli and a moderate-size database, validate the method. The mean error in octave bands exposure level is 2.6 dB and the statistical distribution of sound event durations and semantic categories is perfectly matched.