{"id":27356803,"url":"https://github.com/dupuyjs/locutius","last_synced_at":"2025-07-18T00:08:38.197Z","repository":{"id":48128109,"uuid":"269164249","full_name":"dupuyjs/Locutius","owner":"dupuyjs","description":"Client console tool to capture both microphone and speaker (loopback) on a Windows computer. Used to send the streams to Cognitive Speech Service.","archived":false,"fork":false,"pushed_at":"2022-12-08T10:36:57.000Z","size":27,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T23:29:04.073Z","etag":null,"topics":["audio","cognitive","loopback"],"latest_commit_sha":null,"homepage":"","language":"C#","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/dupuyjs.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}},"created_at":"2020-06-03T18:27:32.000Z","updated_at":"2021-04-16T15:09:12.000Z","dependencies_parsed_at":"2023-01-25T07:15:43.224Z","dependency_job_id":null,"html_url":"https://github.com/dupuyjs/Locutius","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dupuyjs/Locutius","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dupuyjs%2FLocutius","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dupuyjs%2FLocutius/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dupuyjs%2FLocutius/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dupuyjs%2FLocutius/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dupuyjs","download_url":"https://codeload.github.com/dupuyjs/Locutius/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dupuyjs%2FLocutius/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265683444,"owners_count":23810848,"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":["audio","cognitive","loopback"],"created_at":"2025-04-12T23:25:33.009Z","updated_at":"2025-07-18T00:08:38.151Z","avatar_url":"https://github.com/dupuyjs.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Locutius.Capture\n\nClient console tool to capture both microphone and speaker (loopback) on a local computer. \n\n- Convert audio streams to PCM format, 16000 samples per second, 16 bits per sample, 1 channel (mono). \n- Send streams via websockets to the targeted Uri (Piscato.Gateway).\n\n## Build \n\n``` cmd\ndotnet build\n```\nThis application targets .Net Core 3.1.\n\n## Run\n\nJust start Locutius.Capture.exe with at least --uri option:\n\n``` cmd\n-d, --debug    Enable the debug mode (record audio files locally).\n-u, --uri      Required. Uri of the audio gateway.\n--help         Display this help screen.\n--version      Display version information.\n```\nFor instance: \n``` cmd\n.\\Locutius.Capture.exe --uri \"ws://localhost:5000\" --debug\n```\nThe debug mode record audio file before and after the conversion. \n\n- guid-loopback-`raw`.wav : raw is the audio file directly captured (Ieee).\n- guid-loopback-`out`.wav : out is the audio file converted (PCM).\n\n\n# Locutius.Gateway\n\n## Build\n\nFor local development, add `appsettings.Development.json` file to Locutius.Gateway root with the following format.\n\n``` json\n{\n    \"Logging\": {\n      \"LogLevel\": {\n        \"Default\": \"Information\",\n        \"Microsoft\": \"Warning\",\n        \"Microsoft.Hosting.Lifetime\": \"Information\"\n      }\n    },\n    \"Azure.Storage.Container.Audio\": \"audios\",\n    \"Azure.Storage.Container.Transcript\": \"transcripts\",\n    \"Azure.Cognitive.Speech.Key\": \"\u003cYourSpeechKey\u003e\",\n    \"Azure.Cognitive.Speech.Region\": \"westeurope\",\n    \"Azure.Cognitive.Speech.Language\": \"en-US\",\n    \"Azure.Cognitive.Speech.EndpointId\":  \"\",\n    \"Azure.KeyVault.Name\": \"locutius-dev-keyvault\",\n}\n```\n\nOnce deployed, the following environment variables MUST be provided:\n\n- `Azure.Storage.Container.Audio`: Name of the Audio container,\n- `Azure.Storage.Container.Transcript`: Name of the Transcript container,\n- `Azure.Cognitive.Speech.Region`: Region of speech service (for instance 'westeurope').\n- `Azure.Cognitive.Speech.Language`: Targeted language (for instance 'en-US').\n- `Azure.Cognitive.Speech.EndpointId`:  Endpoint ID of a customized speech model.\n- `Azure.KeyVault.Name`: KeyVault name.\n- `Azure.Cognitive.Speech.Key`: Key of speech service. ** Should be placed in KeyVault **","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdupuyjs%2Flocutius","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdupuyjs%2Flocutius","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdupuyjs%2Flocutius/lists"}