https://github.com/csound/ctcsound
Python Bindings for Csound using ctypes. Can be used from python2.x and python3.x as well.
https://github.com/csound/ctcsound
Last synced: 7 months ago
JSON representation
Python Bindings for Csound using ctypes. Can be used from python2.x and python3.x as well.
- Host: GitHub
- URL: https://github.com/csound/ctcsound
- Owner: csound
- License: lgpl-2.1
- Created: 2016-01-30T11:07:41.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-31T06:40:00.000Z (over 2 years ago)
- Last Synced: 2025-03-21T13:23:19.387Z (8 months ago)
- Language: Jupyter Notebook
- Size: 1.87 MB
- Stars: 71
- Watchers: 8
- Forks: 11
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-python-audio - ctcsound
README
## ctcsound
Python bindings for Csound using ctypes. Can be used from python2.x and python3.x as well.
The *ctcsound.py* file is in the [Csound sources repository](https://github.com/csound/csound/blob/master/interfaces/ctcsound.py).
This means that each release of Csound has its own version of *ctcsound.py* tied with the API functions present in the version of the libcsound library generated for that release. You should always use the *ctcsound* module shipped with the release of Csound you're using to avoid binding errors with libcsound.
Copy the *ctcsound.py* file of your Csound release into the site-packages folder of your Python, or anywhere else it can be found. For example, if you use the anconda3 distribution on osx, copy the *ctcsound.py* in */Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Python/Current* to *anaconda3/lib/python3.X/site-packages*
A comprehensive documentation for *ctcsound* can be found [here](https://csound.com/docs/ctcsound/)
Dependency: numpy, Csound 6.07 or higher.