rism-digital / rism-online-issues

Collected issues for the RISM Online site
0 stars 0 forks source link

Search by Plaine & Easie code #137

Closed jenniferward closed 2 years ago

jenniferward commented 2 years ago

RISM contributors like to search by P&E code, especially while they are cataloging and wish to compare. Copying and pasting is more efficient than tapping it out on the keyboard. Can you add a search box for P&E that strips out all but the notes? So 6{'F,A'F,A'F,A'F,A} would search for FAFAFAFA —possibly also including flats and sharps (as on the keyboard) but for now I think just a basic P&E note-name search would suffice. That also makes it easier if you need to go back and adjust your search.

BaMikusi commented 2 years ago

I might be missing something here, but how could a pure PAE search prove useful, if the key signature is not taken into account, and thus the actual intervals sought for may not even match those of the original incipit? (This affects only Jennifer's original query, not Andrew's #139.)

ahankinson commented 2 years ago

I’m actually working on this at the moment. I’m thinking that the user will be able to switch between two forms of entry: a simple keyboard search, or a form where they can control the key signature, clef, etc.

Currently we only search based on intervals, but this is only because we have prioritized other things rather than expanding the incipit search beyond “good enough for now.” But in the future we want to provide other options, and having a full PAE input would let people express their search. (Exact pitch, pitch and duration, melodic contour, tessitura, etc.

under the hood, the query language for the search is actually PAE itself. This gets submitted, and then run through Verovio to extract different types of data that are then matched to the index in the search system. So in theory we’re only bounded (for queries) by PAE — which means we might not see polyphonic search any time soon, but we have lots of room to grow for the other types of searching.

ahankinson commented 2 years ago

This is now available in the latest version.