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

[Feature] Using cffi #33

Open
I-love-study opened this issue Jan 31, 2025 · 0 comments
Open

[Feature] Using cffi #33

I-love-study opened this issue Jan 31, 2025 · 0 comments
Milestone

Comments

@I-love-study
Copy link
Owner

I-love-study commented Jan 31, 2025

目的:

  1. 使输入支持 numpy.ndarray
  2. 减少构建版本,以后只需要构建各 architechure 即可(pypi 最新构建还是 3.11) 后面再说,现在 abi3 也不支持 3.13t,搞不懂(((φ(◎ロ◎;)φ)))
  3. 流式读取(包括同步和异步)

怎么听起来工程量这么大(汗流浃背.jpg)

处理优先级:

  1. Soundfile + SoXR (都支持流式,且使用 numpy)
  2. ffmpeg(需要封装一下 FFMpeg,或者使用一些现成的 FFMpeg 第三方库)
  3. wav(3.13 后标准库没了 audioop,那输入只支持 24khz mono 了,太难顶了还不如不支持,当个懒狗)

需要验证的问题:

  1. ABI 模式所带来的性能开销是否在可接受范围内
@I-love-study I-love-study added this to the 0.4.x milestone Feb 2, 2025
@I-love-study I-love-study changed the title Using cffi [Feature] Using cffi Feb 4, 2025
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

1 participant