How can i create audio loops that play perfectly in time?

Hi there,

How can i create audio loops that play perfectly in time?

Like in bitwig you drag an audio track from project view to the file browser and bang it s there and you can preview it eversoafter ( with all beat information embedded )