Cakewalk has a feature that allows you to "tap" a tempo, but you're not using Cakewalk. Maybe the Korg has a similar feature?
Also, (DISCLAIMER) I've never tested this But there is a popular formula that says:
[Using the formula 60,000 divided by bpm of song equals the number of milliseconds...