# 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/33/ea/4b9e342c9113859ed456ae2a423fe4a7b8dc60509f78d227c6c5c030c259/foxdotchord-0.0.12b1.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.12b1",
"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": "adbf6901e18adbae5c123749ddfa01a820b45bf94e0732919977990d27dbb955",
"md5": "15cbcf44935b019444f448f112069a17",
"sha256": "da8dae919a477da69110839707529b3f6782b3e2163fc72bfced775b2e5c7977"
},
"downloads": -1,
"filename": "foxdotchord-0.0.12b1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "15cbcf44935b019444f448f112069a17",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 26853,
"upload_time": "2025-01-14T03:49:25",
"upload_time_iso_8601": "2025-01-14T03:49:25.186743Z",
"url": "https://files.pythonhosted.org/packages/ad/bf/6901e18adbae5c123749ddfa01a820b45bf94e0732919977990d27dbb955/foxdotchord-0.0.12b1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "33ea4b9e342c9113859ed456ae2a423fe4a7b8dc60509f78d227c6c5c030c259",
"md5": "6e7d9607f1352b92e96ab4cef0a8dfdd",
"sha256": "344c4c9b8f33c43e4370c4bc454b3f28b2660be13b2c7630907f4a776add670c"
},
"downloads": -1,
"filename": "foxdotchord-0.0.12b1.tar.gz",
"has_sig": false,
"md5_digest": "6e7d9607f1352b92e96ab4cef0a8dfdd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 26260,
"upload_time": "2025-01-14T03:49:27",
"upload_time_iso_8601": "2025-01-14T03:49:27.742396Z",
"url": "https://files.pythonhosted.org/packages/33/ea/4b9e342c9113859ed456ae2a423fe4a7b8dc60509f78d227c6c5c030c259/foxdotchord-0.0.12b1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-14 03:49:27",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": true,
"codeberg_user": "taconi",
"codeberg_project": "FoxDotChord",
"lcname": "foxdotchord"
}