Added feature to skip a phrase on a recording session. #52
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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").
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.