source: ammosreader/org/audio.html

guix
Last change on this file was 6cb85c2, checked in by Enrico Schwass <ennoausberlin@…>, 3 years ago

documentation added and numerical constants replaced

  • Property mode set to 100644
File size: 5.4 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3<head>
4<meta charset="utf-8"/>
5<title>Audio</title>
6<meta name="author" content="Enrico Schwass"/>
7<style type="text/css">
8.underline { text-decoration: underline; }
9</style>
10<link rel="stylesheet" href="/home/enno/.emacs.d/.local/straight/build-28.0.50/revealjs/dist/reveal.css"/>
11
12<link rel="stylesheet" href="/home/enno/.emacs.d/.local/straight/build-28.0.50/revealjs/dist/theme/black.css" id="theme"/>
13</head>
14<body>
15<div class="reveal">
16<div class="slides">
17<section id="sec-title-slide">
18<h1 class="title">Audio</h1><h2 class="author">Enrico Schwass</h2><p class="date">Created: 2022-05-03 Tue 13:09</p>
19</section>
20<section id="table-of-contents-section">
21<div id="table-of-contents" role="doc-toc">
22<h2>Table of Contents</h2>
23<div id="text-table-of-contents" role="doc-toc">
24<ul>
25<li><a href="#/slide-1">1. Description Audio sample file AudioAufzeichnungLOW.bin</a>
26<ul>
27<li><a href="#/slide-1-1">1.1. Global Frame Header (6 x 32 Bit) Offset 0x00000000</a>
28<ul>
29<li><a href="#/slide-1-1-1">1.1.1. 32 Bit Magic word 0x726574fb = 0xfb746572 next magic bytes found at offsets</a></li>
30<li><a href="#/slide-1-1-2">1.1.2. 32 Bit Frame length in 32 bit words</a></li>
31<li><a href="#/slide-1-1-3">1.1.3. 32 Bit Running Frame number</a></li>
32<li><a href="#/slide-1-1-4">1.1.4. 32 Bit Frame Type</a></li>
33<li><a href="#/slide-1-1-5">1.1.5. 32 Bit Data header length in 32 bit words</a></li>
34<li><a href="#/slide-1-1-6">1.1.6. 32 Bit Reserved</a></li>
35</ul>
36</li>
37<li><a href="#/slide-1-2">1.2. Ammos Data header 44 bytes</a></li>
38<li><a href="#/slide-1-3">1.3. Ammos Audio Data Body</a></li>
39</ul>
40</li>
41</ul>
42</div>
43</div>
44</section>
45
46<section>
47<section id="slide-1">
48<h2 id="1"><span class="section-number-2">1.</span> Description Audio sample file AudioAufzeichnungLOW.bin</h2>
49<p>
50Little Endian!!!
51</p>
52
53</section>
54<section id="slide-1-1">
55<h3 id="1-1"><span class="section-number-3">1.1.</span> Global Frame Header (6 x 32 Bit) Offset 0x00000000</h3>
56<div class="outline-text-3" id="text-1-1">
57</div>
58</section>
59<section id="slide-1-1-1">
60<h4 id="1-1-1"><span class="section-number-4">1.1.1.</span> 32 Bit Magic word 0x726574fb = 0xfb746572 next magic bytes found at offsets</h4>
61<p>
620x0000 (0000)
630x0544 (1348)
640x0a88 (2696)
650x0fcf (4047)
660x1510 (5392)
670x1a57 (6743)
680x1f9b (8091)
690x24df (9439)
70</p>
71
72</section>
73<section id="slide-1-1-2">
74<h4 id="1-1-2"><span class="section-number-4">1.1.2.</span> 32 Bit Frame length in 32 bit words</h4>
75<p>
760x51010000 = 0x00000151 = Integer 337 * 4 bytes = 1348 Bytes = 0x0544
77</p>
78
79</section>
80<section id="slide-1-1-3">
81<h4 id="1-1-3"><span class="section-number-4">1.1.3.</span> 32 Bit Running Frame number</h4>
82<p>
830x23450000 = 0x00004523 = Integer 17699
84</p>
85
86</section>
87<section id="slide-1-1-4">
88<h4 id="1-1-4"><span class="section-number-4">1.1.4.</span> 32 Bit Frame Type</h4>
89<p>
900x00010000 = 0x00000100 = Integer 256
91</p>
92
93</section>
94<section id="slide-1-1-5">
95<h4 id="1-1-5"><span class="section-number-4">1.1.5.</span> 32 Bit Data header length in 32 bit words</h4>
96<p>
970x0b000000 = 0x0000000b = Integer 11 * 4 = 44 Bytes
98</p>
99
100</section>
101<section id="slide-1-1-6">
102<h4 id="1-1-6"><span class="section-number-4">1.1.6.</span> 32 Bit Reserved</h4>
103<p>
1040x00000000 = 0x00000000 = Integer 0
105</p>
106
107</section>
108<section id="slide-1-2">
109<h3 id="1-2"><span class="section-number-3">1.2.</span> Ammos Data header 44 bytes</h3>
110<p>
1114 Bytes Sample rate
1124 Bytes Status
1138 Bytes Frequency
1144 Bytes Demod Bandwidth
1154 Bytes Demod Type
1164 Bytes Sample Count
1174 Bytes Channel Count
1184 Bytes Sample Size
119</p>
120
121<p>
1228 Bytes timestamp if extended
123</p>
124
125<p>
1260xd4300000 = 0x000030d4 = 12500 Sample rate
1270x00000000 = 0x00000000 = 0 Squelch Status
1280xc0d3f205 0x00000000 = 0x00000000 0x05f2d3c0 = 99800000 = 99.8 MHz
1290xc0d40100 = 0x0001d4c0 = 120000 = 120 KHz
1300x00000000 = 0x00000000 = 0 = FM
1310x80020000 = 0x00000280 = Integer 640 = Sample Count per Channel
1320x01000000 = 0x00000001 = 1 = 1 Channel
1330x02000000 = 0x00000002 = 2 = 2 Bytes Sample size
1340x1d26fe89 0xcada0500 = 0x0005daca 0x89fe261d = 1647938316938525 microseconds Unixtime = 2022-03-22T09:38:36
135</p>
136
137</section>
138<section id="slide-1-3">
139<h3 id="1-3"><span class="section-number-3">1.3.</span> Ammos Audio Data Body</h3>
140<p>
141Offset 0x0044 = Integer 68 - Next offset 1348 - Differenz = 1280
142</p>
143</section>
144</section>
145</div>
146</div>
147<script src="/home/enno/.emacs.d/.local/straight/build-28.0.50/revealjs/dist/reveal.js"></script>
148<script src="/home/enno/.emacs.d/.local/straight/build-28.0.50/revealjs/plugin/markdown/markdown.js"></script>
149<script src="/home/enno/.emacs.d/.local/straight/build-28.0.50/revealjs/plugin/notes/notes.js"></script>
150<script src="/home/enno/.emacs.d/.local/straight/build-28.0.50/revealjs/plugin/search/search.js"></script>
151<script src="/home/enno/.emacs.d/.local/straight/build-28.0.50/revealjs/plugin/zoom/zoom.js"></script>
152<script>
153// Full list of configuration options available here:
154// https://github.com/hakimel/reveal.js#configuration
155Reveal.initialize({
156
157controls: true,
158progress: true,
159history: false,
160center: true,
161slideNumber: 'c',
162rollingLinks: false,
163keyboard: true,
164mouseWheel: false,
165fragmentInURL: false,
166hashOneBasedIndex: false,
167pdfSeparateFragments: true,
168overview: true,
169
170transition: 'convex',
171transitionSpeed: 'default',
172
173// Plugins with reveal.js 4.x
174plugins: [ RevealMarkdown, RevealNotes, RevealSearch, RevealZoom ],
175
176// Optional libraries used to extend reveal.js
177dependencies: [
178]
179
180});
181</script>
182</body>
183</html>
Note: See TracBrowser for help on using the repository browser.