是否可以在 python 内部使用 Csound 来执行现场电子音乐任务?如果可能的话,任何人都可以暗示如何做到这一点吗?
小智 5
Csound 有一个带有 Python 绑定的 API,可用于方便使用 Python 编写音乐和音乐应用程序。csoundAPIExamples 项目中提供了一些在 Python 中使用 Csound 的教程示例:
https://github.com/csound/csoundAPI_examples/tree/master/python
除了大多数 Csound 安装附带的 csnd6 或 Linux 上的软件包存储库中提供的 csnd6 之外,还有一个较新的基于 ctypes 的绑定,称为 ctcsound:
https://github.com/fggp/ctcsound/