Sequence({ required this.tempo, required this.endBeat, }) { id = globalState.registerSequence(this); }