code: def get_sin_sweep(sample_rate, length):
      """Create a waveform which changes frequency from 0 to the Nyquist frequency (half of the sample rate)"""
      nyquist_freq = sample_rate / 2
      freq = torch.logspace(
          0, math.log(0.99 * nyquist_freq, 10), length
      ).unsqueeze(-1)
      amp = torch.ones((length, 1))
  
      waveform = oscillator_bank(freq, amp, sample_rate=sample_rate)
      return waveform.unsqueeze(0)
  
imports: import math
  import torch
  import torchaudio
  from torchaudio.prototype.functional import oscillator_bank
  from torchaudio.prototype.pipelines import HIFIGAN_VOCODER_V3_LJSPEECH
label_desc: Use image node_id 2 for calling a global function with example usage: get_sin_sweep(sample_rate, length) and returns: waveform