Reputation:
Is it possible to use Csound from inside python for live-electronic music tasks? Can anyone give a hint of how can this be done if possible?
Upvotes: 4
Views: 2755
Reputation: 166
Csound has an API with Python bindings available for facilitating writing music and music applications with Python. Some tutorial examples for using Csound within Python are available in the csoundAPIExamples project here:
https://github.com/csound/csoundAPI_examples/tree/master/python
Besides csnd6, which comes with most installations of Csound or is available within package repos on Linux, is a newer ctypes-based binding called ctcsound:
https://github.com/fggp/ctcsound/
Upvotes: 5