Fixed frequency changes when modifying octaves