class_docstr: Collecting sound files to a HDF5 file
  
  >>> f = SoundHDF5File('a.flac.h5', mode='a')
  >>> array = np.random.randint(0, 100, 100, dtype=np.int16)
  >>> f['id'] = (array, 16000)
  >>> array, rate = f['id']
  
  
  :param: str filepath:
  :param: str mode:
  :param: str format: The type used when saving wav. flac, nist, htk, etc.
  :param: str dtype:
class_docstr_tok: ["Collecting","sound","files","to","a","HDF5","file",">",">",">","f","=","SoundHDF5File","(","'","a.flac.h5","'",",","mode=","'","a","'",")",">",">",">","array","=","np.random.randint","(","0",",","100",",","100",",","dtype=np.int16",")",">",">",">","f","[","'id","'","]","=","(","array",",","16000",")",">",">",">","array",",","rate","=","f","[","'id","'","]",":","param",":","str","filepath",":",":","param",":","str","mode",":",":","param",":","str","format",":","The","type","used","when","saving","wav",".","flac",",","nist",",","htk",",","etc",".",":","param",":","str","dtype",":"]
code: def __setitem__(self, name, data):
      self.create_dataset(name, data=data)
  
imports: import io
  import logging
  import os
  from collections import OrderedDict
  import h5py
  import kaldiio
  import numpy
  import soundfile
  from espnet.transform.transformation import Transformation
label_desc: Use image node_id 4 for calling the SoundHDF5File obj's underlying member method code with example usage: obj.__setitem__(name, data) without return types