MHz Speed Analog Reading + High Quality 40kHz Square Wave

no ultrasonic transducer can respond to a frequency that high.

I think medical ultrasound goes up to around 20MHz, but you're unlikely to want to afford one of those.