Delete model file
This commit is contained in:
parent
7e91b7a1a2
commit
6cf1da6ea2
1 changed files with 0 additions and 18 deletions
|
@ -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')
|
|
Loading…
Reference in a new issue