Music is mathematics. You might stretch it like taffy but it is all coherent to the time. A triplet is three notes in place of one, period. How you play these notes might make them sound different but the principle is still the same.
I only know this from studying an endless stream of music theory when I first started playing the pedal steel guitar circa 1972. Those suckers will get your eddicachun of all things musical up and running in a hurry...
So - y'all can use computers but find the idea of three notes played in one beat rather than two notes played in one beat something about diddling. Outstanding.