Skip to content

Commit 1a63968

Browse files
Small changes
1 parent 4fb06a3 commit 1a63968

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
- [Recording Tips](#recording-tips)
3232
- [Advanced](#advanced)
3333
* [Query database structure](#query-database-structure)
34+
* [Table "audiomodel"](#table-"audiomodel")
35+
* [Table "usermodel"](#table-"usermodel")
3436
* [Modify recorder uuid](#modify-recorder-uuid)
3537
- [Providing your recording to Mycroft for training](#providing-your-recording-to-mycroft-for-training)
3638
- [Contributions](#contributions)
@@ -260,16 +262,23 @@ This tables provides following informations per speaker:
260262

261263
These values are used to calculate metrics. For example, the speaking pace may show if the recorded phrase is too fast or slow compared to previous recordings.
262264

263-
Query table "usermodel" to get a list of speakers and some recording statistics on them.
265+
Query table "usermodel" to get a list of speakers including uuid and some recording statistics on them.
266+
267+
```sql
268+
SELECT user_name AS [name], uuid FROM usermodel;
269+
```
270+
271+
![database_table_usermodel](./img/database_table_usermodel.png)
272+
264273

265274
## Modify recorder uuid
266275
The browser used to record your phrases persists the users `uuid` and `name` in it's localStorage to keep it synchronous with sqlite and filesystem.
267276

268277
If a problem occurs and your browser looses/changes uuid mapping for Mimic-Recording-Studio you could have difficulties to continue a previous recording session.
269-
Then update localStorage of your browser. For that you need the following two informations:
278+
Then update the following two attributes in localStorage of your browser:
270279

271-
* uuid (query "usermodel" in sqlite or check filesystem path under /backend/audio_files/)
272-
* name (query "usermodel" in sqlite: `SELECT user_name AS [user] FROM usermodel;`)
280+
* uuid ([Query table "usermodel"](#table-"usermodel") or check filesystem path under /backend/audio_files/)
281+
* name ([Query table "usermodel"](#table-"usermodel"))
273282

274283

275284
Open Mimic-Recording-Studio in your browser, jump to web-developer options, localStorage and set name and uuid to the original values.

img/database_table_usermodel.png

6.35 KB
Loading

0 commit comments

Comments
 (0)