I think they just forgot to put u_cone in the function u_total_callable, but you can set it as @Kevin did. Easiest thing is to multiply the results with the velocity of the cone. You won’t need to re-compute the BEM if you decide to change your speaker parameters.
I made a toolbox that automate the process (definition of domains and computation at evaluation points) combined to a lumped-element solver. It is mostly aimed at speaker design, but if it can be of any help: https://electroacpy.readthedocs.io