Creating a sync track with a sample playing

It could be the driver. I don’t use Sonic Pi on Windows, but this thread might be helpful: [SOLVED] Select ASIO Driver?