ymf795 Yamatake Corporation, ymf795 Datasheet - Page 13

no-image

ymf795

Manufacturer Part Number
ymf795
Description
Apl-2 Automobile Sound Player-2
Manufacturer
Yamatake Corporation
Datasheet
YMF795
CH1 - CH0 : Part setting
TI3 - TI0 : Interval setting
VCHE, VCH2 – VCH0 : Timbre change function
Rest data
Index
$00h
The following table is exactly the same as that for the note data.
Using CH1 or 0 bit, set the part of each rest.
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.
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.
b15
0
Default: 0000h
b14
0
CH[1:0]
TI [3:0]
00b
01b
10b
11b
Ah
Dh
Bh
Ch
Eh
Fh
0h
1h
2h
3h
4h
5h
6h
7h
8h
9h
b13
1
b12
1
Part designation
Interval
b11
0
12
18
24
48
16
24
36
48
1
2
3
3
2
3
4
6
8
1
0
9
b10
0
CH1 CH0
b9
-13-
b8
VCHE TI3
b7
b6
TI2
b5
TI1
b4
TI0
b3
VCH2 VCH1VCH0
b2
b1
b0

Related parts for ymf795