Did you check the midi ports in Cakewalk? Maybe your midi interface?