iterate_out_of_range_notes_and_chords

instrumenttools.iterate_out_of_range_notes_and_chords(argument)

Iterates notes and chords in argument outside traditional instrument ranges.

Todo

Move to WellformednessManager.

Example. Iterates out-of-range notes and chords:

>>> staff = Staff("c'8 r8 <d fs>8 r8")
>>> violin = instrumenttools.Violin()
>>> attach(violin, staff)
>>> show(staff) 
>>> list(
... instrumenttools.iterate_out_of_range_notes_and_chords(
... staff))
[Chord('<d fs>8')]

Returns generator.