MusicKit and SndKit Concepts | ||
---|---|---|
Prev | Appendix C. Summary of ScoreFile Language Syntax |
midiConstants:
channelModeConstant
systemRealTimeConstant
channelModeConstant:
resetControllers
localControlModeOn
localControlModeOff
allNotesOff
omniModeOff
omniModeOn
monoMode
polyMode
systemRealTimeConstant:
sysClock
sysUndefined0xf9
sysStart
sysContinue
sysStop
sysUndefined0xfd
sysActiveSensing
sysReset
otherConstants:
keyNumber
NO (equal to 0)
YES (equal to 1)
predeclaredVariable:
pitchVariable
ScoreFile reserves more than 200 keywords for the representation of pitch names and key numbers. Rather than list the entire set of these keywords, formulas are given here that describe the form of the keyNumber and pitchVariable names.
keyNumber:
pitchVariablek
pitchVariable:
pitchLetter [ sharpOrFlat ] octave
pitchLetter:
c
d
e
f
g
a
b
sharpOrFlat:
s
f
octave:
00
0
1
2
3
4
5
6
7
8
9
The ScoreFile special symbols are read-only variables that can manipulate their own value. Special symbols should never be assigned a value in an assignment statement.
specialSymbols:
t
ran