Integration of a waveguide resonator can reduce an aperture of a grating coupler to enable its utilization in a channel waveguide. Resultantly obtained coupling characteristics such as selectivity or controllability are attractive for various applications including a compact WDM light source and micro-optic beam steering.