Search results

Types

Classes
Interfaces
Enums
Functions
Type aliases
Constants

Members

Properties
Methods
Getters
Setters
Enum members
Show privates

Other

In this module only

Function getClassSet

Defined in PureMusicUtils.ts

(pitchClass: PitchClasstype PitchClassPitchClass): "#" | "b"

Returns sharp if a pitch class has a sharp, otherwise returns flat.

ยท pitchClass - undefined

Returns

undefined

Example

getClassSet('C#') // '#' getClassSet('C') // 'b'