Baseline

Python Modules

recipes.cad1.task1.baseline.enhance

Run the dummy enhancement.

recipes.cad1.task1.baseline.evaluate

Evaluate the enhanced signals using the HAAQI metric.

recipes.cad1.task1.baseline.merge_batches_results

Join batches scores into a single file.

recipes.cad1.task1.baseline.test

Run the baseline enhancement.

Configuration Files

config.yaml

 1path:
 2  root: ../../cadenza_data_demo/cad1/task1
 3  metadata_dir: ${path.root}/metadata
 4  music_dir: ${path.root}/audio/musdb18hq
 5  music_file: ${path.metadata_dir}/musdb18.valid.json
 6  listeners_file: ${path.metadata_dir}/listeners.valid.json
 7  music_segments_test_file: ${path.metadata_dir}/musdb18.segments.test.json
 8  exp_folder: ./exp_${separator.model} # folder to store enhanced signals and final results
 9
10team_id: T001
11
12sample_rate: 44100       # sample rate of the input mixture
13stem_sample_rate: 24000  # sample rate output stems
14remix_sample_rate: 32000 # sample rate for output remixed signal
15
16nalr:
17  nfir: 220
18  sample_rate: ${sample_rate}
19
20apply_compressor: False
21compressor:
22  threshold: 0.35
23  attenuation: 0.1
24  attack: 50
25  release: 1000
26  rms_buffer_size: 0.064
27
28soft_clip: True
29
30separator:
31  model: demucs   # demucs or openunmix
32  device: ~
33
34evaluate:
35  set_random_seed: True
36  small_test: False
37  batch_size: 1  # Number of batches
38  batch: 0       # Batch number to evaluate
39
40# hydra config
41hydra:
42  run:
43    dir: ${path.exp_folder}
44  job:
45    chdir: True