{"id":21365853,"url":"https://github.com/seanghay/vocal","last_synced_at":"2025-07-13T04:32:10.609Z","repository":{"id":255437009,"uuid":"850256187","full_name":"seanghay/vocal","owner":"seanghay","description":"A vocal source separation","archived":false,"fork":false,"pushed_at":"2025-02-02T09:33:42.000Z","size":15,"stargazers_count":21,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T20:52:31.729Z","etag":null,"topics":["background-remover","source-separation","vocal"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/vocal/","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/seanghay.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":"2024-08-31T09:29:18.000Z","updated_at":"2025-07-09T04:28:44.000Z","dependencies_parsed_at":"2024-08-31T09:48:41.335Z","dependency_job_id":"3cc4a2b0-30e6-4bb4-a8f4-6b16d9dc38fc","html_url":"https://github.com/seanghay/vocal","commit_stats":null,"previous_names":["seanghay/vocal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seanghay/vocal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fvocal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fvocal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fvocal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fvocal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanghay","download_url":"https://codeload.github.com/seanghay/vocal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fvocal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265002945,"owners_count":23696106,"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":["background-remover","source-separation","vocal"],"created_at":"2024-11-22T07:12:42.020Z","updated_at":"2025-07-13T04:32:10.317Z","avatar_url":"https://github.com/seanghay.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vocal\n\nA vocal source separation\n\n\n```\npip install vocal\n```\n\n```python\nimport librosa\nimport soundfile as sf\nfrom vocal import get_model, separate_vocal\n\ndevice = \"cuda\" # or cpu\naudio, sr = librosa.load(\"audio.wav\", sr=44100, mono=False)\nmodel = get_model(device) # download model from HF\naudio_data = separate_vocal(model, audio, device, silent=False)\nsf.write(\"vocal.mp3\", format=\"MP3\", data=audio_data.T, samplerate=sr)\n```\n\n\n## CLI\n\nSinlge file\n\n```shell\nvocali -i audio.mp3 -o output.mp3\n```\n\nFolder\n\n```shell\nvocali -i audio/ -o output --recursive\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanghay%2Fvocal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanghay%2Fvocal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanghay%2Fvocal/lists"}