Namespace: PitchClassSet
Interfaces
Type Aliases
PitchClassSet
Ƭ PitchClassSet: Shape
& PitchClassSetBrand
Defined in
Shape
Ƭ Shape: TB.TwelveBits
Defined in
Variables
ALL
• Const
ALL: PitchClassSet
Defined in
EMPTY
• Const
EMPTY: PitchClassSet
Defined in
Functions
add
▸ add(pcs
, pc
): PitchClassSet
Parameters
Name | Type |
---|---|
pcs | PitchClassSet |
pc | PitchClass |
Returns
Defined in
difference
▸ difference(a
, b
): PitchClassSet
Parameters
Name | Type |
---|---|
a | PitchClassSet |
b | PitchClassSet |
Returns
Defined in
from
▸ from(...values
): PitchClassSet
Parameters
Name | Type |
---|---|
...values | PitchClass [] |
Returns
Defined in
fromRaw
▸ fromRaw(v
): PitchClassSet
Parameters
Name | Type |
---|---|
v | TwelveBits | PartialTwelveBits |
Returns
Defined in
fromRawMasked
▸ fromRawMasked(v
): PitchClassSet
Parameters
Name | Type |
---|---|
v | number |
Returns
Defined in
fromRawUnknown
▸ fromRawUnknown(v
): PitchClassSet
Parameters
Name | Type |
---|---|
v | unknown |
Returns
Defined in
has
▸ has(pcs
, pc
): boolean
Parameters
Name | Type |
---|---|
pcs | PitchClassSet |
pc | PitchClass |
Returns
boolean
Defined in
hasShape
▸ hasShape(v
): v is TwelveBits
Parameters
Name | Type |
---|---|
v | unknown |
Returns
v is TwelveBits
Defined in
intersection
▸ intersection(a
, b
): PitchClassSet
Parameters
Name | Type |
---|---|
a | PitchClassSet |
b | PitchClassSet |
Returns
Defined in
isSubset
▸ isSubset(value
, of
): boolean
Parameters
Name | Type |
---|---|
value | PitchClassSet |
of | PitchClassSet |
Returns
boolean
Defined in
isSuperset
▸ isSuperset(value
, of
): boolean
Parameters
Name | Type |
---|---|
value | PitchClassSet |
of | PitchClassSet |
Returns
boolean
Defined in
mark
▸ mark(_v
): _v is PitchClassSet
Parameters
Name | Type |
---|---|
_v | TwelveBits |
Returns
_v is PitchClassSet
Defined in
markRaw
▸ markRaw(v
): v is PitchClassSet
Parameters
Name | Type |
---|---|
v | number |
Returns
v is PitchClassSet
Defined in
markRawUnknown
▸ markRawUnknown(v
): v is PitchClassSet
Parameters
Name | Type |
---|---|
v | unknown |
Returns
v is PitchClassSet
Defined in
remove
▸ remove(pcs
, pc
): PitchClassSet
Parameters
Name | Type |
---|---|
pcs | PitchClassSet |
pc | PitchClass |
Returns
Defined in
symmetricDifference
▸ symmetricDifference(a
, b
): PitchClassSet
Parameters
Name | Type |
---|---|
a | PitchClassSet |
b | PitchClassSet |
Returns
Defined in
toggle
▸ toggle(pcs
, pc
): PitchClassSet
Parameters
Name | Type |
---|---|
pcs | PitchClassSet |
pc | PitchClass |
Returns
Defined in
toggleAll
▸ toggleAll(pcs
): PitchClassSet
Parameters
Name | Type |
---|---|
pcs | PitchClassSet |
Returns
Defined in
union
▸ union(a
, b
): PitchClassSet
Parameters
Name | Type |
---|---|
a | PitchClassSet |
b | PitchClassSet |
Returns
Defined in
values
▸ values(pcs
): PitchClass
[]
Parameters
Name | Type |
---|---|
pcs | PitchClassSet |