docs: def place_notes(self, notes, duration):
          """Place the notes on the current_beat.
  
          Notes can be strings, Notes, list of strings, list of Notes or a
          NoteContainer.
  
          Raise a MeterFormatError if the duration is not valid.
  
          Return True if succesful, False otherwise (ie. the Bar hasn't got
          enough room for a note of that duration).
          """
          # note should be able to be one of strings, lists, Notes or
          # NoteContainers
          if hasattr(notes, 'notes'):
              pass
          elif hasattr(notes, 'name'):
              notes = NoteContainer(notes)
          elif type(notes) == str:
              notes = NoteContainer(notes)
          elif type(notes) == list:
              notes = NoteContainer(notes)
          if self.current_beat + 1.0 / duration <= self.length or self.length\
               == 0.0:
              self.bar.append([self.current_beat, duration, notes])
              self.current_beat += 1.0 / duration
              return True
          else:
              return False