'The audio\'s sample rate (an int).'

@property
def samplerate(self):

    if hasattr(self.mgfile.info, 'sample_rate'):
        return self.mgfile.info.sample_rate
    elif (self.type == 'opus'):
        return 48000
    return 0
