code: def test_chroma_issue1295(freq):
      tone_1 = librosa.tone(frequency=freq, sr=22050, duration=1)
      chroma_1 = librosa.feature.chroma_stft(
          y=tone_1, sr=22050, n_chroma=120, base_c=True
      )
  
      actual_argmax = np.unravel_index(
          chroma_1.argmax(), chroma_1.shape
      )
  
      if freq == 261.63:
          assert actual_argmax == (118, 0)  # type: ignore[comparison-overlap]
      elif freq == 440:
          assert actual_argmax == (90, 0)
  
imports: import os
  from contextlib import nullcontext
  import warnings
  import glob
  import numpy
  import scipy.io
  import scipy.signal
  from typing import Any, ContextManager
  import pytest
  import librosa
label_desc: Use image node_id 12 for calling a global function with example usage: test_chroma_issue1295(freq) without return types