code: def chunks(self):
          
          if not hasattr(self, '_it'):
              class ChunkIterator(object):
                  def __iter__(iter):
                      return iter
  
                  def __next__(iter):
                      try:
                          chunk = self._next_chunk()
                      except StopIteration:
                          if self.loop:
                              self._init_stretching()
                              return iter.__next__()
  
                          raise
  
                      return chunk
                  next = __next__
  
              self._it = ChunkIterator()
  
          return self._it
docs: Returns a chunk iterator over the sound.