Skip to content

ableton.v2.control_surface.default_bank_definitions (runtime)

Live 12 — Live Object Model & framework reference (descriptions and signatures).

Module constants

  • BANK_DEFINITIONS = {'AudioEffectGroupDevice': IndexedDict([('Macros', {'Parameters': ('Macro 1', 'Macro 2', 'Macro 3', 'Macro 4', 'Macro 5', 'Macro 6', 'Macro 7', 'Macro 8')}), ('...
  • BANK_MAIN_KEY = 'Main'
  • BANK_PARAMETERS_KEY = 'Parameters'
  • PARAMETERS_BLACKLIST_FOR_CPP_SANITY_CHECK = {'OriginalSimpler': ('Start', 'End', 'Sensitivity', 'Mode', 'Playback', 'Pad Slicing', 'Multi Sample', 'Warp', 'Warp Mode', 'Voices', 'Preserve', 'Loop Mode', '...
  • RACK_BANKS = IndexedDict([('Macros', {'Parameters': ('Macro 1', 'Macro 2', 'Macro 3', 'Macro 4', 'Macro 5', 'Macro 6', 'Macro 7', 'Macro 8')}), ('Macros 2', {'Parameters': (...

Functions

use(parameter_name)

Classes

class IndexedDict(OrderedDict)

Dictionary that remembers insertion order

Methods

__init__(self, *args, **kwds)

Initialize self. See help(type(self)) for accurate signature.

clear(self)

od.clear() -> None. Remove all items from od.

copy(...)

od.copy() -> a shallow copy of od

fromkeys(iterable, value=None)

Create a new ordered dictionary with keys from iterable and values set to value.

get(self, key, default=None, /)

Return the value for key if key is in the dictionary, else default.

index_by_key(self, key)
item_by_index(self, ix)
items(...)

D.items() -> a set-like object providing a view on D's items

key_by_index(self, ix)
keys(self)

D.keys() -> a set-like object providing a view on D's keys

move_to_end(self, /, key, last=True)

Move an existing element to the end (or beginning if last is false).

Raise KeyError if the element does not exist.

pop(...)

od.pop(key[,default]) -> v, remove specified key and return the corresponding value.

If the key is not found, return the default if given; otherwise, raise a KeyError.

popitem(self, last=True)

Remove and return a (key, value) pair from the dictionary.

Pairs are returned in LIFO order if last is true or FIFO order if false.

setdefault(self, /, key, default=None)

Insert key with a value of default if key is not in the dictionary.

Return the value for key if key is in the dictionary, else default.

update(...)

D.update([E, ]**F) -> None. Update D from dict/iterable E and F. If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]

value_by_index(self, ix)
values(...)

D.values() -> an object providing a view on D's values