Electronic Components Datasheet Search
  English  ▼

X  

VS1103 Datasheet(PDF) 40 Page - VLSI Solution Oy

Part # VS1103
Description  VS1103b - MIDI/ADPCM AUDIO CODEC
PDF  61 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  VLSI [VLSI Solution Oy]
Direct Link  https://www.vlsi.fi/
Logo VLSI - VLSI Solution Oy

VS1103 Datasheet(HTML) 40 Page - VLSI Solution Oy

Back Button VS1103 Datasheet HTML 36Page - VLSI Solution Oy VS1103 Datasheet HTML 37Page - VLSI Solution Oy VS1103 Datasheet HTML 38Page - VLSI Solution Oy VS1103 Datasheet HTML 39Page - VLSI Solution Oy VS1103 Datasheet HTML 40Page - VLSI Solution Oy VS1103 Datasheet HTML 41Page - VLSI Solution Oy VS1103 Datasheet HTML 42Page - VLSI Solution Oy VS1103 Datasheet HTML 43Page - VLSI Solution Oy VS1103 Datasheet HTML 44Page - VLSI Solution Oy Next Button
Zoom Inzoom in Zoom Outzoom out
 40 / 61 page
background image
VS1103b Datasheet
7
OPERATION
7.4.4
Playing ADPCM Data
In order to play back your IMA ADPCM recordings, you have to have a file with a header as
described in Chapter 7.4.3. If this is the case, all you need to do is to provide the ADPCM file
to VS1103 as an ADPCM stream.
7.4.5
Sample Rate Considerations
VS10xx chips that support IMA ADPCM playback are capable of playing back ADPCM files with
any sample rate. However, some other programs may expect IMA ADPCM files to have some
exact sample rates, like 8000 or 11025 Hz. Also, some programs or systems do not support
sample rates below 8000 Hz.
If SM_RECORD_PATH is set, recording is performed from the mixer output at exactly 44.1 kHz
from the mixer output. If SM_RECORD_PATH is not set, recording is performed at 8kHz ×
XT ALI
12.288M Hz from the microphone or line input. From the formula it can be seen that the nominal
8 kHz sample rate can only be obtained if XTALI = 12.288_MHz. Example: If you have a 12 MHz
clock, you will get a sample rate of 7812.5 Hz, which should be recorded to the file.
7.4.6
Example Code
The following code initializes IMA ADPCM encoding on VS1103 and shows how to read the
data.
const unsigned char header[] = {
0x52, 0x49, 0x46, 0x46, 0x1c, 0x10, 0x00, 0x00,
0x57, 0x41, 0x56, 0x45, 0x66, 0x6d, 0x74, 0x20, /*|RIFF....WAVEfmt |*/
0x14, 0x00, 0x00, 0x00, 0x11, 0x00, 0x01, 0x00,
0x40, 0x1f, 0x00, 0x00, 0x75, 0x12, 0x00, 0x00, /*|........@...×...|*/
0x00, 0x01, 0x04, 0x00, 0x02, 0x00, 0xf9, 0x01,
0x66, 0x61, 0x63, 0x74, 0x04, 0x00, 0x00, 0x00, /*|......ù.fact....|*/
0x5c, 0x1f, 0x00, 0x00, 0x64, 0x61, 0x74, 0x61,
0xe8, 0x0f, 0x00, 0x00
};
unsigned char db[512]; /* data buffer for saving to disk */
Version: 1.04, 2018-03-16
40



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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