recording

have imported audio track on track 1. on track 2 i recording a bass line, but on the playback it is out of sync

Aloha B,
Might depend on how your audio I/O is configured.

So we can get an idea of what your recording/monitoring
set- up is, please list your gear. Hardware and software.

{‘-’}

Is your track 2 an audio track or MIDI/Instrument track?