code: def eq(
      seg,
      focus_freq,
      bandwidth=100,
      channel_mode="L+R",
      filter_mode="peak",
      gain_dB=0,
      order=2,
  ):
      """
      Args:
          focus_freq - middle frequency or known frequency of band (in Hz)
          bandwidth - range of the equalizer band
          channel_mode - Select Channels to be affected by the filter.
              L+R - Standard Stereo Filter
              L - Only Left Channel is Filtered
              R - Only Right Channel is Filtered
              M+S - Blumlien Stereo Filter(Mid-Side)
              M - Only Mid Channel is Filtered
              S - Only Side Channel is Filtered
              Mono Audio Segments are completely filtered.
          filter_mode - Mode of Equalization(Peak/Notch(Bell Curve),High Shelf, Low Shelf)
          order - Rolloff factor(1 - 6dB/Octave 2 - 12dB/Octave)
  
      Returns:
          Equalized/Filtered AudioSegment
      """
      channel_modes = ["L+R", "M+S", "L", "R", "M", "S"]
      if channel_mode not in channel_modes:
          raise ValueError("Incorrect Channel Mode Selection")
  
      if seg.channels == 1:
          return _eq(
              seg, focus_freq, bandwidth, filter_mode, gain_dB, order
          )
  
      if channel_mode == "L+R":
          return _eq(
              seg, focus_freq, bandwidth, filter_mode, gain_dB, order
          )
  
      if channel_mode == "L":
          seg = seg.split_to_mono()
          seg = [
              _eq(
                  seg[0],
                  focus_freq,
                  bandwidth,
                  filter_mode,
                  gain_dB,
                  order,
              ),
              seg[1],
          ]
          return AudioSegment.from_mono_audio_segements(seg[0], seg[1])
  
      if channel_mode == "R":
          seg = seg.split_to_mono()
          seg = [
              seg[0],
              _eq(
                  seg[1],
                  focus_freq,
                  bandwidth,
                  filter_mode,
                  gain_dB,
                  order,
              ),
          ]
          return AudioSegment.from_mono_audio_segements(seg[0], seg[1])
  
      if channel_mode == "M+S":
          seg = stereo_to_ms(seg)
          seg = _eq(
              seg, focus_freq, bandwidth, filter_mode, gain_dB, order
          )
          return ms_to_stereo(seg)
  
      if channel_mode == "M":
          seg = stereo_to_ms(seg).split_to_mono()
          seg = [
              _eq(
                  seg[0],
                  focus_freq,
                  bandwidth,
                  filter_mode,
                  gain_dB,
                  order,
              ),
              seg[1],
          ]
          seg = AudioSegment.from_mono_audio_segements(seg[0], seg[1])
          return ms_to_stereo(seg)
  
      if channel_mode == "S":
          seg = stereo_to_ms(seg).split_to_mono()
          seg = [
              seg[0],
              _eq(
                  seg[1],
                  focus_freq,
                  bandwidth,
                  filter_mode,
                  gain_dB,
                  order,
              ),
          ]
          seg = AudioSegment.from_mono_audio_segements(seg[0], seg[1])
          return ms_to_stereo(seg)
  
imports: from scipy.signal import butter, sosfilt
  from .utils import register_pydub_effect, stereo_to_ms, ms_to_stereo
label_desc: Use image node_id 6 for calling a global function with example usage: eq(seg, focus_freq, bandwidth, channel_mode, filter_mode, gain_dB, order) and returns: _eq, _eq, AudioSegment, AudioSegment, ms_to_stereo, ms_to_stereo, ms_to_stereo