create midi synths out of javascript functions