Corrected a little bug in the frequency divider, working well now. Now I need to search a way to sample the table data better, for even lower resolutions, closer to the input clock.