code: def get_fade_mask(
      start_level_db: float,
      end_level_db: float,
      fade_time_samples: int,
  ):
      """
      :param start_level_db:
      :param end_level_db:
      :param fade_time_samples: How long does the fade last?
      :return:
      """
      fade_mask = np.linspace(
          start_level_db,
          end_level_db,
          num=fade_time_samples,
          dtype=np.float32,
      )
      fade_mask = convert_decibels_to_amplitude_ratio(fade_mask)
      return fade_mask
  
file_path: audiomentations/audiomentations/augmentations/gain_transition.py
imports: import random
  import warnings
  from typing import Union
  import numpy
  from numpy.typing import NDArray
  from audiomentations.core.transforms_interface import BaseWaveformTransform
  from audiomentations.core.utils import convert_decibels_to_amplitude_ratio
label_desc: Use image node_id 1 for calling a global function with example usage: get_fade_mask(start_level_db, end_level_db, fade_time_samples) and returns: fade_mask