# FoxDotChord
[![Documentation](https://custom-icon-badges.demolab.com/badge/Docs-latest-%23b1f889.svg?logo=book&logoColor=%23b1f889)](https://foxdotchord.readthedocs.io)
[![License](https://custom-icon-badges.demolab.com/badge/License-GPLv3-%23b1f889.svg?logo=law&logoColor=%23b1f889)](https://spdx.org/licenses/)
[![Issue Tracker](https://custom-icon-badges.demolab.com/badge/Issue-Tracker-%23b1f889.svg?logo=issue-opened&logoColor=%23b1f889)](https://codeberg.org/taconi/FoxDotChord/issues)
[![Contributing](https://custom-icon-badges.demolab.com/badge/Contributor-Guide-%23b1f889.svg?logo=git-pull-request&logoColor=%23b1f889)](https://foxdotchord.readthedocs.io/contributing)
[![Source Code](https://custom-icon-badges.demolab.com/badge/Source-Code-%23b1f889.svg?logo=codeberg&logoColor=%23b1f889)](https://codeberg.org/taconi/FoxDotChord/)
[![PyPI version](https://img.shields.io/pypi/v/FoxDotChord.svg?logo=pypi&label=PyPI&color=%234e71b2&logoColor=%2389b1f8)](https://pypi.org/project/FoxDotChord/)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/FoxDotChord.svg?logo=python&label=Python&color=%234e71b2&logoColor=%2389b1f8)](https://pypi.python.org/pypi/FoxDotChord/)
[![Downloads](https://img.shields.io/pypi/dm/FoxDotChord?logo=pypi&label=Downloads&color=%234e71b2&logoColor=%2389b1f8)](https://pypistats.org/packages/foxdotchord)
---
Chords to use in [renardo](https://renardo.org) or [FoxDot](https://foxdot.org).
## Installation
Use the package manager you prefer
```sh
pip install FoxDotChord
```
## Examples
```python
from FoxDotChord import PChord as c
c0 = c['C Am7 Dm Em']
t0 >> keys(
c0.every(3, 'bubble'),
dur=PDur(3, 8)
)
b0 >> sawbass(c0, amp=1, pan=[0, 1, -1, 0])
d0 >> play('x-o({-=}[--])')
```
```python
from FoxDotChord import PChord as c
Clock.bpm = 180
d1 >> play('(C(ES)) ')
c1 >> swell(
c['F#6!4 Dm7/9!8 Bm5/7!4'],
dur=PDur(5, 9)*2,
oct=var([4, 5], 16),
amp=1.5,
)
d2 >> play('pn u', amp=2)
```
```python
import FoxDotChord
k1 >> keys(c['Am7', c*('Bm7 E7')], dur=4)
g1 >> bassguitar(c[c*('Am7/2@'), c*(c*('Bm7@'), c*('E7@'))], dur=4)
b1 >> play('(xc)s')
```
```python
import FoxDotChord
Clock.bpm = 90
chords = c[
'B7M D7 G7M Bb7!.7 Eb7M!2.3 Am7!.7 D7!1.3',
'G7M B7 Eb7M F#7!.7 B7M!2.3 Fm7 Bb7!.7',
'Eb7M!2.3 Am7 D7!.7 G7M!2.3 C#m7 F#7!.7',
'B7M!2.3 Fm7 B7M!.7 Eb7M!2.3 C#m7!.7 F#7!1.3',
]
c1 >> play('o-x-')
s1 >> pianovel(chords, dur=chords.dur)
l1 >> sawbass(chords.values.i, dur=chords.dur)
```
## Contribute
See the [Contributor Guide](https://foxdotchord.readthedocs.io/contributing).
Raw data
{
"_id": null,
"home_page": "https://codeberg.org/taconi/FoxDotChord",
"name": "FoxDotChord",
"maintainer": "taconi",
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": "igor.taconi@protonmail.com",
"keywords": "FoxDot, foxdot, renardo, chord, algorave, live-coding, music, patterns",
"author": "taconi",
"author_email": "igor.taconi@protonmail.com",
"download_url": "https://files.pythonhosted.org/packages/b0/ac/ec5bee051acb147be69ff5ef0978b07afcd214b45419f0c0e2e7d65a41c0/foxdotchord-0.0.12b0.tar.gz",
"platform": null,
"description": "# FoxDotChord\n\n[![Documentation](https://custom-icon-badges.demolab.com/badge/Docs-latest-%23b1f889.svg?logo=book&logoColor=%23b1f889)](https://foxdotchord.readthedocs.io)\n[![License](https://custom-icon-badges.demolab.com/badge/License-GPLv3-%23b1f889.svg?logo=law&logoColor=%23b1f889)](https://spdx.org/licenses/)\n[![Issue Tracker](https://custom-icon-badges.demolab.com/badge/Issue-Tracker-%23b1f889.svg?logo=issue-opened&logoColor=%23b1f889)](https://codeberg.org/taconi/FoxDotChord/issues)\n[![Contributing](https://custom-icon-badges.demolab.com/badge/Contributor-Guide-%23b1f889.svg?logo=git-pull-request&logoColor=%23b1f889)](https://foxdotchord.readthedocs.io/contributing)\n[![Source Code](https://custom-icon-badges.demolab.com/badge/Source-Code-%23b1f889.svg?logo=codeberg&logoColor=%23b1f889)](https://codeberg.org/taconi/FoxDotChord/)\n\n[![PyPI version](https://img.shields.io/pypi/v/FoxDotChord.svg?logo=pypi&label=PyPI&color=%234e71b2&logoColor=%2389b1f8)](https://pypi.org/project/FoxDotChord/)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/FoxDotChord.svg?logo=python&label=Python&color=%234e71b2&logoColor=%2389b1f8)](https://pypi.python.org/pypi/FoxDotChord/)\n[![Downloads](https://img.shields.io/pypi/dm/FoxDotChord?logo=pypi&label=Downloads&color=%234e71b2&logoColor=%2389b1f8)](https://pypistats.org/packages/foxdotchord)\n\n---\n\nChords to use in [renardo](https://renardo.org) or [FoxDot](https://foxdot.org).\n\n## Installation\n\nUse the package manager you prefer\n\n```sh\npip install FoxDotChord\n```\n\n## Examples\n\n```python\nfrom FoxDotChord import PChord as c\n\nc0 = c['C Am7 Dm Em']\nt0 >> keys(\n c0.every(3, 'bubble'),\n dur=PDur(3, 8)\n)\n\nb0 >> sawbass(c0, amp=1, pan=[0, 1, -1, 0])\n\nd0 >> play('x-o({-=}[--])')\n```\n\n```python\nfrom FoxDotChord import PChord as c\n\nClock.bpm = 180\n\nd1 >> play('(C(ES)) ')\n\nc1 >> swell(\n c['F#6!4 Dm7/9!8 Bm5/7!4'],\n dur=PDur(5, 9)*2,\n oct=var([4, 5], 16),\n amp=1.5,\n)\n\nd2 >> play('pn u', amp=2)\n```\n\n```python\nimport FoxDotChord\n\nk1 >> keys(c['Am7', c*('Bm7 E7')], dur=4)\ng1 >> bassguitar(c[c*('Am7/2@'), c*(c*('Bm7@'), c*('E7@'))], dur=4)\n\nb1 >> play('(xc)s')\n```\n\n```python\nimport FoxDotChord\n\nClock.bpm = 90\n\nchords = c[\n 'B7M D7 G7M Bb7!.7 Eb7M!2.3 Am7!.7 D7!1.3',\n 'G7M B7 Eb7M F#7!.7 B7M!2.3 Fm7 Bb7!.7',\n 'Eb7M!2.3 Am7 D7!.7 G7M!2.3 C#m7 F#7!.7',\n 'B7M!2.3 Fm7 B7M!.7 Eb7M!2.3 C#m7!.7 F#7!1.3',\n]\nc1 >> play('o-x-')\ns1 >> pianovel(chords, dur=chords.dur)\nl1 >> sawbass(chords.values.i, dur=chords.dur)\n```\n\n## Contribute\n\nSee the [Contributor Guide](https://foxdotchord.readthedocs.io/contributing).\n",
"bugtrack_url": null,
"license": "GPL-3.0-or-later",
"summary": "Chords for use in renardo or FoxDot",
"version": "0.0.12b0",
"project_urls": {
"Changelog": "https://foxdotchord.readthedocs.io/changelog/",
"Contributor Guide": "https://foxdotchord.readthedocs.io/contributing",
"Documentation": "https://foxdotchord.readthedocs.io",
"Homepage": "https://codeberg.org/taconi/FoxDotChord",
"Issues": "https://codeberg.org/taconi/FoxDotChord/issues",
"Repository": "https://codeberg.org/taconi/FoxDotChord"
},
"split_keywords": [
"foxdot",
" foxdot",
" renardo",
" chord",
" algorave",
" live-coding",
" music",
" patterns"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "991a6cb2bff3f405a56f1f3012607552ba80e3ff1d95d0d1bbbdf68730043eb0",
"md5": "78fe95a4aaa7cc5d6892610c77310635",
"sha256": "9d1567e13109e7f794c276e72332c5cca6854f40eeb19133c972b9696f1e2f62"
},
"downloads": -1,
"filename": "foxdotchord-0.0.12b0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "78fe95a4aaa7cc5d6892610c77310635",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 23960,
"upload_time": "2024-11-03T13:58:12",
"upload_time_iso_8601": "2024-11-03T13:58:12.477540Z",
"url": "https://files.pythonhosted.org/packages/99/1a/6cb2bff3f405a56f1f3012607552ba80e3ff1d95d0d1bbbdf68730043eb0/foxdotchord-0.0.12b0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b0acec5bee051acb147be69ff5ef0978b07afcd214b45419f0c0e2e7d65a41c0",
"md5": "c65e52e25d75ecb972d349fdd13ca77f",
"sha256": "365c5af31c6ffb974e1fc6f74dbf3ef5351b6747d56400836459c3b0042ebd11"
},
"downloads": -1,
"filename": "foxdotchord-0.0.12b0.tar.gz",
"has_sig": false,
"md5_digest": "c65e52e25d75ecb972d349fdd13ca77f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 23493,
"upload_time": "2024-11-03T13:58:14",
"upload_time_iso_8601": "2024-11-03T13:58:14.211597Z",
"url": "https://files.pythonhosted.org/packages/b0/ac/ec5bee051acb147be69ff5ef0978b07afcd214b45419f0c0e2e7d65a41c0/foxdotchord-0.0.12b0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-03 13:58:14",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": true,
"codeberg_user": "taconi",
"codeberg_project": "FoxDotChord",
"lcname": "foxdotchord"
}