LinusU / LinusU/node-loudness

Problem on rpi with adafruit speaker bonnet

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
132
Forks
43
PR merge metrics
No merged PRs in 30d

Description

Running amixer get PCM I get:

```bash
Simple mixer control 'PCM',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 255
Front Left: 51 [20%]
Front Right: 51 [20%]
```

which doesn't parse with the regex reInfo

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Raspberry Pi output with `amixer get PCM` and locate the parser or entry point containing the `reInfo` regex. Update the parsing behavior so this PCM output is accepted, then verify that the reported volume is handled correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.