play-sound icon indicating copy to clipboard operation
play-sound copied to clipboard

Universal volume control?

Open knod opened this issue 6 years ago • 3 comments

Is there a way to adjust the volume for all types of players, not just a specifically named one? The example in the README says { afplay: ['-v', 1 ] /* lower volume for afplay on OSX */ }, but I don't want to just change afplay. I'd like to change whatever player is being used.

knod avatar Jun 29 '19 12:06 knod

I am trying to achieve the same thing. @knod , did you manage to solve this?

mattogodoy avatar May 16 '20 14:05 mattogodoy

I haven't @mattogodoy. I just lived with it for the short duration of the project. If I need this package again, I'll be interested in trying your changes, thanks.

You can close this if you feel the issue has been resolved. If it's still open when I get to trying it out, I'll close the issue.

knod avatar May 16 '20 18:05 knod

Thanks for your answer! I don't think that the issue has been resolved, but I guess I understand how it works now. Most of the players don't have the option to control the volume, so you could pass parameters like the one in the example to each of them, or at least the ones you know are going to be used and support volume control.

Feel free to close it :)

mattogodoy avatar May 17 '20 00:05 mattogodoy