Preparing search index...
The search index is not available
nwctxt
nwctxt
midi
StaffState
Class StaffState
Index
Constructors
constructor
Properties
base
Accidentals
channel
clef
Base
Note
current
Accidentals
current
Notes
dyn
Vel
dynamic
midi
Events
patch
transpose
Methods
add
Note
apply
apply
Delay
Constructors
constructor
new
Staff
State
(
channel
?
)
:
StaffState
Parameters
channel
:
number
= 0
Returns
StaffState
Properties
base
Accidentals
base
Accidentals
:
Record
<
NWCTXTNoteName
,
NWCTXTAccidental
>
= defaultNoteAccidentals
channel
channel
:
number
= 0
clef
Base
Note
clef
Base
Note
:
number
= clefBaseNotes.Treble
current
Accidentals
current
Accidentals
:
Record
<
NWCTXTNoteName
,
NWCTXTAccidental
>
= defaultNoteAccidentals
current
Notes
current
Notes
:
CurrentNote
[]
= []
dyn
Vel
dyn
Vel
:
number
[]
= defaultDynVel
dynamic
dynamic
:
number
= ...
midi
Events
midi
Events
:
undefined
|
Partial
<
Pick
<
MidiEvents
,
"noteOn"
|
"noteOff"
|
"programChange"
>
>
patch
patch
:
number
= 0
transpose
transpose
:
number
= 0
Methods
add
Note
add
Note
(
position
,
duration
)
:
void
Parameters
position
:
NWCTXTPosition
duration
:
number
Returns
void
apply
apply
(
item
)
:
number
Parameters
item
:
NWCTXTMusicItem
Returns
number
apply
Delay
apply
Delay
(
delay
,
removeTiedNotes
?
)
:
void
Parameters
delay
:
number
removeTiedNotes
:
boolean
= false
Returns
void
Settings
Theme
OS
Light
Dark
On This Page
constructor
base
Accidentals
channel
clef
Base
Note
current
Accidentals
current
Notes
dyn
Vel
dynamic
midi
Events
patch
transpose
add
Note
apply
apply
Delay
nwctxt
generator
lowlevel
midi
parser
utils
NWCTXTBar
NWCTXTBaseMusicItem
NWCTXTChord
NWCTXTClef
NWCTXTDuration
NWCTXTDynamic
NWCTXTEnding
NWCTXTFile
NWCTXTFlow
NWCTXTFontConfig
NWCTXTInstrument
NWCTXTKey
NWCTXTLyrics
NWCTXTMPC
NWCTXTNote
NWCTXTOpts
Loading...
Generated using
TypeDoc