{"id":37240191,"url":"https://github.com/intxcc/pyaudio_portaudio","last_synced_at":"2026-01-22T11:01:33.015Z","repository":{"id":54566471,"uuid":"56107875","full_name":"intxcc/pyaudio_portaudio","owner":"intxcc","description":"A fork to record speaker output with python. PyAudio with PortAudio for Windows | Extended | Loopback | WASAPI | Latest precompiled Version","archived":false,"fork":false,"pushed_at":"2024-01-21T19:43:54.000Z","size":3337,"stargazers_count":256,"open_issues_count":22,"forks_count":64,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-11-18T12:11:57.979Z","etag":null,"topics":[],"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/intxcc.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":"2016-04-13T00:28:36.000Z","updated_at":"2025-10-27T08:35:33.000Z","dependencies_parsed_at":"2022-08-13T20:00:28.747Z","dependency_job_id":null,"html_url":"https://github.com/intxcc/pyaudio_portaudio","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/intxcc/pyaudio_portaudio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intxcc%2Fpyaudio_portaudio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intxcc%2Fpyaudio_portaudio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intxcc%2Fpyaudio_portaudio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intxcc%2Fpyaudio_portaudio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intxcc","download_url":"https://codeload.github.com/intxcc/pyaudio_portaudio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intxcc%2Fpyaudio_portaudio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28661882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":[],"created_at":"2026-01-15T07:00:29.134Z","updated_at":"2026-01-22T11:01:32.990Z","avatar_url":"https://github.com/intxcc.png","language":"C","funding_links":[],"categories":["📚 فهرست"],"sub_categories":["کار با فایل های صوتی"],"readme":"# _Precompiled \u0026 Extended_ | PyAudio with PortAudio for Windows\n\n#### _Used versions_: \u003cbr\u003e\u0026middot; PyAudio 0.2.11 | co 7090e25bcba41413bd7ce89aa73bc0efb1ae1ca1\u003cbr\u003e\u0026middot; PortAudio V19 | co 1bdcb9e41357ec76d8cf73f9ef278202a3ea1e3b\n\n#### Extensions:\u003cbr\u003e\u0026middot; Support of Windows sound loopback: Record the output of your soundcard\n\n---\nThis project is a fork of two open source projects. If you'd like, give them some love:\n- http://www.portaudio.com/\n- https://people.csail.mit.edu/hubert/pyaudio/\n\n---\n\n# Usage\n\nSee the [example](https://github.com/intxcc/pyaudio_portaudio/tree/master/example).\n\nExactly like the official PyAudio but with the extra option \"as_loopback\" which expects a boolean.\n```python\nimport pyaudio\np = pyaudio.PyAudio()\nstream = p.open([...], as_loopback = True)\n```\n\n# How to install?\n\n### You can find the precompiled PyAudio build, static linked with PortAudio, as well as only the static linked PortAudio in the [release](https://github.com/intxcc/pyaudio_portaudio/releases).\n\nI will try to rebuild the project on each update from one of the used projects.\n\n# How to build?\n\n## Cygwin\n\nYou will need a working cygwin installation with basic developer tools and python.\n\n#### Step 0\nYou might have to change all files to use LF line endings with\n```bash\nfind . -type f -exec sed -i 's/\\x0d//g' {} \\+\n```\n\n#### Step 1\nChange to */pyaudio/portaudio-v19* and type\n```bash\n./configure --with-winapi=wasapi --enable-static=yes --enable-shared=no\nmake loopback\n```\n\nTo rebuild type\n```bash\nmake clean\nmake loopback\n```\n\n#### Step 2\nChange to /pyaudio and type\n```bash\npython setup.py install --static-link\n```\n\n## Microsoft Visual Studio (2017)\n\nYou will need to include the python executable in PATH.\n\n#### Step 1\n\n- Open the portaudio project located in *pyaudio\\portaudio-v19\\build\\msvc\\portaudio.sln*.\n\n- Open the project configuration and make sure that the configuration type is set to static library.\n\n- Select the build type __Release__ and __x64__. Then build the project.\n\n- Make sure the build was succesful and the file *pyaudio\\portaudio-v19\\build\\msvc\\x64\\Release\\portaudio.lib* does exist.\n\n#### Step 2\n\nOpen the PowerShell __as administrator__ and change the directory. Then you can build and install pyaudio with portaudio:\n\n```\ncd \u003cLocation of the repository\u003e\\pyaudio_portaudio\\pyaudio\npython.exe .\\setup.py install --static-link\n```\n\n## Microsoft Visual Studio (2017) - 32 bit\n\n### For 32-bit support see instructions above and this issue: https://github.com/intxcc/pyaudio_portaudio/issues/8.\n\n### The code from that issue is merged now, but as I do not have a 32-bit version I can't verify it. Comment in the issue for further help.\n\n# Help!!\nIf you get errors, let me know. Thank you \u0026hearts;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintxcc%2Fpyaudio_portaudio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintxcc%2Fpyaudio_portaudio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintxcc%2Fpyaudio_portaudio/lists"}