Coherence and nonlinearity in mechanical and josephson superconducting devices