Cantilever enhanced photoacoustics measuring technology can be used e.g. in detection and analysis of gases, liquids, and solid materials in applications of research, industry, environmental, safety, and security.