Skip to content

marl/html5-audio-query-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML5 Audio Query Template

A skeleton website built with Flask and HTML5 Audio, that can be used for building any query-by-humming-like service.

Screen Capture

Running

pip install -r requirements.txt
python runserver.py

Hacking

Backend

The web UI will upload a WAV file to the server; you can then process the file using your Python code here, and return the result as JSON.

Frontend

The JSON object will be retrieved back to the browser, and you can edit here to change what to do with the result. By default, it shows the JSON in a textarea.

Gotchas

Due to privacy issues, some browsers don't allow access to the microphone when using http. It'll be still okay to run this website locally, but you will need to obtain an SSL certificate if you'd like to publicly serve the website.

About

A skeleton project for query-by-humming website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published