Repository navigation
fix: 固定 FFT 采样率以防止频谱在高采样率环境显示异常 - #114
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动类型
是否包含破坏性变更
改动说明
将在 3995aa8 中合并的两个重采样器重新分离,因为 8b9a91f 导致播放器采样率会随设备环境改变,进而使 FFT 的输入采样率改变而导致频谱异常。现在给 FFT 单独提供 48kHz 信号防止频谱随设备采样率改变。
关联 Issue
Closes #113
测试情况
如 #113 中那样测试,可见频谱中阶梯消失
截图 / 录屏
前


后

自查清单
pnpm format,并确认pnpm typecheck、pnpm lint通过(未修改TypeScript部分)pnpm build:native验证;未手写native/*/index.d.tsdev分支提交