dgs.utils.track.Tracks.add_empty_tracks

Tracks.add_empty_tracks(n: int = 1) list[int][source]

Given a Track, compute the next track-ID, and save this track in data using this ID.

Parameters:

n – The number of new Tracks to add.

Returns:

The track-IDs of the added tracks.

Return type:

tids