Skip to main content

extractors_by_id

Function extractors_by_id 

Source
pub fn extractors_by_id(
    ids: &[&str],
    libraries: &[Library],
) -> Vec<&'static Extractor>
Expand description

The extractors with any of these ids, from these libraries, in the libraries’ own order: music21’s extractorsById. An id is read without regard to case, hyphens or spaces, so p-20 finds P20; the id all, first, finds every extractor. Both libraries have a P22, so asking for it in both finds two.