input: from typing import List
  
  def interpret_music(note_string: str) -> List[int]:
      """ This function takes a string denoting musical notes in a unique ASCII format.
      The objective is to interpret this string and generate a list of integers indicating the duration 
      in beats for each note.
  
      Here is a legend:
      'o' - whole note, lasts four beats
      'o|' - half note, lasts two beats
      '.|' - quarter note, lasts one beat
  
      >>> interpret_music('o o| .| o| o| .| .| .| .| o o')
      [4, 2, 1, 2, 2, 1, 1, 1, 1, 4, 4]
      """
output:     note_map = {'o': 4, 'o|': 2, '.|': 1}
      notes = note_string.split()
      durations = []
      
      for note in notes:
          if note in note_map:
              durations.append(note_map[note])
      
      return durations