Shock waves emission after collapse of a laser-induced bubble in the liquid was studied experimentally by using a PTZ hydrophone. An experimental method and a Cavitation detection system was designed to investigate bubble collapse noise in this article. When a focused short laser pulse was focused in a liquid near a solid wall, it induced optical breakdown, the emission of shock waves and the generation of cavitation bubbles. A PZT hydrophone was used to detect the shock wave emitted during bubble oscillations. In addition, a software based on MATLAB was designed for analyzing cavitation noise. The software system had multiple functionalities, namely signal reading, noise reduction, signal analysis in frequency domain, and display. The results showed that the software can not only reflect the spectral characteristics of the noise quickly but also can interpret the current cavitation station according to the changing rules of different cavitation station. The results of the research have strong implications for cavitation phenomena analysis and cavitation warning systems in turbines, propellers, and other irrigation machinery.