class_docstr: SoundHDF5Writer
  
  Examples:
      >>> fs = 16000
      >>> with SoundHDF5Writer('ark:out.h5') as f:
      ...     f['key'] = fs, array
code: def __setitem__(self, key, value):
      assert_scipy_wav_style(value)
      # Change Tuple[int, ndarray] -> Tuple[ndarray, int]
      # (scipy style -> soundfile style)
      value = (value[1], value[0])
      self.writer.create_dataset(key, data=value)
  
      if self.writer_scp is not None:
          self.writer_scp.write(f"{key} {self.filename}:{key}\n")
      if self.writer_nframe is not None:
          self.writer_nframe.write(f"{key} {len(value[0])}\n")
  
imports: from pathlib import Path
  from typing import Dict
  import h5py
  import kaldiio
  import numpy
  import soundfile
  from espnet.utils.cli_utils import assert_scipy_wav_style
  from espnet.utils.io_utils import SoundHDF5File
label_desc: Use image node_id 2 for calling the SoundHDF5Writer obj's underlying member method code with example usage: obj.__setitem__(key, value) without return types