From 6cf1da6ea2876220f26d96b8a2315e29370f9215 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sun, 20 Aug 2023 13:29:32 +0200 Subject: [PATCH] Delete model file --- verbanote/model.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 verbanote/model.py diff --git a/verbanote/model.py b/verbanote/model.py deleted file mode 100644 index e3bb450..0000000 --- a/verbanote/model.py +++ /dev/null @@ -1,18 +0,0 @@ -# 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 - -# set up locale -import locale -locale.getpreferredencoding = lambda: "UTF-8" - -# prepend silent audio to clip -from pydub import AudioSegment - -spacermilli = 2000 -spacer = AudioSegment.silent(duration=spacermilli) - - -audio = AudioSegment.from_wav("input.wav") - -audio = spacer.append(audio, crossfade=0) - -audio.export('input_prep.wav', format='wav')