Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marking audio as AI generated? #296

Open
markcampanelli opened this issue Aug 24, 2024 · 1 comment
Open

Marking audio as AI generated? #296

markcampanelli opened this issue Aug 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@markcampanelli
Copy link

Is there a way to digitally mark output audio files as being AI generated so as to be entirely transparent about an audio clip being used for satire or other entertainment purposes?

Copy link

dosubot bot commented Aug 24, 2024

Hey @markcampanelli, I'm here to help you with any bugs, questions, or contributions you have while waiting for a human maintainer. Let me know how I can assist you!

Yes, there is a way to digitally mark output audio files as being AI generated for transparency in satire or entertainment purposes. The ToneColorConverter class in OpenVoice offers the option to add a watermark to the audio. This can be done by including a message during the conversion process.

Here is an example of how to add a watermark:

# Run the tone color converter with a watermark message
encode_message = "@MyShell"
tone_color_converter.convert(
    audio_src_path=src_path, 
    src_se=source_se, 
    tgt_se=target_se, 
    output_path=save_path,
    message=encode_message)

By including the message parameter in the convert method, you can embed a watermark in the audio file to indicate that it is AI generated. The add_watermark method in the ToneColorConverter class handles the embedding of the watermark message into the audio [1][2].

To continue talking to Dosu, mention @dosu.

@dosubot dosubot bot added the enhancement New feature or request label Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant