AudioPlayer icon indicating copy to clipboard operation
AudioPlayer copied to clipboard

the volume property is ignored during playback

Open zenbooster opened this issue 3 years ago • 1 comments

The volume property is ignored during playback. Ubuntu 22.04 LTS

pactl info:

erver String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 4671
Tile Size: 65472
User Name: zenbooster
Host Name: zenpc
Server Name: PulseAudio (on PipeWire 0.3.48)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.pro-output-0
Default Source: alsa_input.pci-0000_00_1b.0.pro-input-0
Cookie: 3752:061b

code:

ap = AudioPlayer("hi.mp3")
ap.volume = 1
ap.play(block=True)

volume = 1 or 100 - no difference.

zenbooster avatar Jan 19 '23 10:01 zenbooster

True, there is one thing, but the sound is transfer over the network, but without this I can’t check it yet:

pacat -r -d alsa_output.pci-0000_00_1b.0.pro-output-0.monitor --rate=11025 --channels=1 --format=s16le | nc -lk -p 11025

zenbooster avatar Jan 19 '23 10:01 zenbooster