class_docstr: This class represents an audio frame. The data is a numpy.ndarray.
  
  Args:
      sample_rate (`int`):
          The audio sample rate in Hz.
code: def __new__(
      cls,
      data: np.ndarray,
      sample_rate: int = None,
      timestamp: int = None,
      layout: str = None,
  ):
      # Cast `np.ndarray` to be `AudioFrame`.
      # See https://numpy.org/doc/stable/user/basics.subclassing.html for details.
      obj = np.asarray(data).view(cls)
      obj._sample_rate = sample_rate
      obj._timestamp = timestamp
      obj._layout = layout
      return obj
  
file_path: towhee/towhee/types/audio_frame.py
imports: import numpy
label_desc: Use image node_id 1 for calling the AudioFrame obj's underlying member method code with example usage: obj.__new__(cls, data, sample_rate, timestamp, layout) and returns: obj