FIGnition FUZE Hardware Reference Manual page 30

Table of Contents

Advertisement

Low Oct
Values:
251
177
High Oct
Values:
125
88
n pitch>
converts a semitone pitch of
lar and match_value (from the pitch table). It offsets
pose
so that by default a pitch of 0 is middle C on a piano. You can change the value of
to change the key that
transpose
bundle, but is re-listed here:
Command(s)
Code
pitches
create pitches
251 c, 236 c,
223 c, 210 c, 198 c,
187 c, 177 c, 167 c,
157 c, 148 c, 140 c,
132 c, 125 c, 118 c,
111 c, 105 c, 99 c,
93 c, 88 c, 83 c, 78 c,
74 c, 70 c, 66 c,
semitone
: pitch>
pitch>
;
You use
pitch>
and
typed
aud <exe>
12 pitch> beep <exe>
D#
E
236
A
A#
167
D#
E
118
A
A#
83
pitch>
0 24 u/
5 swap -
swap pitches + c@
beep
together to make musical notes. For example, if you have
to turn the audio on, then typing:
F
F#
223
210
B
C
157
148
F
F#
111
105
B
C
78
74
n
in the range -128 to 127 into the correct presca-
by the value in the variable
n
works in. Again the code is part of the inFUZE
Explanation
This simply creates a table of the
pitches listed above.
pitch>
the semitone value.
We first convert the semitone into a
semitone mod 24 and the double-
octave div 24.
We subtract the double-octave from
5 to get the prescalar value.
we then look up the (semitone mod
24) value in the pitches table.
G
198
C#
140
G
99
C#
70
expects to be provided with
G#
187
D
132
G#
93
D
66
trans-

Advertisement

Table of Contents
loading

Table of Contents