chaudio.plugins.volume module

A simple multiplier to scale the volume

class chaudio.plugins.volume.Volume(**kwargs)[source]

Bases: chaudio.plugins.Basic

A simple multiplier to scale the volume. This is effectively the same thing as kwargs["amp"] * _data, but being a plugin, it is compatable with other libraries.

process(_data)[source]

Returns the result, but amplified

“amp”:The amplitude to multiply the source by
__module__ = 'chaudio.plugins.volume'