graph LR
load[/Load wav/] -->|y|spectogram[Spectogram]
spectogram-->|S|griffinlim[griffinlim]
load-->|y|channel_merger[channel_merger]
griffinlim-->|y|channel_merger
channel_merger-->|y|write[/Write wav/]
graph LR
load[/Load wav/] -->|y|spectogram[Spectogram]
spectogram-->|S|zeros_hp[Zero > fmin]
zeros_hp -->|S|griffinlim_hp[griffinlim]
griffinlim_hp-->|y|channel_merger
spectogram-->|S|zeros_lp[Zero < fmin]
zeros_lp -->|S|griffinlim_lp[griffinlim]
griffinlim_lp-->|y|channel_merger
channel_merger-->|y|write[/Write wav/]
graph LR
load-->|y|residual[y - x]
load[/Load wav/] -->|y|harmonic[harmonic]
harmonic-->|y|write_0[/Write wav/]
harmonic -->|y|add[y + x]
load -->|y|perc[percussive]
perc -->|x|add[y + x]
add --> |x|residual
residual -->|y|write_2[/Write wav/]
perc-->|y|write_1[/Write wav/]
graph LR
load-->|y|add_raw2[y + x]
load-->|y|residual[y - x]
load -->|y|perc[percussive]
load[/Load wav/] -->|y|harmonic[harmonic]
load-->|y|add_raw[y + x]
griffinlim_1-->|x|add_raw2
add_raw-->merger[Channel merger]
add_raw2-->merger[Channel merger]
griffinlim_2-->|x|add_raw
harmonic -->|x|add[y + x]
harmonic-->|y|stft_2[stft]
stft_2-->|S|zeros_hp2[Zero > fmin]
perc -->|y|add[y + x]
add --> |x|residual
residual -->|y|stft_1[stft]
zeros_hp-->|S|griffinlim_1[griffinlim]
zeros_hp2-->|S|griffinlim_2[griffinlim]
stft_1-->|S|zeros_hp[Zero > fmin]
merger-->|y|write[Write wav]