SociallyIneptWeeb / AICoverGen

A WebUI to create song covers with any RVC v2 trained AI voice from YouTube videos or audio files.
MIT License
1.03k stars 241 forks source link

Stereo reverb would be much better #114

Open Jqliany opened 6 months ago

Jqliany commented 6 months ago
def add_audio_effects():
......
    with AudioFile(audio_path) as f:
        with AudioFile(output_path, 'w', f.samplerate, 2) as o:
            # Read one second of audio at a time, until the file is empty:
            while f.tell() < f.frames:
                chunk = f.read(int(f.samplerate))
                chunk = np.tile(chunk, (2, 1)).T
                effected = board(chunk, f.samplerate, reset=False)
            o.write(effected)
......
JackismyShephard commented 2 months ago

@Jqliany I might consider adding this to my fork of this repo. Its available here: https://github.com/JackismyShephard/ultimate-rvc, in case you are interested.