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

感谢彩虹屁这个创意 #102

Closed
ezshine opened this issue Jun 28, 2020 · 3 comments
Closed

感谢彩虹屁这个创意 #102

ezshine opened this issue Jun 28, 2020 · 3 comments

Comments

@ezshine
Copy link

ezshine commented Jun 28, 2020

我找到以下方式可以不用web来播放语音。
macos:"afplay mp3filepath"
windwos:内嵌cmdmp3.exe "cmdmp3.exe mp3filepath"

@SaekiRaku
Copy link
Owner

目前可以实现的方法有很多,详见:#34 ,但是我这边更多的是考虑用户会如何使用这个插件。因为很大的插件体积或前置依赖体积会导致漫长的下载时间,而对于这样一款娱乐性大于实用性的插件,用户未必愿意付出这些时间等待插件就绪。所以目前依然使用通过浏览器播放的方案。另见: https://saekiraku.github.io/vscode-rainbow-fart/#/zh/qa.md#能否不通过浏览器直接播放音频?

@ezshine
Copy link
Author

ezshine commented Jun 28, 2020

我采用的方案对体积的影响几乎为零。你可以参考下....

@ezshine
Copy link
Author

ezshine commented Jun 28, 2020

在mac下,是系统默认的afplay来播放音频。在windows下,cmdmp3.exe只有26kb大小哦。

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

No branches or pull requests

2 participants