{"id":24528175,"url":"https://github.com/deric-w/nplayer","last_synced_at":"2025-03-15T16:44:01.574Z","repository":{"id":111294822,"uuid":"177422725","full_name":"Deric-W/nplayer","owner":"Deric-W","description":"Python script wich plays notes stored in a json file with mpg123","archived":false,"fork":false,"pushed_at":"2019-05-03T23:36:44.000Z","size":33257,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T06:37:51.047Z","etag":null,"topics":["music","python3","sound"],"latest_commit_sha":null,"homepage":null,"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/Deric-W.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-03-24T14:02:55.000Z","updated_at":"2019-05-04T15:20:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1493f8a-57e1-4450-ba59-c9b1e77b41fa","html_url":"https://github.com/Deric-W/nplayer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deric-W%2Fnplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deric-W%2Fnplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deric-W%2Fnplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deric-W%2Fnplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Deric-W","download_url":"https://codeload.github.com/Deric-W/nplayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243762238,"owners_count":20343976,"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","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":["music","python3","sound"],"created_at":"2025-01-22T06:34:06.676Z","updated_at":"2025-03-15T16:44:01.567Z","avatar_url":"https://github.com/Deric-W.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nplayer\nPython script wich plays notes stored in a json file with mpg123.\n\n## How it works:\n - the script is called with the file to play\n - additional parameters: -d = debug mode, -p playerpath = set custom path to mpg123.\n - the file is encoded in json and contains a header with the base (seconds/tact), tact (dezimal tact, like 4/4 = 1) and includes (list of packs wich will be used).\n - the file also contains a notes section with the values sounds (list of files to play together from pack), types (list of note types like 1/4 = 4, 1/8 = 8), packs (list of packs of the sounds) and wait (if True, wait for notes to finish).\n  - Note: each value in sounds needs a value with the same index in types and packs.\n \n## Packs:\n - a Pack is a directory in `\u003cdirectory with nplayer.py\u003e/packs/` with sounds and a pack.json\n - the pack.json contains the samplerate and the file extension of the files in the directory.\n - for examples take a look in \"packs\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderic-w%2Fnplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderic-w%2Fnplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderic-w%2Fnplayer/lists"}