Methods and systems for the controlled generation of bubbles in a medium having a liquid phase are generally provided. Laser pulses having a time-dependent pulse parameter controllable over their duration are generated. The medium is irradiated with the laser pulses with a radiant exposure sufficient to initiate microcavitation within the medium during each laser pulse. The time-dependent pulse parameter of each laser pulse is controlled according to a generally positive variation over the pulse duration such that the medium absorbs a greater quantity of energy from the laser pulse at an end of the pulse duration than at a beginning thereof. Such methods and systems may be used for various applications such as biology, medicine or material processing.