Skip to content

Soundplay volume on Macs #59

@joshwalawender

Description

@joshwalawender

Some info on sound from Brad Holden is below. Putting it here for reference.

The sound player for the Mac, afplay, wants a value for the volume between 0 and 1. Eventsounds gives a value between 0 and 100, so even a volume of 1 is maximum. Setting the -pv option on sound play lets you re-scale the output value of afplay. A value of 0.01 for Macs is recommended.

--

I do not edit the config.

I have a horrible line in soundplay.py that says basically

if  'macosx' in  soundplayer:
   cmd.append('-pv')
   cmd.append('0.01')

I am hoping to get Will to remake soundplay for the Mac so that this scaling becomes the default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions