English
Language : 

YMF795 Datasheet, PDF (17/45 Pages) YAMAHA CORPORATION – APL-2 Automobile sound Player-2
YMF795
□Other control data
$30h Timbre allocation data
One piece can be generated at the same time up to four parts, and timbre can be assigned for each part. The data is
used by allocating four timbres out of eight timbres registered in the timbre data register to each part.
Default: 0000h
Index b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
$30h
0 V32 V31 V30 0 V22 V21 V20 0 V 1 2 V 1 1 V 1 0 0 V 0 2 V 0 1 V0 0
“x” of Vx[2:0] indicates the part No.
Vx[2:0] and timbre data are as follows.
Vx[2:0]
0h
1h
2h
3h
4h
5h
6h
7h
Timbre data to use
Timbre set in the Index of 10 to 13h is used.
Timbre set in the Index of 14 to 17h is used.
Timbre set in the Index of 18 to 1Bh is used.
Timbre set in the Index of 1C to 1Fh is used.
Timbre set in the Index of 20 to 23h is used.
Timbre set in the Index of 24 to 27h is used.
Timbre set in the Index of 28 to 2Bh is used.
Timbre set in the Index of 2C to 2Fh is used.
$31h Tempo data
This register sets “tempo” for reproduction of a piece. Setting data is equal to (8739/TEMPO)-1. TEMPO is the
number of crotchets that can be reproduced in one minute.
Default: 0000h
Index b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
$31h
0
0
0
0
00
0
0 T7 T6 T5 T4 T3 T2 T1 T0
$32h FM section control
Default: 0000h
Index b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
$32h
0
00
0
0
0
00
00
0
0
0
0 CLR ST
ST : This bit is used to control start/stop of a piece. “1” for start and “0” for stop.
FIFO becomes empty when ST is set to “0.”
CLR : This bit is used to initialize the whole LSI by the software. All the registers except “ Timbre data register” of
Index 10 to 2Fh are initialized. Bit CLR itself is not cleared even if setting to “1.” In normal operation, write “0” into
the bit CLR..
-17-