code: def oscillator_bank(
      frequencies,
      amplitudes,
      sample_rate: float,
      time_axis: int = -2,
  ):
      """Reference implementation of oscillator_bank"""
      invalid = np.abs(frequencies) >= sample_rate / 2
      if np.any(invalid):
          amplitudes = np.where(invalid, 0.0, amplitudes)
      pi2 = 2.0 * np.pi
      freqs = frequencies * pi2 / sample_rate % pi2
      phases = np.cumsum(freqs, axis=time_axis, dtype=freqs.dtype)
  
      waveform = amplitudes * np.sin(phases)
      return waveform
  
imports: import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: oscillator_bank(frequencies, amplitudes, sample_rate, time_axis) and returns: waveform