Commit Graph

278 Commits

Author SHA1 Message Date
an-lee
8c4cf1415d Feat: Add sort to assessments page (#710)
* sort assessments

* add label
2024-06-25 10:53:32 +08:00
an-lee
3b83861749 Feat: customize settings before transcribing (#699)
* transcribe with language

* avoid using .en model to transcribe un-English audio

* save lanuage in transcription/audio/video

* may select language when regenerate transcription

* may select service when re-generate

* refactor transcription form

* refactor transcription create form

* refactor media loading modal

* display ipa per language

* refactor ipa mappings

* parse subtitle files
2024-06-24 14:35:09 +08:00
an-lee
75d379eb86 fix migration resolver in win32 (#696) 2024-06-20 22:41:39 +08:00
an-lee
47f3690b09 fix font loading (#693) 2024-06-20 15:20:15 +08:00
an-lee
c50e5abf7b Fix whisper should abort when cancel (#692)
* add whisper abort

* abort whisper when exit meida page

* add abort controller for youtubedr
2024-06-20 14:23:11 +08:00
an-lee
814be8369d Refactor current recording component (#691)
* upgrade deps

* update buttons order

* auto assess when modal open

* display assess score in recording list

* display assess mark on transcription list

* auto scroll to current segment

* toast may close

* update ui components
2024-06-20 13:25:56 +08:00
an-lee
d3e93ec39b Fix multiple players playing (#688)
* only one player playing in Square page

* refactor player

* rename component

* refactor post recording
2024-06-19 23:15:34 +08:00
an-lee
6dbd4e8559 remove debug code 2024-06-19 09:17:28 +08:00
an-lee
02b3427133 Refactor transcription buttons (#686)
* refactor transcription buttons

* fix style
2024-06-19 09:14:50 +08:00
Chuck
d466c5c5ac chore: Update ScrollArea class in TranslateWidget to enable vertical scrolling (#682)
* chore: Update ScrollArea class in TranslateWidget to enable vertical scrolling

* refactor: Update TranslateWidget to remove ScrollArea and use a div for vertical scrolling
2024-06-18 22:47:13 +08:00
Chuck
532d0ad78a refactor: use CSS to remove the focus outline instead of using the onFocus event handler (#685) 2024-06-18 17:56:25 +08:00
an-lee
8175a775c3 Feat: remember last active segment of audio/video (#681)
* remember last segment index for each audio/video

* fix for video

* auto scroll to cached segment
2024-06-17 16:28:51 +08:00
an-lee
e00ac27670 fix intl-tel-input utils loading slow from cdn (#680) 2024-06-17 15:09:15 +08:00
an-lee
fad4a219a1 Fix player unfuntional hotkeys (#679)
* upgrade deps

* fix react warning

* hotkeys for play/pause recording

* tune recording trim

* refactor hotkeys
2024-06-17 13:19:44 +08:00
an-lee
448ece4e7d refactor hotkey setting & add A hotkey (#676) 2024-06-14 10:55:32 +08:00
an-lee
e124609437 Feat: unscripted pronounciation assessment (#666)
* clean code

* add pronunciation assessment page

* load assessments

* recording target constraint

* display assessment card

* update style

* may check assessment detail

* fix style

* add new assessment page

* update pronunciation assessment form

* add language column to models

* create pronunciation assessment

* upload file to assess

* locales

* add source for assessment

* display language
2024-06-13 12:55:11 +08:00
an-lee
14a44752b1 Feat: support action cable (#665)
* upgrade deps

* may connect server via cable
2024-06-09 14:07:30 +08:00
an-lee
bfcd0be80f Fix OpenAI TTS error when using tts-1-hd (#659)
* fix OpenAI TTS error when using tts-1-hd

* refactor
2024-06-05 23:29:09 +08:00
an-lee
9de34745c7 Improve some default setting & err message (#656)
* use azure as default stt engine for new user

* refactor recording saving

* tune recording trimming

* fix recording err msg
2024-06-05 10:57:19 +08:00
an-lee
eaba9a960d Fix tts preset (#655)
* fix tts preset

* upgrade select ui
2024-06-05 10:26:53 +08:00
an-lee
cd1a16132a add extension filter when open save dialog (#654) 2024-06-05 09:47:23 +08:00
an-lee
d805ba7834 Fix ipa convert (#652)
* convert ipa for english only

* improve ipa convert
2024-06-04 14:08:57 +08:00
an-lee
a3208d876f Feat: support azure tts (#651)
* upgrade deps

* update tts providers

* refactor conversation form

* update tts providers config

* add azure tts api

* fix azure sdk usage

* consume/revoke token

* upgrade deps
2024-06-04 10:09:04 +08:00
an-lee
6d687b2d53 fix ja-JP locale 2024-06-02 18:16:47 +08:00
an-lee
d8231ca97c Feat: Settings for learning lang (#641)
* refactor settings

* refactor constants

* add settings for native/learning language

* setup langugage for transcribe

* use 2 letter code for echogarden

* AI commands support multiple language

* update languages constant

* fix sentry error

* fix context menu

* show camdict when only learning English

* add en-GB

* recording assess support multiple languages

* fix ai command

* refactor
2024-05-29 15:13:52 +08:00
an-lee
ef0bfa6544 Fix: support more cryptos (#639)
* support more cryptos

* add icons

* update icons

* update locale
2024-05-28 23:10:46 +08:00
an-lee
1c2494c79c clear interval when recording end (#638) 2024-05-27 23:25:14 +08:00
an-lee
4fd5cd1c5c upgrade deps (#637) 2024-05-27 23:22:46 +08:00
an-lee
3aecd3a901 Fix player close in conversation (#625)
* fix player sheet close in conversation

* fix recording save
2024-05-21 21:42:12 +08:00
an-lee
62a1b38739 fix IPA display 2024-05-21 18:43:47 +08:00
an-lee
756a5e6611 fix style 2024-05-21 18:34:06 +08:00
an-lee
01226e230f display IPA when read through 2024-05-21 16:46:33 +08:00
an-lee
2fea45fb32 fix test 2024-05-21 16:28:45 +08:00
an-lee
9f48a8f6bd validate conversaton configuation & handle preset loading in poor network (#624) 2024-05-21 15:48:20 +08:00
an-lee
8c4ba9f30d fix style 2024-05-20 10:42:28 +08:00
an-lee
c20d6ed7d2 Upgrade whisper.cpp & other deps (#614)
* upgrade deps

* update whisper bin for linux

* update whipser.cpp for win32

* fix ci in linux

* upgrade whisper.cpp for armd darwin

* upgrade whisper.cpp for x64 darwin

* fix undefined error when lookup (#613)

* Fix: use local timezone as default (#615)

* use local timezone as default

* refactor code

* fix time display

* Fix unhandled errors (#617)

* fix undefined

* prevent story preview unless url provided

* refactor

* Fix audible provider & add more YT channel (#618)

* add more youtube channel

* fix audible provider

* fix youtube video card style

* Feat: read & record through the transcription (#619)

* may read & record fulltext of transcription

* may delete & remove recording

* may assess recording

* fix pronunciation assessment result style

* fix style

* fix style

* fix player confit

* update locale & fix warning

* upgrade langchain to v0.2.0

* ci: fix test on linux runner
2024-05-20 10:31:44 +08:00
an-lee
cdbaf89005 Fix: handle echogarden align error (#620)
* may re-generate when "no matching voice found"

* may regenerate if the original text has not-matching voice

* specify language to avoid "no matching voice found"
2024-05-20 10:30:28 +08:00
an-lee
e0b2f59a23 Feat: read & record through the transcription (#619)
* may read & record fulltext of transcription

* may delete & remove recording

* may assess recording

* fix pronunciation assessment result style

* fix style

* fix style

* fix player confit

* update locale & fix warning
2024-05-19 09:05:02 +08:00
an-lee
2d58c9ac63 Fix audible provider & add more YT channel (#618)
* add more youtube channel

* fix audible provider

* fix youtube video card style
2024-05-17 11:36:35 +08:00
an-lee
47fe3f430d Fix unhandled errors (#617)
* fix undefined

* prevent story preview unless url provided

* refactor
2024-05-17 10:48:47 +08:00
an-lee
8cc030e6af Fix: use local timezone as default (#615)
* use local timezone as default

* refactor code

* fix time display
2024-05-17 10:23:39 +08:00
an-lee
df68540fb1 fix undefined error when lookup (#613) 2024-05-16 20:45:04 +08:00
an-lee
470dd5daf2 fix react warning 2024-05-15 18:38:58 +08:00
an-lee
fc0dc70bfa fix locale 2024-05-15 18:36:32 +08:00
an-lee
456ab97de6 update lcoale 2024-05-15 18:24:19 +08:00
an-lee
89faf35483 refactor ai lookup 2024-05-15 17:06:10 +08:00
an-lee
8c18f2458d fix lookup using other models 2024-05-15 16:29:58 +08:00
an-lee
6a59d9883e fix default engine setting validation 2024-05-15 16:05:47 +08:00
an-lee
61c76006fd Feat: more settings for ai engine & models (#611)
* may setup gpt ai engine & model

* ai models setting works

* update openai setting

* validate engine setting before save

* fail fast

* clean code

* refactor gpt preset
2024-05-15 15:52:07 +08:00
an-lee
b4d7fb837e refactor error handle 2024-05-15 08:58:25 +08:00