Real-time-voice-cloning: Where is generated wave file?

Created on 30 Oct 2019  路  1Comment  路  Source: CorentinJ/Real-Time-Voice-Cloning

I am running this code from remote server by VNC, I can not hear voice, how can I download generated wave file?
From demo_toolbox I can see the log is OK, Waveform is generated, but there is nothing in the data directory.

Most helpful comment

I saved the file by adding something like this to the end of "def vocode(self):" in __init__.py in toolbox:

        fpath = "demo_output_toolbox.wav"
        librosa.output.write_wav(fpath, wav.astype(np.float32), 
                                    Synthesizer.sample_rate)
        print("\nSaved output as %s\n\n" % fpath)

(and import librosa)

>All comments

I saved the file by adding something like this to the end of "def vocode(self):" in __init__.py in toolbox:

        fpath = "demo_output_toolbox.wav"
        librosa.output.write_wav(fpath, wav.astype(np.float32), 
                                    Synthesizer.sample_rate)
        print("\nSaved output as %s\n\n" % fpath)

(and import librosa)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IrvDelgado picture IrvDelgado  路  5Comments

willshion picture willshion  路  9Comments

MichaelAllenHardeman picture MichaelAllenHardeman  路  5Comments

yevgetman picture yevgetman  路  6Comments

amintavakol picture amintavakol  路  10Comments