MycroftAI / mimic-recording-studio

Mimic Recording Studio is a Docker-based application you can install to record voice samples, which can then be trained into a TTS voice with Mimic2
Apache License 2.0
496 stars 114 forks source link

Added feature to skip a phrase on a recording session. #52

Closed thorstenMueller closed 2 years ago

thorstenMueller commented 3 years ago

Description

This PR for Mimic-Recording-Studio adds the functionality to skip recording currently shown phrase from the corpus without stopping recording session, editing corpus file and continue training as whished in #51.

Type of PR

Testing

Start Mimic-Recording-Studio and record and skip some phrases :-).

Documentation

When you are recording using web-ui you can now press "S" to skip recording that shown phrase. That keypress is in addition to existing keypresses ("R" and "Space").

What's happening when user hits "S"?

When pressing "S" key the web-ui will present the next phrase from the corpus. In the backend the SQLite column "prompt_num" (table: usermodel) will be increased on 1. This won't change any value which is used to calculate the average speech rate! No audio file is written in case of "S". If the user wants to clean the corpus file afterwards this can be done by taking a look to the new written text file (-skipped.txt) in the audio_files/uuid directory. Every skipped phrase will be saved there.

thorstenMueller commented 2 years ago

Ooops. This latest merge was an error. I'll to roll it back.