Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: play phonetic pronounciation #538

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

ReinerLau
Copy link
Contributor

增加音标点选发音,方便零基础选手拼读,使用正则拆分单字符和双字符音标,目前课程使用的是KK音标,音频材料来自于IPA音标,所以比对过程中可能会出现疏漏,懒得折腾录屏软件就不放声音了
2024-04-07 6 34 32 PM

@ReinerLau ReinerLau changed the title feat: play phonetic pronounce feat: play phonetic pronounciation Apr 7, 2024
@ReinerLau ReinerLau force-pushed the feat/pronunciation-detail branch 2 times, most recently from fbb0c47 to fb61dca Compare April 15, 2024 00:35
@cuixiaorui
Copy link
Contributor

有点意思这个功能
不过我感觉还需要打磨打磨

比如咱现在支持 美式发音和英式发音
但是音标的话 只有一种
对不上有点难受

我在使用这个功能的时候 还想连起来读
看起来还可以点击某个单词 只播放这个单词的声音

除此之外我们还需要考虑以下几个问题:

  1. mp3 的版权问题
  2. mp3 文件放到项目中会涉及带宽问题

@ReinerLau ReinerLau force-pushed the feat/pronunciation-detail branch from b806909 to 85d230f Compare May 6, 2024 05:42
@ReinerLau
Copy link
Contributor Author

ReinerLau commented May 6, 2024

  1. 压缩了音频文件大小,音频文件格式从 mp3 转换为 ogg,103 个音频文件共 1.2 M
  2. 英美音标切换改为从接口获取

英音
image
美音
image
有道词典
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants