Title: Sound / Audio doesn't work in Processing 4.4.1 using snap on Ubuntu 22.04 · Issue #1078 · processing/processing4 · GitHub
Open Graph Title: Sound / Audio doesn't work in Processing 4.4.1 using snap on Ubuntu 22.04 · Issue #1078 · processing/processing4
X Title: Sound / Audio doesn't work in Processing 4.4.1 using snap on Ubuntu 22.04 · Issue #1078 · processing/processing4
Description: Most appropriate sub-area of Processing 4? Build process, IO Processing version 4.4.1 Operating system Ubuntu 22.04 Steps to reproduce this I'm no expert but I think I've found why the sound won't work, despite pulseaudio, alsa and lib j...
Open Graph Description: Most appropriate sub-area of Processing 4? Build process, IO Processing version 4.4.1 Operating system Ubuntu 22.04 Steps to reproduce this I'm no expert but I think I've found why the sound won't ...
X Description: Most appropriate sub-area of Processing 4? Build process, IO Processing version 4.4.1 Operating system Ubuntu 22.04 Steps to reproduce this I'm no expert but I think I've found why the soun...
Opengraph URL: https://github.com/processing/processing4/issues/1078
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sound / Audio doesn't work in Processing 4.4.1 using snap on Ubuntu 22.04 ","articleBody":"### Most appropriate sub-area of Processing 4?\n\nBuild process, IO\n\n### Processing version\n\n4.4.1\n\n### Operating system\n\nUbuntu 22.04\n\n### Steps to reproduce this\n\nI'm no expert but I think I've found why the sound won't work, despite pulseaudio, alsa and lib java audio etc all working perfectly on my computer. \n\nIn the terminal, run \"snap connections processing\":\n\nInterface Plug Slot Notes\ndesktop processing:desktop :desktop -\ndesktop-legacy processing:desktop-legacy :desktop-legacy -\nhome processing:home :home -\nnetwork processing:network :network -\nopengl processing:opengl :opengl -\nwayland processing:wayland :wayland -\nx11 processing:x11 :x11 -\n\nThere is nothing for audio. Thus, when you add the sound library, it can't escape the snap environment and always fails to play or detect the mic.\n\n### snippet\n\n```\nimport processing.sound.*;\n\nvoid setup() {\n Sound.list();\n}\n```\n\n\n### Additional context\n\n\"PortAudio is not supported on this operating system/architecture\"\n\"Sound library: Didn't find any output devices with the default driver, trying PortAudio...\"\n\npavucontrol works fine, but processing never appears as an application.\n\nDuring the debug process I've also run:\n\nsudo apt install portaudio19-dev libportaudio2 libasound-dev\nsudo apt install libpulse-java\nsudo apt install pulseaudio-utils\npulseaudio --start \n\nAnd restarted etc, no change.\n\n### Would you like to work on the issue?\n\nno","author":{"url":"https://github.com/Luke2642","@type":"Person","name":"Luke2642"},"datePublished":"2025-05-07T10:09:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1078/processing4/issues/1078"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:67de6a97-8ca0-197a-7e45-553a6450163d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1B0:F74F6:2553A41:311F3BB:696B1B9B |
| html-safe-nonce | ccd7c22bfca5f56d60f6184c61e000e612ad0de774a7fc9709f51b0efcf329ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUIwOkY3NEY2OjI1NTNBNDE6MzExRjNCQjo2OTZCMUI5QiIsInZpc2l0b3JfaWQiOiIxNzE3NTc1ODMxNjY4ODU3NzU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c0061724369c65fdd13e816e8c162642343c4615c1579427dcc9b1069b15508d |
| hovercard-subject-tag | issue:3045454730 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1078/issue_layout |
| twitter:image | https://opengraph.githubassets.com/50143159f080fce1cae1ce0d14e2789b7a2543af94135222e836dfbff73a4dca/processing/processing4/issues/1078 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/50143159f080fce1cae1ce0d14e2789b7a2543af94135222e836dfbff73a4dca/processing/processing4/issues/1078 |
| og:image:alt | Most appropriate sub-area of Processing 4? Build process, IO Processing version 4.4.1 Operating system Ubuntu 22.04 Steps to reproduce this I'm no expert but I think I've found why the sound won't ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Luke2642 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width