def __init__(self, mode=u'track'):
        if mode not in self.MODES:
            raise ValueError("mode must be one of %r" % self.MODES)

        self._mode = unicode(mode)

        self.gain = None
        self.peak = 1.0
        self._raw_gain = None
        self._raw_peak = None
dataset/ETHPy150Open grawity/hacks/lib/python/nullroute/mp3tags.py/GainValue.__init__/original