pychuck


Namepychuck JSON
Version 1.0.1 PyPI version JSON
download
home_page
SummaryPython implementation of music programming language Chuck
upload_time2023-05-24 22:05:10
maintainer
docs_urlNone
author
requires_python>=3.7
licenseCopyright (c) 2018 The Python Packaging Authority Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords chuck music programming sound synthesis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyChucK

### Installation

```bash
pip install pychuck
```

### Quickstart

```python
# demo.py
from pychuck import *


# custom unit
class Noise(UGen):
    # generator
    def _tick(self, samples: int) -> np.ndarray:
        return np.random.uniform(-1, 1, samples)


# unit
n = Noise(gain=0.5)

# graph
n >> dac

# main loop
while True:
    # parameter
    n.gain = np.random.uniform(0, 1)
    # time
    200 * ms >> now
```

```bash
# pychuck --help
pychuck demo.py
```

        
        
       

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pychuck",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Yikai Li <yikaili@stanford.edu>",
    "keywords": "chuck,music,programming,sound,synthesis",
    "author": "",
    "author_email": "Yikai Li <yikaili@stanford.edu>",
    "download_url": "https://files.pythonhosted.org/packages/8a/b8/5e171db68a381f1467c9a9d18dd8c9158c97a57403039b82619072490475/pychuck-1.0.1.tar.gz",
    "platform": null,
    "description": "# PyChucK\n\n### Installation\n\n```bash\npip install pychuck\n```\n\n### Quickstart\n\n```python\n# demo.py\nfrom pychuck import *\n\n\n# custom unit\nclass Noise(UGen):\n    # generator\n    def _tick(self, samples: int) -> np.ndarray:\n        return np.random.uniform(-1, 1, samples)\n\n\n# unit\nn = Noise(gain=0.5)\n\n# graph\nn >> dac\n\n# main loop\nwhile True:\n    # parameter\n    n.gain = np.random.uniform(0, 1)\n    # time\n    200 * ms >> now\n```\n\n```bash\n# pychuck --help\npychuck demo.py\n```\n\n        \n        \n       \n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2018 The Python Packaging Authority  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Python implementation of music programming language Chuck",
    "version": "1.0.1",
    "project_urls": {
        "documentation": "https://pychuck.readthedocs.io/en/latest/",
        "repository": "https://github.com/42x00/pychuck.git"
    },
    "split_keywords": [
        "chuck",
        "music",
        "programming",
        "sound",
        "synthesis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0eb9f468499a2d2b4ff1509ce4e37d32aaabfa9a4217860474a9c82c615b48fb",
                "md5": "0f23f8a2108d001124398d6a8edc6afa",
                "sha256": "f0a1a5cef8bc10056c36bdcdb7868c6defcf88cf520136fe985b1f64fe379983"
            },
            "downloads": -1,
            "filename": "pychuck-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0f23f8a2108d001124398d6a8edc6afa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 17171,
            "upload_time": "2023-05-24T22:05:07",
            "upload_time_iso_8601": "2023-05-24T22:05:07.906864Z",
            "url": "https://files.pythonhosted.org/packages/0e/b9/f468499a2d2b4ff1509ce4e37d32aaabfa9a4217860474a9c82c615b48fb/pychuck-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8ab85e171db68a381f1467c9a9d18dd8c9158c97a57403039b82619072490475",
                "md5": "a5c71ac79e033a3523977abaddf1188f",
                "sha256": "8c13ba4e93f89f943c302e3701c4a6e56396a1eba30c554aa2f334bf1ca5d435"
            },
            "downloads": -1,
            "filename": "pychuck-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "a5c71ac79e033a3523977abaddf1188f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 14214,
            "upload_time": "2023-05-24T22:05:10",
            "upload_time_iso_8601": "2023-05-24T22:05:10.496235Z",
            "url": "https://files.pythonhosted.org/packages/8a/b8/5e171db68a381f1467c9a9d18dd8c9158c97a57403039b82619072490475/pychuck-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-24 22:05:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "42x00",
    "github_project": "pychuck",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pychuck"
}
        
Elapsed time: 0.22877s