code: def spec_to_wav(
      *, spec: np.ndarray, power: float = 1.5, **kwargs
  ) -> np.ndarray:
      """Convert a spectrogram to a waveform using Griffi-Lim vocoder."""
      S = spec.copy()
      return griffin_lim(spec=S**power, **kwargs)
  
imports: from io import BytesIO
  from typing import Tuple
  import librosa
  import numpy
  import scipy
  import soundfile
  from librosa import magphase, pyin
label_desc: Use image node_id 13 for calling a global function with example usage: spec_to_wav() and returns: griffin_lim