A spectroscopic analysis device for analysis of a sample comprising: a controller; and a photonic integrated circuit, the photonic integrated circuit comprising: an input for receiving light from the sample; and a demultiplexer (DEMUX) arranged to distribute the received light into at least a first optical chain and a second optical chain of the photonic integrated circuit; wherein each optical chain (C1, C2) of the photonic integrated circuit further comprises a tunable bandpass filter (TBF1, TBF2) and a photodetector (PD1, PD2) arranged respectively to filter and to detect the light distributed into its corresponding optical chain (C1, C2); wherein the spectroscopic analysis device further comprises two or more integrators (INT1, INT2), one integrator (INT1, INT2) for each optical chain (CI, C2), each integrator (INT1, INT2) configured to integrate an electrical output of the photodetector (PD1, PD2) in its corresponding optical chain (C1, C2); wherein i) each tunable bandpass filter (TBF1, TBF2) is configured to receive from the controller control data indicative of a time period (T Filter) during which the corresponding tunable bandpass filter (TBF1, TBF2) is arranged to filter a predetermined wavelength interval and/or ii) each integrator (INT1, INT2) is configured to receive from the controller control data indicative of a time period (T Int) during which the corresponding integrator (INT1, INT2) is arranged to integrate an electrical output of its corresponding photodetector (PD1, PD2), such that the integration result of the corresponding integrator (INT1, INT2) is controlled based on the respective time period (T Filter, T Int), wherein the controller is arranged: to control the two or more tunable bandpass filters (TBF1, TBF2), to control the two or more integrators (INT1, INT2), to receive integrator results obtained from the two or more integrators (INT1, INT2), and to provide spectroscopic analysis results based on the received integrator results. a controller; and a photonic integrated circuit, the photonic integrated circuit comprising: an input for receiving light from the sample; and a demultiplexer (DEMUX) arranged to distribute the received light into at least a first optical chain and a second optical chain of the photonic integrated circuit; an input for receiving light from the sample; and a demultiplexer (DEMUX) arranged to distribute the received light into at least a first optical chain and a second optical chain of the photonic integrated circuit; wherein each optical chain (C1, C2) of the photonic integrated circuit further comprises a tunable bandpass filter (TBF1, TBF2) and a photodetector (PD1, PD2) arranged respectively to filter and to detect the light distributed into its corresponding optical chain (C1, C2); wherein the spectroscopic analysis device further comprises two or more integrators (INT1, INT2), one integrator (INT1, INT2) for each optical chain (CI, C2), each integrator (INT1, INT2) configured to integrate an electrical output of the photodetector (PD1, PD2) in its corresponding optical chain (C1, C2); wherein i) each tunable bandpass filter (TBF1, TBF2) is configured to receive from the controller control data indicative of a time period (T Filter) during which the corresponding tunable bandpass filter (TBF1, TBF2) is arranged to filter a predetermined wavelength interval and/or ii) each integrator (INT1, INT2) is configured to receive from the controller control data indicative of a time period (T Int) during which the corresponding integrator (INT1, INT2) is arranged to integrate an electrical output of its corresponding photodetector (PD1, PD2), such that the integration result of the corresponding integrator (INT1, INT2) is controlled based on the respective time period (T Filter, T Int), wherein the controller is arranged: to control the two or more tunable bandpass filters (TBF1, TBF2), to control the two or more integrators (INT1, INT2), to receive integrator results obtained from the two or more integrators (INT1, INT2), and to provide spectroscopic analysis results based on the received integrator results. to control the two or more tunable bandpass filters (TBF1, TBF2), to control the two or more integrators (INT1, INT2), to receive integrator results obtained from the two or more integrators (INT1, INT2), and to provide spectroscopic analysis results based on the received integrator results.