HOA:
Filter:
Classes (extension) | Libraries > HOA

HOA : Object
ExtensionExtension

a class that stores global variables for the HOA library.
Source: HOA.sc

Description

The HOA class defines variables that may be used by the rest of the HOA library, including resources for kernel encoding and decoding and sample soundfile paths. It is modeled after the Atk class.

Class Methods

HOA.resourceDir

Returns:

the path to SC-HOA's resource directory. If SC-HOA was installed via Quarks, resourceDir should be equal to: Platform.userAppSupportDir +/+ "downloaded-quarks/SC-HOA/resources"

HOA.soundsDir

Returns:

the path to the 'sounds' dir inside the SC-HOA resource directory

HOA.kernelsDir

Returns:

the path to the 'kernels' dir inside the SC-HOA resource directory

HOA.kernelsSubdir

name of subdirectory for kernels within the SC-HOA resource directory

HOA.soundsSubdir

name of subdirectory for sounds within the SC-HOA resource directory

HOA.openResourceDir

runs a unixCmd to open the SC-HOA resource directory.

HOA.kernelDirsFor(keyword, subPaths)

Arguments:

keyword

string, possibly with wildcards, identifying the kernel subdirectory

subPaths

string woth subpahts leading to keyword

Returns:

array of paths matching the given parameters

HOA.soundsDirsFor(keyword, subPaths)

Arguments:

keyword

string, possibly with wildcards, identifying the sounds subdirectory

subPaths

string woth subpahts leading to keyword

Returns:

array of paths matching the given parameters

HOA.o2c(n)

Arguments:

n

order

Returns:

channel count for given order

HOA.c2o(n)

Arguments:

n

channel count

Returns:

order for given channel count

Inherited class methods

Undocumented class methods

HOA.pr_checkServerBooted(server)

HOA.pr_dirsFor(keyword, subdir, subPaths)

Instance Methods

Inherited instance methods