Content-based symbolic music retrieval (0.0.1)

Download OpenAPI specification:Download

Add a piece

Responses

200

200 response

post /index
/index

Response samples

Content type
application/json
Copy
Expand all Collapse all
0

Search

query Parameters
rpp
number >= 1
Example: rpp=5

Results per page

page
number >= 0
Example: page=2

The current result page

transpositions
Array of numbers
Example: transpositions=0,5

Range of acceptable transpositions to filter for

intervening
Array of numbers
Example: intervening=0,8

The amount of decorative notes we are willing to tolerate that obscure our query.

inexact
Array of numbers
Example: inexact=0,4

The number of notes that can be missing in each occurrence

collection
number >= 0
Example: collection=1

The collection of pieces to search over. 0 for all pieces, 2 for Bach Chorales, 3 for Palestrina Masses

query
string (kernQuery) .*\*\*kern.*
Example: query=%2A%2Akern%0A%2AclefG2%0A%2Ak%5B%5D%0A%3D-%0A4c%20g%0A4e%0Af

**kern query to search for in the database

Responses

200

200 response

get /search
/search

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "query": "**kern\n*clefG2\n*k[]\n=-\n4c g\n4e\nf",
  • "pagination":
    {
    },
  • "numPages": "8",
  • "range":
    [
    ]
}

Highlighted Excerpt

Responses

200

200 response

get /excerpt
/excerpt