SuperCollider CLASSES

LibraryBase

Abstract global storage class
Subclasses: Archive, Library

Description

Base class for Library and Archive

There is only one global instance: Archive.global, or Library.global, which is initialized automatically in the subclasses.

Class Methods

*global

*global = obj

Subclass responsibility

*clear

Clear the dictionary

*at ( ... args)

Access the dictionary at a path with keys. The keys may be any object, but are usually Symbols.

*put ( ... args)

Store an object in the dictionary at a path, given as a list of keys and the object to be stored as last argument. The keys may be any object, but are usually Symbols.

*atList (args)

Access the dictionary at a path, given as a list of keys. The keys may be any object, but are usually Symbols.

*putList (args)

Store an object in the dictionary at a path, given as a list of keys and the object to be stored as last argument. The keys may be any object, but are usually Symbols.

Inherited class methods

Undocumented class methods

*create ( ... args)

*postTree

Instance Methods

Inherited instance methods

Examples

// an example from the subclass Library:

Library.put(\multi, \level, \addressing, \system, "i'm the thing you are putting in here");
Library.at(\multi, \level, \addressing, \system).postln;
Library.atList([\multi, \level, \addressing, \system]).postln;