def __init__(self, channels=16, dynamic=False):
        '''
        The number of sound channels can be set using @channels, and can be 
        allowed to grow on demand by making @dynamic true.
        '''
        self.reset()
        self.channels = channels
        self.dynamic = bool(dynamic)
        pygame.mixer.set_num_channels(channels)
def __init__ ( self , channels = 16 , dynamic = False ) : self . reset ( ) self . channels = channels self . dynamic = bool ( dynamic ) pygame . mixer . set_num_channels ( channels )
The number of sound channels can be set using @channels, and can be 
        allowed to grow on demand by making @dynamic true.