Skip to main content

Group

The Group class represents a group in a Kontakt instrument and provides access to its zones.

class Group
info

This class cannot be instantiated directly. Instances are returned by Instrument.groups, Instrument.group, and Zone.group.

Properties

name

name: String { get }

The name of the group.


zones

zones: ZoneList { get }

All zones in the group as a ZoneList.

Methods

add_zone

add_zone(_ sample: Sample) -> (Zone)

Creates a new zone in this group from the given kontakt.Sample and returns it. Zones created this way are destroyable via Zone.destroy.


to_string

to_string() -> (String)

Returns a string representation of the group.