René's URL Explorer Experiment


Title: Add MIDI input by v10101a · Pull Request #281 · processing/libprocessing · GitHub

Open Graph Title: Add MIDI input by v10101a · Pull Request #281 · processing/libprocessing

X Title: Add MIDI input by v10101a · Pull Request #281 · processing/libprocessing

Description: currently libprocessing could only send MIDI, though #74 describes sending and receiving. This PR exposes nannou_midi's existing input in libprocessing, following existing MIDI output code in processing_midi add MIDI input to processing_midi: midi_list_input_ports(), midi_connect_input(), midi_disconnect_input(), midi_read() add same functions to python. midi_read() returns MidiMessage objects with kind, channel, note/velocity, control/value. midi_connect_input() takes a port number or part of a name (e.g. "IAC") and returns the port it connected to add midi-related error messages Fix: MIDI out on macOS MIDI output was sent with timestamp 0. Simpler listeners that ignore timestamps still receive them, but notes don't show up in Ableton or Web MIDI visualizer when i tested on MacOS. This also affects the existing midi example. I enabled midir's coremidi_send_timestamped feature (macOS only) in processing_midi/Cargo.toml, so each message is stamped with the current time. nannou_midi uses the same midir, so this applies to all MIDI output, in Rust and Python. Example Merged MIDI in and out into the existing midi example (examples/midi.rs and crates/processing_pyo3/examples/midi.py): MIDI OUT: click to play a note, shown as a colorful ripple MIDI IN: incoming notes show up as colorful bars, a control change (CC) brightens color of the bar the connected port names are shown on screen and printed to the console I tested on macOS only: IAC loopback, Ableton, a Web MIDI visualizer, and unit tests. Disclosure: used claude to help with coding

Open Graph Description: currently libprocessing could only send MIDI, though #74 describes sending and receiving. This PR exposes nannou_midi's existing input in libprocessing, following existing MIDI output code in p...

X Description: currently libprocessing could only send MIDI, though #74 describes sending and receiving. This PR exposes nannou_midi's existing input in libprocessing, following existing MIDI output code ...

Opengraph URL: https://github.com/processing/libprocessing/pull/281

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:12e1e800-b2e6-7c80-5a73-95f098adea2d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE0C:93BED:35F136:488610:6B061A4B
html-safe-nonce32e7c9f9283ff0c3f430ddc5995d24b383dabb3a42dc407a9432d2c8e55f2afe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTBDOjkzQkVEOjM1RjEzNjo0ODg2MTA6NkIwNjFBNEIiLCJ2aXNpdG9yX2lkIjoiNTA3MjkyNTMxOTgwNDM2MTI5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf81fb19f5df3ce8213034dd0a166a3bbebeddf1e6964bd9d5c80581a665dde54
hovercard-subject-tagpull_request:5366702859
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/processing/libprocessing/pull/281/files
twitter:imagehttps://avatars.githubusercontent.com/u/65051338?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/65051338?s=400&v=4
og:image:altcurrently libprocessing could only send MIDI, though #74 describes sending and receiving. This PR exposes nannou_midi's existing input in libprocessing, following existing MIDI output code in p...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/processing/libprocessing git https://github.com/processing/libprocessing.git
octolytics-dimension-user_id1617169
octolytics-dimension-user_loginprocessing
octolytics-dimension-repository_id1101329545
octolytics-dimension-repository_nwoprocessing/libprocessing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1101329545
octolytics-dimension-repository_network_root_nwoprocessing/libprocessing
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
release866f202ebf7ac5aff8f633417d9fd8a53818a977
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/processing/libprocessing/pull/281/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Flibprocessing%2Fpull%2F281%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%2Fprocessing%2Flibprocessing%2Fpull%2F281%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=processing%2Flibprocessing
Reloadhttps://github.com/processing/libprocessing/pull/281/files
Reloadhttps://github.com/processing/libprocessing/pull/281/files
Reloadhttps://github.com/processing/libprocessing/pull/281/files
processinghttps://github.com/processing
libprocessinghttps://github.com/processing/libprocessing
Codehttps://github.com/processing/libprocessing
Issues67 (67)https://github.com/processing/libprocessing/issues
Pull requests10 (10)https://github.com/processing/libprocessing/pulls
Actionshttps://github.com/processing/libprocessing/actions
Projectshttps://github.com/processing/libprocessing/projects
Wikihttps://github.com/processing/libprocessing/wiki
Security and qualityhttps://github.com/processing/libprocessing/security
Insightshttps://github.com/processing/libprocessing/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fprocessing%2Flibprocessing%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fprocessing%2Flibprocessing%2Fissues%2Fnew%2Fchoose
catilachttps://github.com/catilac
processing:mainhttps://github.com/processing/libprocessing/tree/main
v10101a:midi-inputhttps://github.com/v10101a/libprocessing/tree/midi-input
Conversation 4 https://github.com/processing/libprocessing/pull/281
Commits 4 https://github.com/processing/libprocessing/pull/281/commits
Checks 5 https://github.com/processing/libprocessing/pull/281/checks
Files changed https://github.com/processing/libprocessing/pull/281/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/281/files
Add MIDI input https://github.com/processing/libprocessing/pull/281/files#top
Show all changes 4 commits https://github.com/processing/libprocessing/pull/281/files
306a5aa Add MIDI input v10101a Nov 17, 2026 https://github.com/processing/libprocessing/pull/281/commits/306a5aae518e0e47be96058b6b3d0d1935b9b6c0
826eb9f merge midi examples v10101a Nov 18, 2026 https://github.com/processing/libprocessing/pull/281/commits/826eb9fb2848a6d1ef37245ee07ba6721462ae1a
1ef8d9f combine & fix midi examples v10101a Nov 18, 2026 https://github.com/processing/libprocessing/pull/281/commits/1ef8d9f5b42034a126365c5cc61197f7d7c8fe03
a084314 Merge branch 'main' into midi-input v10101a Nov 18, 2026 https://github.com/processing/libprocessing/pull/281/commits/a0843144e6fd6e785cda24f5012701088de26470
Clear filters https://github.com/processing/libprocessing/pull/281/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/281/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/281/files
Cargo.lock https://github.com/processing/libprocessing/pull/281/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
error.rs https://github.com/processing/libprocessing/pull/281/files#diff-c6f0389a4e3666a6acb809897c576174422674fadb3ac68cf8181a2d7baa3814
Cargo.toml https://github.com/processing/libprocessing/pull/281/files#diff-008144528719b065f9706ed542b984ebfa4853fabb2372b130a55e23a51f143d
lib.rs https://github.com/processing/libprocessing/pull/281/files#diff-fa542c855b950c888a2385cce9c493132291de4e197454364272e74ff19d9389
midi.py https://github.com/processing/libprocessing/pull/281/files#diff-a4c3a89a6d618a5d316cb090948fb7d34fe0c172ff379e3ee244de07a515c780
lib.rs https://github.com/processing/libprocessing/pull/281/files#diff-1ec2585043fa3ad733b06c34ed1af0c9938bdca17c75f4066e5e8fadecfc540c
midi.rs https://github.com/processing/libprocessing/pull/281/files#diff-aec44934d015e49eda98e791608725011c7973fcae6a104a110f415f90141fb8
midi.rs https://github.com/processing/libprocessing/pull/281/files#diff-541eb675ed12f3138d7225469b1bffccc2be04953047ccad3bbbe1c31b3e5b9d
prelude.rs https://github.com/processing/libprocessing/pull/281/files#diff-05e1614c39d33d488c78926e4ee99be1242d1e153ec41e92b7c8ba50c1786f6d
Cargo.lockhttps://github.com/processing/libprocessing/pull/281/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
View file https://github.com/v10101a/libprocessing/blob/a0843144e6fd6e785cda24f5012701088de26470/Cargo.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/processing/libprocessing/pull/281/files
crates/processing_core/src/error.rshttps://github.com/processing/libprocessing/pull/281/files#diff-c6f0389a4e3666a6acb809897c576174422674fadb3ac68cf8181a2d7baa3814
View file https://github.com/v10101a/libprocessing/blob/a0843144e6fd6e785cda24f5012701088de26470/crates/processing_core/src/error.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/281/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/281/files#diff-c6f0389a4e3666a6acb809897c576174422674fadb3ac68cf8181a2d7baa3814
https://github.com/processing/libprocessing/pull/281/files#diff-c6f0389a4e3666a6acb809897c576174422674fadb3ac68cf8181a2d7baa3814
crates/processing_midi/Cargo.tomlhttps://github.com/processing/libprocessing/pull/281/files#diff-008144528719b065f9706ed542b984ebfa4853fabb2372b130a55e23a51f143d
View file https://github.com/v10101a/libprocessing/blob/a0843144e6fd6e785cda24f5012701088de26470/crates/processing_midi/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/281/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/281/files#diff-008144528719b065f9706ed542b984ebfa4853fabb2372b130a55e23a51f143d
crates/processing_midi/src/lib.rshttps://github.com/processing/libprocessing/pull/281/files#diff-fa542c855b950c888a2385cce9c493132291de4e197454364272e74ff19d9389
View file https://github.com/v10101a/libprocessing/blob/a0843144e6fd6e785cda24f5012701088de26470/crates/processing_midi/src/lib.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/processing/libprocessing/pull/281/{{ revealButtonHref }}
https://github.com/processing/libprocessing/pull/281/files#diff-fa542c855b950c888a2385cce9c493132291de4e197454364272e74ff19d9389
https://github.com/processing/libprocessing/pull/281/files#diff-fa542c855b950c888a2385cce9c493132291de4e197454364272e74ff19d9389
https://github.com/processing/libprocessing/pull/281/files#diff-fa542c855b950c888a2385cce9c493132291de4e197454364272e74ff19d9389
https://github.com/processing/libprocessing/pull/281/files#diff-fa542c855b950c888a2385cce9c493132291de4e197454364272e74ff19d9389
https://github.com/processing/libprocessing/pull/281/files#diff-fa542c855b950c888a2385cce9c493132291de4e197454364272e74ff19d9389
Please reload this pagehttps://github.com/processing/libprocessing/pull/281/files
Please reload this pagehttps://github.com/processing/libprocessing/pull/281/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.