class_docstr: HarmonicPercussiveSourceSeparation is a Processor which separates the
  magnitude spectrogram into its harmonic and percussive components with
  median filters.
  
  Parameters
  ----------
  masking : float or str
      Can be either the literal 'binary' or any float coefficient resulting
      in a soft mask. 'None' translates to a binary mask, too.
  harmonic_filter : tuple of ints
      Tuple with harmonic filter size (frames, bins).
  percussive_filter : tuple of ints
      Tuple with percussive filter size (frames, bins).
  
  References
  ----------
  .. [1] Derry FitzGerald,
         "Harmonic/percussive separation using median filtering.",
         Proceedings of the 13th International Conference on Digital Audio
         Effects (DAFx), Graz, Austria, 2010.
code: def __init__(
      self,
      masking=MASKING,
      harmonic_filter=HARMONIC_FILTER,
      percussive_filter=PERCUSSIVE_FILTER,
  ):
      # set the parameters, so they get used for computation
      self.masking = masking
      self.harmonic_filter = np.asarray(harmonic_filter, dtype=int)
      self.percussive_filter = np.asarray(percussive_filter, dtype=int)
  
file_path: madmom/madmom/audio/hpss.py
imports: from __future__ import absolute_import, division, print_function
  import numpy
  from madmom.processors import Processor
label_desc: Use image node_id 1 to create a new HarmonicPercussiveSourceSeparation object from inherited base classes: Processor with example: obj = HarmonicPercussiveSourceSeparation(masking, harmonic_filter, percussive_filter)