| 数据搜索系统,热门电子元器件搜索 |
|
API4000M8 数据表(PDF) 6 Page - Aplus Intergrated Circuits |
|
|
|||||||||||||||||||||||||||||
API4000M8 数据表(HTML) 6 Page - Aplus Intergrated Circuits |
|
6 / 15 page ![]() INTEGRATED API4000M SERIES CIRCUITS INC. VOICE OTP MODULE Ver1.1 6 2. Address : Sn is the no. of Sound in Instruction LDSPADB and LDSPADF, which is mean the Start Address and End Address of Memory Sound Data. When Sound is Coding, compiler (API4000SE) will define Address of each Sound, the Address can be used when program is compiling. If you want to set Address of Sound, just choice the no. of Sound. 3. Sample Rate : Data in Instruction PLAYSP is mean Code of Sample Rate, each code is equivalent a Sample Rate. There is 32 type Sample Rate during 4KHz to 32KHz, there is a C.2 Pitch Table in C.Melody Processor. 4. e.g.﹕ LDSPADB C1A , S9 ; /* Set CH1A to Start Address of Sound9 */ LDSPADF C1A , S9 ; /* Set CH1A to End Address of Sound9 */ PLAYSP C1A , 19 ; /* Play Sound9 on CH1, Sample Rate is 16KHz */ LDSPADB C2B , S21 ; /* Set CH2B to Start Address of Sound21 */ LDSPADF C2B , S21 ; /* Set CH2B to End Address of Sound21 */ PLAYSP C2B , 19 ; /* Play Sound21 on CH2,Sample Rate is 16KHz */ LDSPADB C3A , S123 ; /* Set CH3A to Start Address of Sound123 */ LDSPADF C3A , S123 ; /* Set CH3A to End Address of Sound123 */ PLAYSP C3A , 0 ; /* Play Sound123 on CH3, Sample Rate is 4KHz */ LDSPADB C4B , S888 ; /* Set CH4B to Start Address of Sound888 */ LDSPADF C4B , S888 ; /* Set CH4B to End Address of Sound888 */ PLAYSP C4B , 0 ; /* Play Sound888 on CH4, Sample Rate is 4KHz */ C. Melody Processor Melody Processor inside API4000M use Wave Table construction to simulate the tone from musical instrument, It can coinstantaneous play 4 Channel. Each Channel has 2 banks Wave Table, A group is reference Address of treble tone, B group is reference Address of bass tone. treble tone range is during B3(71) ~ B4(83), reference value is B3(71); bass tone range is during E1(40) ~ A#3(70), reference value is A#2(58). Each Melody Note Data is in 2 byte form, 1st byte consists of 5bits Beat Data, 2bits Channel Data, and 1 bit Control Data, 2nd byte consists of 5bits Pitch Data, 1 bit Bank Data, and 2bits Control Data. Melody Processor can processor 32 type Beats, There is a Beat Table on Table C.1. All processible Pitch range is during E1(40) ~ B4(83), total 36 type Note, Table C.2 is a list about Pitch Data, Note, and Sample Rate. Tempo of Melody is set by Function TEMPO Rn, the value of Rn is from Code value of Tempo, Table C.3 is about their reference. Instruction LDMYAD Mn is used to set Start Address of Melody Data in Memory, Mn is the Code of Melody, As Melody compiling, compiler(API4000ME) will define Data Address of each Melody, Data Address can be use in coding. You can use Melody Code to set Address of Melody. Melody’s playing is controlled by Instruction OUT PE, Rn, There is description about how to control in D.Input & Output Data. Melody’s change instrument and end signal is defined in Melody Data, it will active 2 interrupt signal “Change Instrument” and “Song End”, if program detects such signal, it will do correspondent action. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |