class_docstr: Abstract base class for pitch shifting transformations
class_docstr_tok: ["Abstract","base","class","for","pitch","shifting","transformations"]
docstr: Abstract base class for pitch shifting.
  
  This implements the deformations, but does not manage state.
docstr_tok: ["Abstract","base","class","for","pitch","shifting",".","This","implements","the","deformations",",","but","does","not","manage","state","."]
code: def __init__(self):
      """Abstract base class for pitch shifting.
  
      This implements the deformations, but does not manage state.
      """
  
      BaseTransformer.__init__(self)
  
      # Build the annotation mapping
      self._register("key_mode|chord|chord_harte", self.deform_note)
      self._register("pitch_contour", self.deform_contour)
      self._register("pitch_hz", self.deform_hz)
      self._register("pitch_midi", self.deform_midi)
      self._register("chord_roman|pitch_class", self.deform_tonic)
  
imports: import librosa
  import pyrubberband
  import re
  import numpy
  import six
  from copy import deepcopy
  from ..base import BaseTransformer, _get_rng
label_desc: Use image node_id 1 to create a new AbstractPitchShift object from inherited base classes: BaseTransformer with example: obj = AbstractPitchShift()