{"id":20989267,"url":"https://github.com/assemblyai-community/csharp-realtime-demo","last_synced_at":"2026-01-26T21:13:22.978Z","repository":{"id":218581442,"uuid":"746784289","full_name":"AssemblyAI-Community/csharp-realtime-demo","owner":"AssemblyAI-Community","description":"Cross-platform C# demo of how to use AssemblyAI's real-time API with Sox for local microphone transcription.","archived":false,"fork":false,"pushed_at":"2024-08-22T16:04:52.000Z","size":13,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-30T17:48:53.571Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AssemblyAI-Community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-01-22T17:06:33.000Z","updated_at":"2024-10-11T16:06:09.000Z","dependencies_parsed_at":"2024-01-22T22:59:01.491Z","dependency_job_id":null,"html_url":"https://github.com/AssemblyAI-Community/csharp-realtime-demo","commit_stats":null,"previous_names":["assemblyai-examples/csharp-realtime-demo","assemblyai-community/csharp-realtime-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AssemblyAI-Community/csharp-realtime-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI-Community%2Fcsharp-realtime-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI-Community%2Fcsharp-realtime-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI-Community%2Fcsharp-realtime-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI-Community%2Fcsharp-realtime-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AssemblyAI-Community","download_url":"https://codeload.github.com/AssemblyAI-Community/csharp-realtime-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AssemblyAI-Community%2Fcsharp-realtime-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28788330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:02:48.137Z","status":"ssl_error","status_checked_at":"2026-01-26T21:01:13.039Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-19T06:24:18.829Z","updated_at":"2026-01-26T21:13:22.952Z","avatar_url":"https://github.com/AssemblyAI-Community.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AssemblyAI Real-Time C# Demo\n\n## Setting up the Project\n\nThis project is designed to be cross-platform, but does have a few dependencies regardless of which OS you're using. For starters, you'll need to install [SoX](https://sourceforge.net/projects/sox/), the audio processing program we'll use for recording our microphone. \n\n### Installing and Setting Up SoX\nTo install SoX for Windows, navigate to the \"Files\" tab on SourceForge, then select \"sox\" and then the latest version's folder. For Windows, download and run the .exe file to install SoX and enable using it from CMD or PowerShell.\n\nFor Linux and MacOS, install instructions can be found [here](https://pysox.readthedocs.io/en/latest/).\n\nVerify that your installation is working correctly by recording your microphone to file with the command `sox -d out.wav`. This will make a new file `out.wav` in your current directory and write your microphone recording to it. Please note that when using `sox -d`, SoX will use the default audio input device that you've configured in your OS, so verify that this is the one you're expecting.\n\n### Installing and Setting Up .NET\n\nNow you'll need to set up your .NET environment to make sure you can configure and run this project. Instructions for all operating systems are maintained by Microsoft and can be found [here](https://learn.microsoft.com/en-us/dotnet/core/install/).\n\nOnce it's successfully installed, you'll now have access to the .NET Command Line Interface (CLI) which will allow you to build and run this project.\n\n## Running the Project\n\nWith the .NET CLI, navigate to the root folder of this project. Then run `dotnet build` to verify that the build completes successfully and that you've got all necessasry dependencies on your system. No third-party libraries besides SoX are needed for this project, so if your .NET installation went smoothly, you should have all of the .dll files you'll need to use built-in .NET packages.\n\nThen, add your AssemblyAI API key on line 29 to replace the `\"API_KEY_HERE\"` placeholder. Your API key can be found on your [account dashboard](https://www.assemblyai.com/app/account), and if you don't have an account yet, you can sign up [here](https://www.assemblyai.com/dashboard/signup). Please note that you'll need to have an upgraded AssemblyAI account with funds deposited in order to use real-time.\n\nNow you can use `dotnet run` to start the program and start receiving Partial and FinalTranscripts of your microphone's input. We hope this gets you started with using AssemblyAI's real-time API in your C# projects, and please feel free to contact support@assemblyai.com if you have any questions!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassemblyai-community%2Fcsharp-realtime-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassemblyai-community%2Fcsharp-realtime-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassemblyai-community%2Fcsharp-realtime-demo/lists"}