Overhauled Thresh-LP analysis and figures (WIP).
This commit is contained in:
@@ -7,11 +7,10 @@ from IPython import embed
|
||||
## SETTINGS:
|
||||
|
||||
# General:
|
||||
overwrite = True
|
||||
input_folder = '../data/raw/'
|
||||
output_folder = '../data/processed/'
|
||||
stages = ['raw', 'filt', 'env', 'log', 'inv', 'conv', 'bi', 'feat', 'norm']
|
||||
if True:
|
||||
if False:
|
||||
# Overwrites edited:
|
||||
stages.append('songs')
|
||||
|
||||
@@ -51,8 +50,7 @@ for path, name in zip(input_paths, path_names):
|
||||
|
||||
# Fetch and store representations:
|
||||
save = None if output_folder is None else output_folder + f'{name}.npz'
|
||||
process_signal(config, stages, path, save=save,
|
||||
label_edit=gui, overwrite=overwrite)
|
||||
process_signal(config, stages, path, save=save, label_edit=gui)
|
||||
|
||||
# Cross-control:
|
||||
if reload_saved:
|
||||
|
||||
Reference in New Issue
Block a user