code: def get_sinc_impulse(sample_rate, duration):
      """Create a `duration` seconds chirp from 0Hz to `nyquist frequency`"""
      n = np.arange(-duration / 2, duration / 2, 1 / sample_rate)
  
      # Full band sinc impulse centered at half the duration
      samples = 2 * 0.25 * np.sinc(2 * sample_rate / 4 * n)
  
      return samples.astype(np.float32)
  
file_path: audiomentations/tests/test_room_simulator.py
imports: import random
  import numpy
  import pytest
  from audiomentations import RoomSimulator
label_desc: Use image node_id 1 for calling a global function with example usage: get_sinc_impulse(sample_rate, duration) and returns: samples