{"id":17441231,"url":"https://github.com/tmigone/audio-example","last_synced_at":"2025-03-31T13:41:07.992Z","repository":{"id":74100798,"uuid":"476382260","full_name":"tmigone/audio-example","owner":"tmigone","description":"Minimal audio setup for playing audio files in balenaOS","archived":false,"fork":false,"pushed_at":"2022-03-31T16:32:01.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-19T19:59:36.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/tmigone.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}},"created_at":"2022-03-31T16:09:37.000Z","updated_at":"2022-03-31T16:32:05.000Z","dependencies_parsed_at":"2023-04-09T18:47:14.096Z","dependency_job_id":null,"html_url":"https://github.com/tmigone/audio-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmigone%2Faudio-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmigone%2Faudio-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmigone%2Faudio-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmigone%2Faudio-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmigone","download_url":"https://codeload.github.com/tmigone/audio-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246475830,"owners_count":20783732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-17T15:11:42.440Z","updated_at":"2025-03-31T13:41:07.963Z","avatar_url":"https://github.com/tmigone.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# audio-example\n\nQuick example on how to wire balena audio block to play a sound.\n\n## Services\n**source**\n\nThis container uses `sox` to play an audio file. It's configured to send the audio into the audio block on a specific virtual sink.\n\n**audio**\n\nThe audio block. The config file creates a virtual sink which we use to receive audio from the source container. Additionally we route the audio from the virtual sink into the device's default hardware audio (typically audio jack on Rasbperry Pi devices) for testing purposes.\n\n__Note__: if you are using a Raspberry Pi4, make sure under `Device Configuration` the `DT Overlay` is set to `\"vc4-fkms-v3d\"` and **NOT** `\"vc4-kms-v3d\"`.\n\n**recorder**\n\nThis service is not setup but we could use `parecord` for example to grab the audio and pipe it into another program. Just need to configure `PULSE_SERVER` and `PULSE_SOURCE` environment variables.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmigone%2Faudio-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmigone%2Faudio-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmigone%2Faudio-example/lists"}