Giter Club home page Giter Club logo

roborock-tiktok's Introduction

Funny TikTok lady voice pack builder

Give some personality to your Xiaomi vacuum by creating your own funny TikTok lady voice pack.

The script reads the text from the csv file in the funny TikTok ladys' voice and packages it for upload to your vacuum. It's been tested with a gen1 running Valetudo but should also work with other generations and with other ways of installing the voice pack.

I'm not creative, just give me a voice pack!

You're doing a great job of disappointing me. Go on, go to the releases page and download a pre-created pack.

Requirements

  • curl to call the the funny TikTok lady voice generator API.
  • ffmpeg and ffmpeg-normalize (pip install ffmpeg-normalize) to normalize the volume of the voice files.
  • ccrypt to package the wav files.
  • jq to parse the json response from the funny TikTok lady voice generator API.
  • base64 to decode the response data.

Usage

  • git clone this repo
  • Change the lines in the csv file from the xiaomi default to something you want the funny TikTok lady to say.
  • Run ./01-speak.sh to generate the speech.
  • Run ./02-process.sh to normalize the volume.
  • Run ./03-package.sh to package the wav files.
  • Visit Valetudo in your browser (the IP of your vacuum) and go to Settings -> Sound and voice. Upload the generated .pkg file from the output/result directory and press 'Upload Voice Pack'.
  • Done!

If you created a custom csv file, please be so kind to share it back so others can benefit from it.

Tips

Speak when bumping into something

Now we have this great voice installed, wouldn't it be great if the funny TikTok lady would speak a bit more? How about a custom voice pack and configuration for this: roborock-oucher?

Further automations

If you are using Home Assistant, you can combine the control of your vacuum with other automations. How about a soundtrack or some light effects? The only limit is your willingness to release your inner geek - you know you want to ;).

Credits

roborock-tiktok's People

Contributors

arner avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.