thecollabagepatch commited on
Commit
7457794
·
1 Parent(s): 6d5b723

remove peak normalize from one_shot_generation

Browse files
Files changed (1) hide show
  1. one_shot_generation.py +4 -2
one_shot_generation.py CHANGED
@@ -120,8 +120,8 @@ def generate_loop_continuation_with_mrt(
120
  out = hard_trim_seconds(stitched, total_secs)
121
 
122
  # Final polish AFTER drop
123
- out = out.peak_normalize(0.95)
124
- apply_micro_fades(out, 5)
125
 
126
  # Loudness match to input (after drop) so bar 1 sits right
127
  out, loud_stats = apply_barwise_loudness_match(
@@ -134,6 +134,8 @@ def generate_loop_continuation_with_mrt(
134
  smooth_ms=50, # 50ms crossfade between bars
135
  )
136
 
 
 
137
  return out, loud_stats
138
 
139
 
 
120
  out = hard_trim_seconds(stitched, total_secs)
121
 
122
  # Final polish AFTER drop
123
+ # out = out.peak_normalize(0.95)
124
+
125
 
126
  # Loudness match to input (after drop) so bar 1 sits right
127
  out, loud_stats = apply_barwise_loudness_match(
 
134
  smooth_ms=50, # 50ms crossfade between bars
135
  )
136
 
137
+ apply_micro_fades(out, 5)
138
+
139
  return out, loud_stats
140
 
141