Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有什么方法可以设置声音文件的频率吗?我正在尝试创建一架钢琴,并且它应该可以正常工作。但是,我错过了一个音符,即 D#,但我无法从互联网上找到任何与我当前使用的音符相匹配的 D# 声音。那么有没有可能使用一个声音文件,然后用代码调高它的频率?
如果这可行,那也很酷,我可以制作八度音阶按钮并从任何八度音程弹钢琴,而不仅仅是从原始音程(在声音文件中使用)。