动态声音生成
我希望在给定一组参数的情况下动态生成声音,并生成一些类似于 MIDI 线的东西,以便在创建时播放。这是解决这个问题的最佳方法吗?我正在寻找的重要功能是对音乐(即乐器)声音的控制。有人对好的声音库、api 有建议吗?
请注意,我不想不断地读取和写入文件(例如,生成一分钟的音频,播放该音频,然后生成下一个要播放的音频)
I'm looking to generate sound on the fly given a set of parameters, and produce something along the lines of a midi to be played as it is created. Is this the best way to go about this? The important feature I'm looking for is control over the sound of the music, i.e., the instrument. Does anyone have suggestions on good sound libraries, apis?
Note, I'd rather not be reading and writing files constantly (e.g., generate a minute of audio, play that, and generate the next to be played)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想如果您想要以 midi/tracker 风格进行样本混合,您可能会厌倦一些最终用户程序,例如 timidity 或 schismtracker,或者相同的库,例如 libmikmod。
I guess you could bore up some end-user programs like timidity or schismtracker, or libraries of the same, such as libmikmod, if you want sample mixing in midi/tracker-style.
您是否考虑过研究纯数据?您可以在 iOS/OSX 和 PC 上运行它 - 这样您就可以随时随地合成声音,而无需编写任何内容。当然,如果您愿意,您可以将其与波形文件混合。
Have you thought of looking into Pure Data? You can run it on iOS/OSX and PC - and with that you could synthesise sound on the go without having to write anything. You can, of course, blend it with wavefiles if ya like.