René's URL Explorer Experiment


Title: GH-60729: Add IEEE format wave audio support take two by mbeijen · Pull Request #145931 · python/cpython · GitHub

Open Graph Title: GH-60729: Add IEEE format wave audio support take two by mbeijen · Pull Request #145931 · python/cpython

X Title: GH-60729: Add IEEE format wave audio support take two by mbeijen · Pull Request #145931 · python/cpython

Description: This is an updated version of #102574, the original PR where @lkoenig added support for IEEE Wave Audio. As requested by @encukou I've Renamed the new 'getencoding/setencoding' to 'getformat/setformat' - format is the term used in the specifications Added format to getparams Added FACT chunk to written non-PCM wave files, which is required by the spec (and is what Audacity does) Added documentation! Closes: #102574 This is the new version of #145384 which got merged today AND reverted, because it failed on big-endian. Looking back I changed the test so it has the same structure as all other tests in test_wave.py and I ran it on an s390 docker image and tests are passing now for me. I was surprised there were no big endian tests on PRs only on main!! I'm sorry for the churn this caused. 📚 Documentation preview 📚: https://cpython-previews--145931.org.readthedocs.build/ Issue: gh-60729

Open Graph Description: This is an updated version of #102574, the original PR where @lkoenig added support for IEEE Wave Audio. As requested by @encukou I've Renamed the new 'getencoding/setencoding' to '...

X Description: This is an updated version of #102574, the original PR where @lkoenig added support for IEEE Wave Audio. As requested by @encukou I've Renamed the new 'getencoding/setencoding&...

Opengraph URL: https://github.com/python/cpython/pull/145931

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4e7f2fed-451f-ba3c-6aa6-ec7b9abe24aa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCBAA:169ABA:F771:13A8A:6AECC8D6
html-safe-nonce81b8fccc6f2e972aaff97da79b75ef211d41ee28f3a293be2d2c58b05ae24a32
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkFBOjE2OUFCQTpGNzcxOjEzQThBOjZBRUNDOEQ2IiwidmlzaXRvcl9pZCI6IjgwOTc1ODA1NjI1NTA0MDk0MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac656c75ed307816395f3be4df5fc35a5c531e3d0939c6ad826c85ff601dd55ca6
hovercard-subject-tagpull_request:3397146887
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/145931/files
twitter:imagehttps://avatars.githubusercontent.com/u/659504?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/659504?s=400&v=4
og:image:altThis is an updated version of #102574, the original PR where @lkoenig added support for IEEE Wave Audio. As requested by @encukou I've Renamed the new 'getencoding/setencoding' to '...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonedc0b519c5798dc1150b88dc4c06a8b9634d0069218dc04e469970e76aad74016
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedb139f0bf57b59bf9a8c4abb0849924d6c6ca559
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/145931/changes#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145931%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145931%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/145931/changes
Reloadhttps://github.com/python/cpython/pull/145931/changes
Reloadhttps://github.com/python/cpython/pull/145931/changes
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.3k (2.3k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
mbeijen:GH-60729-add-ieee-wave-audio-support-take-2https://github.com/mbeijen/cpython/tree/GH-60729-add-ieee-wave-audio-support-take-2
Conversation 3 https://github.com/python/cpython/pull/145931
Commits 14 https://github.com/python/cpython/pull/145931/commits
Checks 45 https://github.com/python/cpython/pull/145931/checks
Files changed https://github.com/python/cpython/pull/145931/files
Please reload this pagehttps://github.com/python/cpython/pull/145931/changes
GH-60729: Add IEEE format wave audio support take two https://github.com/python/cpython/pull/145931/changes#top
Show all changes 14 commits https://github.com/python/cpython/pull/145931/files
bb8e258 Add support for floating point wave files. lkoenig Mar 10, 2023 https://github.com/python/cpython/pull/145931/commits/bb8e258b54456757a688cd051c518cff8bfc502d
164e89e wave: rename encoding API to format mbeijen Feb 28, 2026 https://github.com/python/cpython/pull/145931/commits/164e89efd7a0174a969daf9a175375cf8100366c
33fc496 wave: write FACT chunk for IEEE float mbeijen Feb 28, 2026 https://github.com/python/cpython/pull/145931/commits/33fc49603ee5daeafb5d81d0c193d717a3a69266
58339ae wave: add format to getparams mbeijen Feb 28, 2026 https://github.com/python/cpython/pull/145931/commits/58339aec5293b7068ce281e67db45ac31a1a1318
4ce4379 wave: add documentation on IEEE support, format API mbeijen Mar 1, 2026 https://github.com/python/cpython/pull/145931/commits/4ce437916bd15f72297fc0e60bf7059df5c01541
b5569a9 wave: add documentation for undocumented methods mbeijen Mar 1, 2026 https://github.com/python/cpython/pull/145931/commits/b5569a9e8085ffeddaf9a54dd0d29794ef65fa72
fd1d972 Update Misc/NEWS.d/next/Library/2023-03-10-13-10-06.gh-issue-60729.KC… mbeijen Mar 1, 2026 https://github.com/python/cpython/pull/145931/commits/fd1d972bc63f1de4839c391217f31b7931f11fa3
d65a428 versionchanged mbeijen Mar 3, 2026 https://github.com/python/cpython/pull/145931/commits/d65a42834398f115fdf035ca48bfbd026dee4a6f
3c1275e wave: restore getparams() backward compatibility mbeijen Mar 3, 2026 https://github.com/python/cpython/pull/145931/commits/3c1275eb0071c2542bf40b765516e635467e8b3d
6f86098 wave: export WAVE_FORMAT constants mbeijen Mar 3, 2026 https://github.com/python/cpython/pull/145931/commits/6f86098400ff02960a719b9389709934c9104c8d
7663237 wave docs: add format constants as data mbeijen Mar 3, 2026 https://github.com/python/cpython/pull/145931/commits/7663237b70c7f9215e826603d40268be95dad1d8
5de8957 wave: sampwidth for IEEE Float must be 4 or 8 mbeijen Mar 7, 2026 https://github.com/python/cpython/pull/145931/commits/5de89578f8cac9e3eff9f9a111d3491904af3f1b
6247ace test_wave: fix IEEE float test data for big-endian systems mbeijen Mar 13, 2026 https://github.com/python/cpython/pull/145931/commits/6247ace5a36f019e1c66f3b1147e1a27e3f256a8
27c0ddb Merge branch 'main' into GH-60729-add-ieee-wave-audio-support-take-2 encukou Mar 18, 2026 https://github.com/python/cpython/pull/145931/commits/27c0ddb2a45b45f5409f82ffb2d131e1c5da77e3
Clear filters https://github.com/python/cpython/pull/145931/files
Please reload this pagehttps://github.com/python/cpython/pull/145931/changes
Please reload this pagehttps://github.com/python/cpython/pull/145931/changes
wave.rst https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
3.15.rst https://github.com/python/cpython/pull/145931/changes#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
pluck-float32.wav https://github.com/python/cpython/pull/145931/changes#diff-596afe018bc1bc1e78eed565002ca8ba80128f4baabcdda57f147bbcb5ffc39f
audiotests.py https://github.com/python/cpython/pull/145931/changes#diff-6ca8a1f052ef01277d40f82113f5e77f6dcdb5bb2565d26cfa5a5559fcd06c39
test_wave.py https://github.com/python/cpython/pull/145931/changes#diff-a199f1748809afe147b8e298adaef9a1af3bcf7c519b64823b573a47c4e55bbe
wave.py https://github.com/python/cpython/pull/145931/changes#diff-8e67a696f050c6abebc661b71a215e2c2bb8d0bb2f27ee2ba25adecc8b1b094c
2023-03-10-13-10-06.gh-issue-60729.KCCHTe.rst https://github.com/python/cpython/pull/145931/changes#diff-2fd82d18861958b11c8010261099e312f27feb0a27cd9dd874f8be3ab8700b18
Doc/library/wave.rsthttps://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
View file https://github.com/mbeijen/cpython/blob/27c0ddb2a45b45f5409f82ffb2d131e1c5da77e3/Doc/library/wave.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/145931/{{ revealButtonHref }}
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/pull/145931/changes#diff-fc459f8732c78b5086d83c7c9a4d2eaa32b777c865091302f96ccd0a91520cc2
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.15.rsthttps://github.com/python/cpython/pull/145931/changes#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
View file https://github.com/mbeijen/cpython/blob/27c0ddb2a45b45f5409f82ffb2d131e1c5da77e3/Doc/whatsnew/3.15.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/145931/{{ revealButtonHref }}
https://github.com/python/cpython/pull/145931/changes#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
https://github.com/python/cpython/pull/145931/changes#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
Lib/test/audiodata/pluck-float32.wavhttps://github.com/python/cpython/pull/145931/changes#diff-596afe018bc1bc1e78eed565002ca8ba80128f4baabcdda57f147bbcb5ffc39f
View file https://github.com/mbeijen/cpython/blob/27c0ddb2a45b45f5409f82ffb2d131e1c5da77e3/Lib/test/audiodata/pluck-float32.wav
Open in desktop https://desktop.github.com
Lib/test/audiotests.pyhttps://github.com/python/cpython/pull/145931/changes#diff-6ca8a1f052ef01277d40f82113f5e77f6dcdb5bb2565d26cfa5a5559fcd06c39
View file https://github.com/mbeijen/cpython/blob/27c0ddb2a45b45f5409f82ffb2d131e1c5da77e3/Lib/test/audiotests.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/145931/{{ revealButtonHref }}
https://github.com/python/cpython/pull/145931/changes#diff-6ca8a1f052ef01277d40f82113f5e77f6dcdb5bb2565d26cfa5a5559fcd06c39
https://github.com/python/cpython/pull/145931/changes#diff-6ca8a1f052ef01277d40f82113f5e77f6dcdb5bb2565d26cfa5a5559fcd06c39
https://github.com/python/cpython/pull/145931/changes#diff-6ca8a1f052ef01277d40f82113f5e77f6dcdb5bb2565d26cfa5a5559fcd06c39
https://github.com/python/cpython/pull/145931/changes#diff-6ca8a1f052ef01277d40f82113f5e77f6dcdb5bb2565d26cfa5a5559fcd06c39
https://github.com/python/cpython/pull/145931/changes#diff-6ca8a1f052ef01277d40f82113f5e77f6dcdb5bb2565d26cfa5a5559fcd06c39
https://github.com/python/cpython/pull/145931/changes#diff-6ca8a1f052ef01277d40f82113f5e77f6dcdb5bb2565d26cfa5a5559fcd06c39
https://github.com/python/cpython/pull/145931/changes#diff-6ca8a1f052ef01277d40f82113f5e77f6dcdb5bb2565d26cfa5a5559fcd06c39
https://github.com/python/cpython/pull/145931/changes#diff-6ca8a1f052ef01277d40f82113f5e77f6dcdb5bb2565d26cfa5a5559fcd06c39
Please reload this pagehttps://github.com/python/cpython/pull/145931/changes
Please reload this pagehttps://github.com/python/cpython/pull/145931/changes
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.