class_docstr: Convert melody sequences (with absolute timing) to integer indices.
class_docstr_tok: ["Convert","melody","sequences","(","with","absolute","timing",")","to","integer","indices","."]
code: def __init__(self, steps_per_second, min_pitch, max_pitch):
      super(TextMelodyEncoderAbsolute, self).__init__(
          min_pitch, max_pitch
      )
      self._steps_per_second = steps_per_second
  
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 TextMelodyEncoderAbsolute object from inherited base classes: TextMelodyEncoderBase with example: obj = TextMelodyEncoderAbsolute(steps_per_second, min_pitch, max_pitch)