Commit Graph

23 Commits

Author SHA1 Message Date
an-lee
49dabc89a3 Update constants from api (#607)
* fix caption ipa display

* fetch gpt/tts providers from API

* fetch remote gpt presets

* update constants

* fix conversavtion save

* refactor ipa convert

* fetch ipa mapping from api

* fix ipa mark

* fix constant

* validate camdict pron audio src
2024-05-14 20:37:51 +08:00
an-lee
0644c3bbd7 Feat: make notes on caption (#544)
* add segment model

* add note model

* db handle segment & note

* add notes & segments handler

* refactor media caption components

* segment & note create

* fix type

* update note column & may sync

* display selected words for note

* refactor selected words

* auto select words when editing note

* refactor

* refactor caption component

* display notes

* refactor notes components

* fix

* refactor segment & notes into context

* destroy note

* update locale

* fix caption switch issue

* fix layout

* refactor caption layout

* remove deprecated code

* may share note

* improve UI

* fix notes list auto update after created

* remove console.log

* add notes page

* refactor note parameters

* refactor components

* mark note on transcription

* handle no notes

* improve style

* improve style

* show context menu on selection text

* fix utils
2024-04-26 15:05:36 +08:00
an-lee
e4f5bdcfb9 Refactor components codes (#538)
* remove deprecated code

* refactor code

* refactor components codes

* fix renderer tests
2024-04-19 10:46:04 +08:00
an-lee
7cc8e0bf7b use gpt-4-turbo as default (#515) 2024-04-12 10:25:35 +08:00
an-lee
e7df154f84 Feat: share GPT (#502)
* may share GPT

* add ai assistant from shared gpt
2024-04-08 16:42:41 +08:00
an-lee
03d081592c Feat: improve player caption (#433)
* update ipa mapping

* refactor player caption layout
2024-03-22 10:20:13 +08:00
an-lee
90f38e9226 Transcription force alignment & more (#416)
* add wavesurfer-provider

* brand new layout for player

* refactor pitch contour

* clean up

* update styl

* refactor

* update layout

* use new layout for video

* refactor

* may select word

* may edit word timestamp

* may toggle multiselect words

* clean code

* improve word region update

* improve layout

* update layout

* add echogarden

* fix test

* use aligned transcription

* fix ipa

* some refactor

* improve code

* implement ipa & translate & lookup

* recording play & share

* fix

* fix post audio

* improve layout

* may delete recording

* may record

* fix video player layout

* fix player in conversation

* render recording along with orignal audio

* may custom create region in recording

* fix float issue when seekTo

* fix recording player

* fix load more recordings

* fix seekTo

* clean up

* refactor pitch contour

* fix some warnings

* upgrade deps

* fix group transcription sentence

* zoom to fit when segment update

* add more hotkeys

* update player layout

* improve style

* play recording overlap audio when comparing

* update echogarden dep

* add recorded mark on transcription

* fix recording pitch contour rendering

* improve recording

* adjust pitch finder params
2024-03-16 19:42:37 +08:00
an-lee
ae775e91ea Fix: ensure AI command model support json response_format (#365)
* ensure AI command model support json response_format

* update models list

* update tts model list
2024-02-28 22:32:48 +08:00
an-lee
8037273549 Feat: add tts conversation (#341)
* may create tts type conversation

* support tts reply

* upgrade deps

* test: e2e for create TTS conversation

* test: e2e for gpt conversation

* test: e2e for from create conversation to add speech audio to library

* refactor use-conversation

* generate speech before create msg in tts conversation

* refactor conversation-shorts

* revert change in 1000-hours

* revert sass dep changed in 1000-hours

* fix CI
2024-02-22 16:00:17 +08:00
an-lee
abde169ead Fix openai proxy (#244)
* add create messages in batch

* add use conversation

* update conversation shortcut

* add speech handler

* tts in renderer

* fix speech create
2024-02-02 00:41:23 +08:00
an-lee
92b9eceba1 Fix conversation edit failed & Mixin login (#236)
* fix redundant toast error

* fix Mixin login failed on occasions

* fix conversation form default values
2024-01-31 10:39:54 +08:00
an-lee
ff1999c00b Fix bugs (#232)
* fix default engine settings

* fix conversation & cloudflare transcribe

* update arm64/darwin whisper

* empty notice for conversations

* display user rankings

* fix enjoy ai

* update whisper.cpp for arm64 darwin to v1.5.4

* upgrade yarn to 4.1.0
2024-01-31 01:40:14 +08:00
an-lee
00cbc8403b Feat: add Enjoy AI as option (#206)
* add enjoyAI as option

* use enjoyai config

* may call enjoyai

* may set default ai engine

* refactor setting context

* refactor preferences

* add warning when openai key not provided

* tweak locale

* update duration for audio/video

* add balance settings

* may select ai role when create conversation

* may forward message from conversation

* tweak ui

* refactor transcribe method

* refactor ai commands to hooks

* fix webapi

* tweak playback rate options

* add playMode, next & prev, ref: #124

* upgrade deps

* may skip whisper model download

* audios/videos default order by updated_At
2024-01-31 00:04:59 +08:00
an-lee
757c2af85c Feat: use default ai config (#167)
* fix locale

* use openai config if any
2024-01-19 17:24:12 +08:00
an-lee
b545ea2362 Feat: save waveform as file (#118)
* package rpm

* cache waveform data as file in library

* clear waveform data in db

* fix some css
2024-01-15 16:57:44 +08:00
an-lee
fe0542e8c6 Fix: Improve UI (#103)
* use sonner

* fix ui

* fix post audio player
2024-01-13 22:59:57 +08:00
an-lee
d6a4b24a1e Fix some bugs (#101)
* fix whisper large model download url ref: #93

* remove default baseURL for openAI

* add log for conversation
2024-01-13 19:30:58 +08:00
an-lee
3d3fc17c79 improve player loading perf 2024-01-13 16:52:14 +08:00
an-lee
1243076bbb add audio/video & send prompt from share zone 2024-01-13 01:09:40 +08:00
an-lee
ccf07b7948 may config tts baseURL 2024-01-11 11:07:30 +08:00
an-lee
91baeff4ef update conversation default value 2024-01-11 10:07:31 +08:00
an-lee
f6673c74e9 fix conversation cannot save directly 2024-01-11 10:06:43 +08:00
an-lee
aebd9ee213 add enjoy app 2024-01-09 15:19:32 +08:00