{"id":14483117,"url":"https://github.com/ilesinge/shabda","last_synced_at":"2025-08-30T03:33:11.420Z","repository":{"id":48696698,"uuid":"202210332","full_name":"ilesinge/shabda","owner":"ilesinge","description":"Shabda is a semantic audio samples curator for livecoding software such as Estuary or Tidal Cycles","archived":false,"fork":false,"pushed_at":"2024-03-20T16:35:02.000Z","size":418,"stargazers_count":23,"open_issues_count":4,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-02T12:53:36.387Z","etag":null,"topics":["audio","audio-samples","flask","freesound","livecoding","python","tidalcycles"],"latest_commit_sha":null,"homepage":"https://shabda.ndre.gr/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilesinge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-13T19:23:12.000Z","updated_at":"2025-06-23T22:04:50.000Z","dependencies_parsed_at":"2023-12-02T12:25:57.588Z","dependency_job_id":"0d5ff3f7-a38d-42c5-9215-e4205b0446b3","html_url":"https://github.com/ilesinge/shabda","commit_stats":{"total_commits":138,"total_committers":2,"mean_commits":69.0,"dds":0.007246376811594235,"last_synced_commit":"a20f06e9887433af47ca3fc01aef4d882b9d361b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ilesinge/shabda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilesinge%2Fshabda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilesinge%2Fshabda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilesinge%2Fshabda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilesinge%2Fshabda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilesinge","download_url":"https://codeload.github.com/ilesinge/shabda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilesinge%2Fshabda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272800743,"owners_count":24995138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","audio-samples","flask","freesound","livecoding","python","tidalcycles"],"created_at":"2024-09-03T00:01:31.455Z","updated_at":"2025-08-30T03:33:10.995Z","avatar_url":"https://github.com/ilesinge.png","language":"Python","readme":"Shabda\n======\n\n![Shabda logo](https://raw.githubusercontent.com/ilesinge/shabda/master/assets/logo.png)\n\n\nShabda is a tool to fetch random samples from https://freesound.org/ based on given words or to generate Text-to-Speech samples for use in impro sessions on instruments such as Tidal Cycles, Estuary or Strudel.\n\n[Shabda](https://en.wikipedia.org/wiki/Shabda) is the Sanskrit word for \"speech sound\". In Sanskrit grammar, the term refers to an utterance in the sense of linguistic performance. \n\nInstall\n-------\n\n- Install Python 3: https://www.python.org/\n- Install pip: https://pypi.org/project/pip/\n- Install ffmpeg: https://ffmpeg.org/ (e.g. Debian/Ubuntu: `apt install ffmpeg`)\n- Install Shabda for standard usage: `pip install shabda`\nor\n- Install shabda for hacking:\n    - Install poetry: https://python-poetry.org/docs/#installation\n    - In Shabda repository, install dependencies: `poetry install`\n\nUse (command line)\n------------------\n\nIn order to download a sample pack, execute in the terminal `shabda \u003cdefinition\u003e --licenses \u003clicense_name\u003e`.\n\nAny word can be a pack definition. If you want more than one sample, separate words by a comma: `blue,red`\n\nYou can define how many variations of a sample to assemble by adding a colon and a number.\ne.g. `blue,red:3,yellow:2` will produce one 'blue' sample, three 'red' samples and two 'yellow' sample.\n\nThe optional `--licenses` parameter allows to fetch only samples that have the specified license. Multiple licenses can be allowed by repeating the `--licenses` argument. Possible licenses are `cc0` (Creative Commons Zero), `by` (Creative Commons Attribution), and `by-nc` (Creative Commons Attribution Non-Commercial).\n\nFull example:\n```\nshabda spaghetti:2,monster:4 --licenses cc0 --licenses by\n```\n\nThe first time you execute this command, it will ask you for a Freesound token, that you will be redirected to. You will need a Freesound account.\n\nBy default, samples will be downloaded in a `samples` directory under the current working directory. You can override this by adding a `config.ini` file to the `$HOME/.shabda/` directory, containing:\n\n```ini\n[shabda]\n\nsamples_path=/path/to/your/desired/samples/directory/\n```\n\nUse (web application)\n---------------------\n\nLaunch the web application:\n\nIn debug mode:\n```\nFLASK_APP=shabda FLASK_DEBUG=1 flask run\n```\nIn production:\n```\ngunicorn --workers=4 \"shabda:create_app()\" -b localhost:8000\n```\n\nTest\n----\n\n```\npoetry run pytest\n```\n\nNotes\n-----\n\nWith Estuary, Shabda makes use of this feature: https://github.com/dktr0/estuary/wiki#adding-sound-files-to-estuarywebdirt-on-the-fly\n\nAll command line examples must be preceded by `poetry run` if in hacking/development mode.\n\nRoadmap\n-----\n\nSee: https://github.com/users/ilesinge/projects/4\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filesinge%2Fshabda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filesinge%2Fshabda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filesinge%2Fshabda/lists"}