On-chip integration of tunable metalens and deformed multimode waveguide for speckle spectrometer | Synapse