Yamaha YMF795 Manual page 13

Automobile sound player-2
Table of Contents

Advertisement

YMF795
Default: 0000h
Rest data
Index
b15
b14
$00h
0
0
CH1 - CH0 : Part setting
Using CH1 or 0 bit, set the part of each rest.
CH[1:0]
00b
01b
10b
11b
TI3 - TI0 : Interval setting
These bits are used to set the interval time before the processing of the next note and rest.
The interval "48" represents the time for the whole note.
The following table is exactly the same as that for the note data.
TI [3:0]
0h
1h
2h
3h
4h
5h
6h
7h
8h
9h
Ah
Bh
Ch
Dh
Eh
Fh
VCHE, VCH2 – VCH0 : Timbre change function
Although the maximum number of timbres that can be simultaneously used is four, the timbre can be changed during
sound reproduction by setting these bits. Set VCHE to "1" and set a timbre number by using VCH2 to VCH0.
Switching of timbre in rest data is made according to the designated time of the sequence data. After the next note to
generate, the timbre in a part specified by CH0 and CH1 will be changed.
Make the change of a timbre after sound generation of a part to change is completely stopped.
The state at which sound generation is completely stopped is not a state where TK (sound length) is ended but a state
where release time of envelope is completed.
Note that unusual sound may be instantaneously generated if switching the timbre while sound generation is not
completely stopped.
If the timbre allocation is changed by using this function, the $30h register itself will be rewritten.
b13
b12
b11
b10
1
1
0
0
Part designation
0
1
2
3
Interval
3
2
3
4
6
8
9
12
18
24
48
1
16
24
36
48
b9
b8
b7
b6
CH1 CH0
VCHE TI3
-13-
b5
b4
b3
b2
TI2
TI1
TI0
VCH2 VCH1VCH0
b1
b0

Advertisement

Table of Contents
loading

Table of Contents