class_docstr: Convert melody sequences to integer indices, abstract base class.
class_docstr_tok: ["Convert","melody","sequences","to","integer","indices",",","abstract","base","class","."]
code: def __init__(self, min_pitch, max_pitch):
      self._encoding = note_seq.MelodyOneHotEncoding(
          min_note=min_pitch, max_note=max_pitch + 1
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tempfile
  import note_seq
  from note_seq import performance_lib
  import pygtrie
  from tensor2tensor.data_generators import text_encoder
label_desc: Use image node_id 1 to create a new TextMelodyEncoderBase object from inherited base classes: object with example: obj = TextMelodyEncoderBase(min_pitch, max_pitch)