Removing unwanted recording from Mimic-Recording-Studio
You made an unwanted/bad recording in Mycrofts Mimic-Recording-Studio (MRS) and instead of skipping or re-recording the phrase you accepted that recording. Now you want to remove it before continuing your recording session?
Steps to solve problem[edit | edit source]
- Stop Mimic-Recording-Studio
- Find the recorded file in your MRS directory (eg: <MRS-BaseDir>/backend/audio_files/<GUID of recording session>/<GUID of recording>.wav)
- "Remember" the GUID of the "bad" recording
- Delete the file from audio_files directory
- Remove recording from <GUID>-metadata.txt file (this step is optional)
- Open SQLite DB with a Tool like DBeaver (<MRS-BaseDir>/backend/db/mimicstudio.db)
- Run following SQL query:
DELETE FROM audiomodel WHERE audio_id = '<GUID of recording>';
UPDATE usermodel SET prompt_num = prompt_num - 1 WHERE uuid = '<GUID of Recording Session>';
- Close SQLite DB connection
- Restart Mimic-Recording-Studio