Random M3U playlist generation (with silences).
../gen_playlist.py config.json
A JSON file with the following keys:
output_name
: the relative path of the resulting playlist file, without the extensionaudio_folder
: the relative path of the folder containing the audio files (including silences)sounds
: the names of the actual sound filessilences
: the names of the “silent files” (keys) and their durations (values)prevent_consecutive_or_almost
: weird property name meaning “play at least X other sounds before playing this sound again”minimum_silence_duration
: minimum silence durationmaximum_silence_duration
: maximum silence durationlength
: desired length of the playlist, excluding silences