Esempio n. 1
0
def run_normalizer():
    import aukit
    from aukit.audio_player import play_sound
    from aukit import audio_normalizer as ano
    inpath = r"hello.wav"
    wav, sr = aukit.load_wav(inpath, with_sr=True)
    out = ano.remove_silence(wav)
    out = ano.tune_volume(wav, target_dBFS=-10)
    play_sound(out, sr)
Esempio n. 2
0
File: test.py Progetto: mayite/aukit
def test_normalizer():
    from aukit.audio_normalizer import tune_volume, remove_silence

    out_wav = remove_silence(_wav, vad_max_silence_length=2)
    out_wav = tune_volume(_wav, target_dBFS=-10)