nakas commited on
Commit
1bbe48d
Β·
1 Parent(s): 49fd722

Update audio_style_transfer/models/timedomain.py

Browse files
audio_style_transfer/models/timedomain.py CHANGED
@@ -322,9 +322,9 @@ def run(content_fname,
322
  iterations=iterations)
323
 
324
  s = unchop(result, hop_size=hop_length, frame_size=frame_size)
325
- sf.write(output_fname, s, sr=sr)
326
  s = utils.limiter(s)
327
- sf.write(output_fname+'.limiter.wav', s, sr=sr)
328
 
329
 
330
  def batch(content_path, style_path, output_path, model):
 
322
  iterations=iterations)
323
 
324
  s = unchop(result, hop_size=hop_length, frame_size=frame_size)
325
+ sf.write(output_fname, s, sr)
326
  s = utils.limiter(s)
327
+ sf.write(output_fname+'.limiter.wav', s,sr)
328
 
329
 
330
  def batch(content_path, style_path, output_path, model):