Track containers
Last updated
Was this helpful?
Last updated
Was this helpful?
A track container(class TrackContainer
) is a group of several tracks. There are three types of track containers:
Song container(part of Song
): The root track container
Pattern store(PatternStore
): The container for tracks in
Preview track container(PreviewTrackContainer
): The container for tracks used in previewing presets
TrackContainer::tracks()
: Get the list of all tracks in the container.
TrackContainer::addTrack(Track *)
: Add a track to the track container. You don't need to call it in most cases because Track::create
will add the created track to the given container.
TrackContainer::removeTrack(Track *)
: Remove a track from the track container.
You can access to Song
and PatternStore
. You can't access PreviewTrackContainer
directly because it's intended to be used only by PresetPreviewPlayHandle
.