| Electronic Components Datasheet Search |
|
RC8650 Datasheet(PDF) 34 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
RC8650 Datasheet(HTML) 34 Page - List of Unclassifed Manufacturers |
|
34 / 48 page ![]() 34 RC8650 VOICE SYNTHESIZER RC SYSTEMS ������������ � � � � ������������ � � � � ����������� �� �� �� �� ������������������ � ��� ��� ���� � � � � �� Figure 3.1. MusicalTone Generator Command Formats MUSICAL TONE GENERATOR The RC8650 contains a three-voice tone generator that can be used for creating music and sound effects. This section explains how to program the generator. Note The musical tone generator output is available only from the AO pins. Digital audio output from the DAOUT pin is not possible. The musical tone generator is activated with the J command (no pa- rameter). Once activated, all data output to the RC8650 is directed to the musical tone generator. Note The RC8650 expects the tone generator data to immediately fol- low the J command; therefore, be sure not to terminate the command with a CR or Null. The tone generator is controlled with four, four-byte data and com- mand frames, called Initialize, Voice, Play, and Quit. With these, the programmer can control the volume, duration, and frequencies of the three voices. Initialize Command The Initialize command sets up the tone generator’s relative amplitude and tempo (speed). The host must issue this command to initialize the tone generator before sending any Voice frames. The Initialize command may, however, be issued anytime afterward to change the volume or tempo on the fly. Initializecommandformat The Initialize command consists of a byte of zero and three param- eters. The parameters are defined as follows: KA Voice amplitude (1-255) KTL Tempo, low byte (0-255) KTH Tempo, high byte (0-255) The range of the tempo KT (KTL and KTH) is 1-65,535 (1–FFFFh); the larger the value, the slower the overall speed of play. The amplitude and tempo affect all three voices, and stay in effect until another Ini- tialize command is issued. If the command is issued between Voice frames to change the volume or tempo on the fly, only the Voice frames following the command will be affected. Voice Frame Voice frames contain the duration and frequency (pitch) information for each voice. All Voice frames are stored in a 2 KB buffer within the RC8650, but are not played until the Play command is issued. If the number of Voice frames exceeds 2 KB in length, the RC8650 will au- tomatically begin playing the data. Voiceframeformat Voice frames are composed of three frequency time constants (K1-K3) and a duration byte (KD), which specifies how long the three voices are to be played. The relationship between the time constant Ki and the output fre- quency fi is: fi = 16,768/Ki where fi is in Hertz and Ki = 4-255. Setting Ki to zero will silence voice i during the frame. KD may be programmed to any value between 1 and 255; the larger it is made, the longer the voices will play during the frame. SECTION3:MUSICAL&SINUSOIDALTONEGENERATORS |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |