A time object has a subdivision as the keys and a number as the values.
import { Time } from "tone"; const time = { "2n": 1, "8n": 3 }; Time(time).valueOf(); // 2n + 8n * 3