class_docstr: One-hot encoding for polyphonic events.
code: def default_event(self):
      return PolyphonicEvent(
          event_type=PolyphonicEvent.STEP_END, pitch=0
      )
  
file_path: magenta/magenta/models/polyphony_rnn/polyphony_encoder_decoder.py
imports: from __future__ import division
  from magenta.models.polyphony_rnn import polyphony_lib
  from magenta.models.polyphony_rnn.polyphony_lib import PolyphonicEvent
  from note_seq import encoder_decoder
label_desc: Use image node_id 2 for calling the PolyphonyOneHotEncoding obj's underlying member method code with example usage: obj.default_event() and returns: PolyphonicEvent