You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When controlling the audio via the headphone jack. Audio volume control does not appear to work. Running .tts vol 50 does not do anything. However, entering amixer cset numid=1 80% or 50% in the terminal will change the volume
To Reproduce
Steps to reproduce the behavior:
Set the speaker_num in the controller.conf to 0,0.
Plug in speakers to the headphone jack
Run the .tts vol 50, then .tts vol 80. Notice no change
Expected behavior
Volume level is adjustable
Screenshots
n/a
Logs
n/a
Configurations
Raspberry Pi 3a+
# ALSA HW number for your playback device
# For Tellys this is 2.
# If you have trouble with the playback device changing hardware numbers,
# use the audio device name. Otherwise, leave it blank.
speaker_num=0,0
speaker_device=
Not quite sure how we should implement this in the code, as the alsa HW number is 0, but the command id is 1 for amixer cset numid=1 80%. Not sure how USB speakers handle this, or what they appear as.
The text was updated successfully, but these errors were encountered:
Yeah, one command fits all volume control has proven to be a constant issue.
ALSA device number, subdevice number and card control number are all different things. Your amixer command is running against the default ALSA device, which is probably 0.
Out of curiosity, what does the output of amixer content show?
Try running this amixer -c 0 set PCM 50% Headphone 50% which should set your tts to 50% without breaking the existing supported hardware command... in theory.... since amixer seems to ignore channels it can't find.
Describe the bug
When controlling the audio via the headphone jack. Audio volume control does not appear to work. Running
.tts vol 50
does not do anything. However, enteringamixer cset numid=1 80%
or50%
in the terminal will change the volumeTo Reproduce
Steps to reproduce the behavior:
speaker_num
in the controller.conf to0,0
..tts vol 50
, then.tts vol 80
. Notice no changeExpected behavior
Volume level is adjustable
Screenshots
n/a
Logs
n/a
Configurations
Not quite sure how we should implement this in the code, as the alsa HW number is 0, but the command id is 1 for
amixer cset numid=1 80%
. Not sure how USB speakers handle this, or what they appear as.The text was updated successfully, but these errors were encountered: