Removing unwanted recording from Mimic-Recording-Studio: Difference between revisions
Jump to navigation
Jump to search
(Initial version) |
m (Categories) |
||
Line 1: | Line 1: | ||
==Problem== | ==Problem== | ||
You have made an unwanted/bad recording in [[:Category:Mycroft|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? | You have made an unwanted/bad recording in [[:Category:Mycroft|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? | ||
Line 21: | Line 18: | ||
#Close SQLite DB connection | #Close SQLite DB connection | ||
#Restart Mimic-Recording-Studio | #Restart Mimic-Recording-Studio | ||
[[Category:Lessons learned]] | |||
[[Category:Mycroft]] |
Revision as of 19:16, 29 November 2021
Problem
You have 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
- 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