-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
500 lines (349 loc) · 13.5 KB
/
index.html
File metadata and controls
500 lines (349 loc) · 13.5 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
<!DOCTYPE html>
<html lang="en" dir=>
<head>
<meta name="generator" content="Hugo 0.79.1" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="The idea behind the Sound Hacking github organisation is to take advantage of the latest advances of Machine learning and Audio processing to create innovative applications.
Interactive sound input# inputs in microcontrollers for preprocessing interface to PC for further processing. it’s also possible to have microcontroller standalone applications Debug workflow# it’s possible to debug an embedded sound processing system by injecting packets and retrieving the results Discord channel# invitation to the Sound Hacking discord server A place to ask questions, make suggestions and see posts about the progress Topics#Offline Preparation#The Offline preparation is a necessary step to understand the signal and condition it for the target application where it will be used, that’s where Python with its scientific toolkits and machine learning environment will be used.">
<meta name="theme-color" content="#FFFFFF"><meta property="og:title" content="" />
<meta property="og:description" content="The idea behind the Sound Hacking github organisation is to take advantage of the latest advances of Machine learning and Audio processing to create innovative applications.
Interactive sound input# inputs in microcontrollers for preprocessing interface to PC for further processing. it’s also possible to have microcontroller standalone applications Debug workflow# it’s possible to debug an embedded sound processing system by injecting packets and retrieving the results Discord channel# invitation to the Sound Hacking discord server A place to ask questions, make suggestions and see posts about the progress Topics#Offline Preparation#The Offline preparation is a necessary step to understand the signal and condition it for the target application where it will be used, that’s where Python with its scientific toolkits and machine learning environment will be used." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://soundhacking.github.io/" />
<title>Index | Sound Hacking</title>
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="/book.min.134b70e5316650a530cb42e4e8630b2a01d532bebfc0337028211175336e4806.css" integrity="sha256-E0tw5TFmUKUwy0Lk6GMLKgHVMr6/wDNwKCERdTNuSAY=">
<script defer src="/en.search.min.e2b4f6c20b490f06792ff8aa9b29161b28e0c19a3d8637df95924fa22dea4847.js" integrity="sha256-4rT2wgtJDwZ5L/iqmykWGyjgwZo9hjfflZJPoi3qSEc="></script>
<!--
Made with Book Theme
https://github.com/alex-shpak/hugo-book
-->
</head>
<body dir=>
<input type="checkbox" class="hidden toggle" id="menu-control" />
<input type="checkbox" class="hidden toggle" id="toc-control" />
<main class="container flex">
<aside class="book-menu">
<nav>
<h2 class="book-brand">
<a href="/"><span>Sound Hacking</span>
</a>
</h2>
<div class="book-search">
<input type="text" id="book-search-input" placeholder="Search" aria-label="Search" maxlength="64" data-hotkeys="s/" />
<div class="book-search-spinner hidden"></div>
<ul id="book-search-results"></ul>
</div>
</nav>
<script>(function(){var menu=document.querySelector("aside.book-menu nav");addEventListener("beforeunload",function(event){localStorage.setItem("menu.scrollTop",menu.scrollTop);});menu.scrollTop=localStorage.getItem("menu.scrollTop");})();</script>
</aside>
<div class="book-page">
<header class="book-header">
<script src="/js/stl_viewer/stl_viewer.min.js"></script>
<script src="/js/svg-pan-zoom.min.js"></script>
<div class="flex align-center justify-between">
<label for="menu-control">
<img src="/svg/menu.svg" class="book-icon" alt="Menu" />
</label>
<strong>Index</strong>
<label for="toc-control">
<img src="/svg/toc.svg" class="book-icon" alt="Table of Contents" />
</label>
</div>
<aside class="hidden clearfix">
<nav id="TableOfContents">
<ul>
<li><a href="#interactive-sound-input">Interactive sound input</a></li>
<li><a href="#debug-workflow">Debug workflow</a></li>
</ul>
<ul>
<li><a href="#offline-preparation">Offline Preparation</a></li>
<li><a href="#real-time-processing">Real Time Processing</a></li>
<li><a href="#capture">Capture</a></li>
<li><a href="#display">Display</a></li>
<li><a href="#microcontrollers">Microcontrollers</a></li>
</ul>
<ul>
<li><a href="#pystreamhttpsgithubcomsoundhackingpystream"><a href="https://github.com/SoundHacking/pystream">pystream</a></a>
<ul>
<li><a href="#dependencies">dependencies</a></li>
</ul>
</li>
<li><a href="#see-sound">see sound</a>
<ul>
<li><a href="#live-demo">Live demo</a></li>
</ul>
</li>
<li><a href="#librosa_demo">librosa_demo</a></li>
</ul>
</nav>
</aside>
</header>
<article class="markdown"><p>The idea behind the <a href="https://github.com/SoundHacking">Sound Hacking github organisation</a> is to take advantage of the latest advances of Machine learning and Audio processing to create innovative applications.</p>
<h2 id="interactive-sound-input">
Interactive sound input
<a class="anchor" href="#interactive-sound-input">#</a>
</h2>
<ul>
<li>inputs in microcontrollers for preprocessing interface to PC for further processing.</li>
<li>it’s also possible to have microcontroller standalone applications</li>
</ul>
<div class="text-center">
<img
src="/images/goal.png"
alt=""
width=""
decoding="async"
/>
</div>
<h2 id="debug-workflow">
Debug workflow
<a class="anchor" href="#debug-workflow">#</a>
</h2>
<ul>
<li>it’s possible to debug an embedded sound processing system by injecting packets and retrieving the results</li>
</ul>
<div class="text-center">
<img
src="/images/usb_cdc_test.png"
alt=""
width="500"
decoding="async"
/>
</div>
<h1 id="discord-channel">
Discord channel
<a class="anchor" href="#discord-channel">#</a>
</h1>
<div class="text-center">
<iframe src="https://discord.com/widget?id=780126809671991328&theme=dark" width="350" height="300" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
</div>
<ul>
<li>invitation to the <a href="https://discord.gg/57cZapWHkC">Sound Hacking discord server</a></li>
<li>A place to ask questions, make suggestions and see posts about the progress</li>
</ul>
<h1 id="topics">
Topics
<a class="anchor" href="#topics">#</a>
</h1>
<h2 id="offline-preparation">
Offline Preparation
<a class="anchor" href="#offline-preparation">#</a>
</h2>
<p>The Offline preparation is a necessary step to understand the signal and condition it for the target application where it will be used, that’s where Python with its scientific toolkits and machine learning environment will be used.</p>
<ul>
<li>Signal Analysis</li>
<li>Machine Learning</li>
</ul>
<h2 id="real-time-processing">
Real Time Processing
<a class="anchor" href="#real-time-processing">#</a>
</h2>
<p>Smart applications are ones that instantly react to the user in an interactive, collaborative or assistive mode such as during tracking.
Therefore an instant response of the system is what creates a feeling of connection with the instrument.</p>
<p>Real time Audio processing requires dedicated hardware acceleration to prevent delays.</p>
<h2 id="capture">
Capture
<a class="anchor" href="#capture">#</a>
</h2>
<p>It’s about capture of audio and other user inputs. Audio goes through I2S microphone arrays connected to microcontrollers. Other user inputs can be accelerometer or touch interfaces that are to be used as control for sound generation</p>
<ul>
<li>Microphones</li>
<li>Accelerometers</li>
<li>smart touch surface</li>
<li>USB interfaces (Audio / HID / Serial Data)</li>
</ul>
<h2 id="display">
Display
<a class="anchor" href="#display">#</a>
</h2>
<p>The output should not only be hearable as a sound signal but also visual in order to assist the interaction.</p>
<ul>
<li>webapp view of live audio signal</li>
<li>Status feedback through LEDs</li>
</ul>
<h2 id="microcontrollers">
Microcontrollers
<a class="anchor" href="#microcontrollers">#</a>
</h2>
<div class="text-center">
<img
src="/images/hardware.png"
alt=""
width="800"
decoding="async"
/>
</div>
<ul>
<li>MEMS microphones : <a href="https://cdn-reichelt.de/documents/datenblatt/A300/DEBO_MEMS_MIC_DB_EN.pdf">SPH0645</a></li>
<li><a href="https://stm32-base.org/boards/STM32F407VGT6-STM32F4XX-M.html">STM32F407VGT6</a></li>
</ul>
<p>Microcontrollers in scope :</p>
<ul>
<li>STM32 based on ARM-M4
<ul>
<li>Black pill : STM32F411 (USB)</li>
<li>Audio Discovery : STM32F407 (USB, stereo out)</li>
<li>DevEBox : STM32F407 (USB, SDCARD)</li>
</ul>
</li>
<li>ESP32 (wifi / BT)</li>
<li>nRF52 (custom RF / BT)</li>
</ul>
<p>Example integration of cubemx with pio :</p>
<ul>
<li><a href="https://github.com/STM32Libs/f411_piocube_lib_blink">f411_piocube_lib_blink</a></li>
</ul>
<h1 id="repositories">
Repositories
<a class="anchor" href="#repositories">#</a>
</h1>
<h2 id="pystreamhttpsgithubcomsoundhackingpystream">
<a href="https://github.com/SoundHacking/pystream">pystream</a>
<a class="anchor" href="#pystreamhttpsgithubcomsoundhackingpystream">#</a>
</h2>
<ul>
<li>List audio devices</li>
<li>Test Audio input and output</li>
<li>connect inputs to outputs</li>
<li>process the live stream between input and output</li>
<li>generate tone</li>
</ul>
<h3 id="dependencies">
dependencies
<a class="anchor" href="#dependencies">#</a>
</h3>
<ul>
<li>matplotlib</li>
<li>numpy</li>
<li><a href="https://python-sounddevice.readthedocs.io/">sounddevice</a></li>
</ul>
<h2 id="see-sound">
see sound
<a class="anchor" href="#see-sound">#</a>
</h2>
<div class="container">
<div class="row">
<div class="col text-center">
<a class="book-btn" href="https://github.com/SoundHacking/see_sound/" role="button" target="_blank">github project</a>
</div>
</div>
</div>
<ul>
<li>a web app framework to see the sound in different forms</li>
<li>real-time analysis of played audio</li>
<li>Playing sound with html5 <a href="https://www.w3.org/TR/webaudio/">web Audio API</a></li>
</ul>
<h3 id="live-demo">
Live demo
<a class="anchor" href="#live-demo">#</a>
</h3>
<div class="container">
<div class="row">
<div class="col text-center">
<a id="btn-ce4bd70ba71e09c0" class="book-btn" role="button" >Full screen</a>
<a class="book-btn" href="https://soundhacking.github.io/see_sound/" role="button" target="_blank">Open in a new page</a>
</div>
</div>
<iframe id="ifm-ce4bd70ba71e09c0" src="https://soundhacking.github.io/see_sound/" width=100% height=300 frameborder="0" ></iframe>
<script>
var button = document.getElementById("btn-ce4bd70ba71e09c0");
button.onclick = ()=>{
var elem = document.getElementById("ifm-ce4bd70ba71e09c0");
if (elem.requestFullscreen) {
elem.requestFullscreen();
} else if (elem.webkitRequestFullscreen) {
elem.webkitRequestFullscreen();
} else if (elem.msRequestFullscreen) {
elem.msRequestFullscreen();
}
};
</script>
<h2 id="librosa_demo">
librosa_demo
<a class="anchor" href="#librosa_demo">#</a>
</h2>
<div class="container">
<div class="row">
<div class="col text-center">
<a class="book-btn" href="https://github.com/SoundHacking/librosa_demo/" role="button" target="_blank">github project</a>
</div>
</div>
</div>
<ul>
<li>Jupyter notebooks to showcase librosa functions</li>
</ul>
<div class="text-center">
<img
src="/images/librosa.png"
alt=""
width="600"
decoding="async"
/>
</div>
</article>
<footer class="book-footer">
<div class="flex flex-wrap justify-between">
</div>
</footer>
<div class="book-comments">
</div>
<label for="menu-control" class="hidden book-menu-overlay"></label>
</div>
<aside class="book-toc">
<nav id="TableOfContents">
<ul>
<li><a href="#interactive-sound-input">Interactive sound input</a></li>
<li><a href="#debug-workflow">Debug workflow</a></li>
</ul>
<ul>
<li><a href="#offline-preparation">Offline Preparation</a></li>
<li><a href="#real-time-processing">Real Time Processing</a></li>
<li><a href="#capture">Capture</a></li>
<li><a href="#display">Display</a></li>
<li><a href="#microcontrollers">Microcontrollers</a></li>
</ul>
<ul>
<li><a href="#pystreamhttpsgithubcomsoundhackingpystream"><a href="https://github.com/SoundHacking/pystream">pystream</a></a>
<ul>
<li><a href="#dependencies">dependencies</a></li>
</ul>
</li>
<li><a href="#see-sound">see sound</a>
<ul>
<li><a href="#live-demo">Live demo</a></li>
</ul>
</li>
<li><a href="#librosa_demo">librosa_demo</a></li>
</ul>
</nav>
</aside>
</main>
</body>
</html>