Extracting tempo from audio and setting the project tempo is still a Sonar weakness.
The click track will be helpful to determine the tempo for sonar to use.
Using short audio clips/project will be easiest to adjust tempo until all feels good with the sonar metronome. Use the click track and metronome to work on this. Then add the audio drum clips to be sure.
Important to make sure all tracks are trimmed the same at beginning and end (zoom in to determine no part of any loop is beyond a measure boundary), save as to new project name, bounce clips, save,....
(I start all projects on 2nd/3rd measure to have access to the first beat adjustments and any intro stuff.)
After bounce check clip/measure boundaries again. Excess is not allowed. You may have to add space.
Since the tracks are separate, using audio snap to extract midi and paste to midi track will work fine. Be aware, all extracted notes are the same note values. (My experience using only for single percussion clips.)
If you want to combine the midi tracks you will need to change the midi note number (using transpose) for each track to correspond with standard note values for drums. CAL scripts can also be used for this.
Then, properly trim the clips if needed, bounce, and create loops. Making them groove clips will allow sonar to adjust them for timing and pitch.
The files will be located in the audio folder for the project. I copy them to folders in the samples folder.
-------------------------------------------
Some swear by PT Beat detective. I know nothing, nothing!
Some Reaper bits:
This is a tool I will now obtain to determine tempos:
http://www.virtualdj.com/products/virtualdj/price.htmlI have imported audio from dozens of 4 track tapes, and cassettes. I find sonar AS does not provide consistent tempo detection between tracks.
Forum thread:
http://forum.cockos.com/showthread.php?t=139020&highlight=extract+tempo+from+audio A good video demonstration that is "similar" to Sonar, in some ways, for working with long clips:
http://forum.cockos.com/showthread.php?t=14737&highlight=extract+tempo+from+audio