Audio application for OakOS v5.0.X
Make sure that you are running the right version of Node locally. You will find the required version in the .nvmrc file
If you are not running the same version (node -v) then you will need to run
nvm install $(cat .nvmrc)
npm run rebuild
npm run dev
xhost +
docker-compose up --build
docker-compose down
If you use the Audio/Info of the API to see what the mixer_id of the card is:
https://{{dashboardHost}}/api/{{dashboardVersion}}/machine/{{dashboardMachine}}/Audio/Info
In my case it returns
{
"code": "",
"details": "",
"body": {
"mixers": [
{
"mixer_id": "Headset:Headphone",
"configuration": {
"mute": false,
"volume": 48
}
},
{
"mixer_id": "Headset:Mic",
"configuration": {
"mute": true,
"volume": 0
}
}
]
}
}
So Headset is the environmental variable to use in this install:
"services": [
{
"image": "index.docker.io/oaklabs/app-audio:release-1.0.7",
"environment": {
"NODE_ENV": "production",
"ALSA_CARD": "Headset"
}
}
]
}
Content type
Image
Digest
Size
630 MB
Last updated
about 6 years ago
docker pull oaklabs/app-audio