code: def _wave(self):
          
          try:
              return wave.open(StringIO(self.contents))
          except wave.Error, err:
              err.message += "\nInvalid wave file: %s" % self
              err.args = (err.message,)
              raise
docs: Return a wave.Wave_read instance from the ``wave`` module.