scamp_extensions.pitch.chord_builder.get_pcs_instances_in_range

scamp_extensions.pitch.chord_builder.get_pcs_instances_in_range(pcs, min_pitch, max_pitch)[source]

Every pitch within the given range belonging to one of the given pitch classes.

Parameters:
  • pcs – the pitch classes (integers from 0 to 11) in question

  • min_pitch – lowest MIDI pitch to consider (inclusive)

  • max_pitch – highest MIDI pitch to consider (exclusive)