You are not logged in.

#1 2023-02-14 14:40:27

Jackseller
Member
Registered: 2020-08-03
Posts: 13

[SOLVED] Pulseaudio : paplay --volume

Hi,

I am trying to play a sound file with the paplay command and the --volume option.

--volume=VOLUME
Specify the initial playback volume to use. Choose a value between 0 (silent) and 65536 (100% volume).

But whatever the value I am setting, the sound volume doesn't change.

paplay --volume=12000 ~/sound.wav

Am I forgetting to do something else ?

Last edited by Jackseller (2023-02-26 11:43:56)

Offline

#2 2023-02-25 22:22:44

krompus
Member
Registered: 2015-05-19
Posts: 3

Re: [SOLVED] Pulseaudio : paplay --volume

Bump, paplay volume flag does nothing. Using `ffplay -nodisp -volume 20 -autoexit ~/sound.wav` instead.

Last edited by krompus (2023-02-25 23:47:16)

Offline

#3 2023-02-26 11:43:29

Jackseller
Member
Registered: 2020-08-03
Posts: 13

Re: [SOLVED] Pulseaudio : paplay --volume

I found out that the volume option doesn't work with pipewire.
So now I use the pw-cat tool with the pw-play command and it works fine.

pw-play --volume=0.5 ~/sound.wav

Offline

#4 2023-02-26 17:55:00

krompus
Member
Registered: 2015-05-19
Posts: 3

Re: [SOLVED] Pulseaudio : paplay --volume

Yeah I figured it was something to do with pipewire. pw-play also works, with a tidier command, thanks!

Offline

Board footer

Powered by FluxBB