Yeah it's called quantization. The thing is, though, is when you start producing music you realize heavily quantized music is extremely stale and boring. You have to put in effort by adding "off the grid" details to make it feel alive.