The apple leaf midge and raspberry cane midge pheromones have been found to be acetoxyheptadecenone and acetoxyundecanone, respectively, and uses for the related C9-19 oxoalkyl or oxoalkenyl molecules substituted with a lower alkanoyloxy group are provided, including monitoring population levels of the midge and control of midge populations by disrupting mating patterns.