The present invention comprises methods and devices for generating and providing contrast medium for sonography of structures such as ducts and cavities. The invention provides for creation of a contrast medium comprising detectable acoustic variations between two phases, for example, a gas and a liquid. Sonography is the primary means of imaging but other conventional detection means may also be employed with the present invention.