Audio-in stuttering/not recording properly

I am using a Scarlett Focusrite on Linux and I am trying to record something in Ardour. I add a new Audio track and the input from the Focusrite is obviously detected since there is some audio passing through but its only passing through in almost equally spaced little slits (sorry don’t know how to describe it better).

Edit: I also tried recording in Audacity and it works perfectly. I am using the ALSA backend.

Below I provide a photo of a recording where I was providing a constant sound to the Mic but only little bits got through.


If someone can point me in the right direction I would be much obliged.

What audio/MIDI backend did you select in Ardour? What buffer size are you using?