acoustic-engine 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. acoustic_engine-1.0.0/LICENSE +411 -0
  2. acoustic_engine-1.0.0/MANIFEST.in +4 -0
  3. acoustic_engine-1.0.0/PKG-INFO +574 -0
  4. acoustic_engine-1.0.0/README.md +535 -0
  5. acoustic_engine-1.0.0/pyproject.toml +76 -0
  6. acoustic_engine-1.0.0/setup.cfg +4 -0
  7. acoustic_engine-1.0.0/src/acoustic_engine/__init__.py +54 -0
  8. acoustic_engine-1.0.0/src/acoustic_engine/analysis/__init__.py +0 -0
  9. acoustic_engine-1.0.0/src/acoustic_engine/analysis/event_buffer.py +85 -0
  10. acoustic_engine-1.0.0/src/acoustic_engine/analysis/generator.py +262 -0
  11. acoustic_engine-1.0.0/src/acoustic_engine/analysis/matcher.py +228 -0
  12. acoustic_engine-1.0.0/src/acoustic_engine/analysis/windowed_matcher.py +358 -0
  13. acoustic_engine-1.0.0/src/acoustic_engine/config.py +453 -0
  14. acoustic_engine-1.0.0/src/acoustic_engine/engine.py +294 -0
  15. acoustic_engine-1.0.0/src/acoustic_engine/events.py +50 -0
  16. acoustic_engine-1.0.0/src/acoustic_engine/input/__init__.py +0 -0
  17. acoustic_engine-1.0.0/src/acoustic_engine/input/listener.py +205 -0
  18. acoustic_engine-1.0.0/src/acoustic_engine/models.py +103 -0
  19. acoustic_engine-1.0.0/src/acoustic_engine/parallel_engine.py +169 -0
  20. acoustic_engine-1.0.0/src/acoustic_engine/processing/__init__.py +0 -0
  21. acoustic_engine-1.0.0/src/acoustic_engine/processing/dsp.py +166 -0
  22. acoustic_engine-1.0.0/src/acoustic_engine/processing/filter.py +101 -0
  23. acoustic_engine-1.0.0/src/acoustic_engine/profiles.py +221 -0
  24. acoustic_engine-1.0.0/src/acoustic_engine/runner.py +138 -0
  25. acoustic_engine-1.0.0/src/acoustic_engine/tester/__init__.py +206 -0
  26. acoustic_engine-1.0.0/src/acoustic_engine/tester/__main__.py +9 -0
  27. acoustic_engine-1.0.0/src/acoustic_engine/tester/display.py +198 -0
  28. acoustic_engine-1.0.0/src/acoustic_engine/tester/mixer.py +166 -0
  29. acoustic_engine-1.0.0/src/acoustic_engine/tester/runner.py +384 -0
  30. acoustic_engine-1.0.0/src/acoustic_engine/tuner/__init__.py +61 -0
  31. acoustic_engine-1.0.0/src/acoustic_engine/tuner/__main__.py +9 -0
  32. acoustic_engine-1.0.0/src/acoustic_engine/tuner/app.js +1617 -0
  33. acoustic_engine-1.0.0/src/acoustic_engine/tuner/audio-engine.js +1222 -0
  34. acoustic_engine-1.0.0/src/acoustic_engine/tuner/check_braces.py +24 -0
  35. acoustic_engine-1.0.0/src/acoustic_engine/tuner/index.html +392 -0
  36. acoustic_engine-1.0.0/src/acoustic_engine/tuner/styles.css +1751 -0
  37. acoustic_engine-1.0.0/src/acoustic_engine/tuner/visualizer.js +861 -0
  38. acoustic_engine-1.0.0/src/acoustic_engine.egg-info/PKG-INFO +574 -0
  39. acoustic_engine-1.0.0/src/acoustic_engine.egg-info/SOURCES.txt +46 -0
  40. acoustic_engine-1.0.0/src/acoustic_engine.egg-info/dependency_links.txt +1 -0
  41. acoustic_engine-1.0.0/src/acoustic_engine.egg-info/entry_points.txt +2 -0
  42. acoustic_engine-1.0.0/src/acoustic_engine.egg-info/requires.txt +15 -0
  43. acoustic_engine-1.0.0/src/acoustic_engine.egg-info/top_level.txt +1 -0
  44. acoustic_engine-1.0.0/tests/test_hybrid.py +30 -0
  45. acoustic_engine-1.0.0/tests/test_models.py +49 -0
  46. acoustic_engine-1.0.0/tests/test_noise_resilience.py +260 -0
  47. acoustic_engine-1.0.0/tests/test_profiles.py +82 -0
  48. acoustic_engine-1.0.0/tests/test_windowed.py +103 -0
@@ -0,0 +1,411 @@
1
+ Attribution-NonCommercial 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create an advisory or other
8
+ relationship. Creative Commons provides its licenses and related
9
+ information on an "as-is" basis. Creative Commons gives no warranties
10
+ regarding its licenses, any material licensed under their terms and
11
+ conditions, or any related information. Creative Commons disclaims all
12
+ liability for damages resulting from their use to the fullest extent
13
+ possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary, for example,
42
+ because of any applicable exception or limitation to
43
+ copyright, then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_users
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution-NonCommercial 4.0 International Public
58
+ License
59
+
60
+ By exercising the Licensed Rights (defined below), You accept and agree
61
+ to be bound by the terms and conditions of this Creative Commons
62
+ Attribution-NonCommercial 4.0 International Public License
63
+ ("Public License"). To the extent this Public License may be interpreted
64
+ as a contract, the Licensed Rights are granted to You in consideration
65
+ of Your acceptance of these terms and conditions, and the Licensor
66
+ grants You such rights in consideration of benefits the Licensor
67
+ receives from making the Licensed Material available under these terms
68
+ and conditions.
69
+
70
+
71
+ Section 1 -- Definitions.
72
+
73
+ a. Adapted Material means material subject to Copyright and Similar
74
+ Rights that is derived from or based upon the Licensed Material
75
+ and in which the Licensed Material is translated, altered,
76
+ arranged, transformed, or otherwise modified in a manner
77
+ requiring permission under the Copyright and Similar Rights held
78
+ by the Licensor. For purposes of this Public License, where the
79
+ Licensed Material is a musical work, performance, or sound
80
+ recording, Adapted Material is always produced where the Licensed
81
+ Material is synched in timed relation with a moving image.
82
+
83
+ b. Adapter's License means the license You apply to Your Copyright
84
+ and Similar Rights in Your contributions to Adapted Material in
85
+ accordance with the terms and conditions of this Public License.
86
+
87
+ c. Copyright and Similar Rights means copyright and/or similar rights
88
+ closely related to copyright including, without limitation,
89
+ performance, broadcast, sound recording, and Sui Generis Database
90
+ Rights, without regard to how the rights are labeled or
91
+ categorized. For purposes of this Public License, the rights
92
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
93
+ Rights.
94
+
95
+ d. Effective Technological Measures means those measures that, in the
96
+ absence of proper authority, may not be circumvented under laws
97
+ fulfilling obligations under Article 11 of the WIPO Copyright
98
+ Treaty adopted on December 20, 1996, and/or similar international
99
+ agreements.
100
+
101
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
102
+ any other exception or limitation to copyright and/or similar
103
+ rights that applies to Your use of the Licensed Material.
104
+
105
+ f. Licensed Material means the artistic or literary work, database,
106
+ or other material to which the Licensor applied this Public
107
+ License.
108
+
109
+ g. Licensed Rights means the rights granted to You subject to the
110
+ terms and conditions of this Public License, which are limited to
111
+ all Copyright and Similar Rights that apply to Your use of the
112
+ Licensed Material and that the Licensor has authority to grant.
113
+
114
+ h. Licensor means the individual(s) or entity(ies) granting rights
115
+ under this Public License.
116
+
117
+ i. NonCommercial means not primarily intended for or directed towards
118
+ commercial advantage or monetary compensation. For purposes of
119
+ this Public License, the exchange of the Licensed Material for
120
+ other material subject to Copyright and Similar Rights by digital
121
+ file-sharing or similar means is NonCommercial provided there is
122
+ no payment of monetary compensation in connection with the
123
+ exchange.
124
+
125
+ j. Share means to provide material to the public by any means or
126
+ process that requires permission under the Licensed Rights, such
127
+ as reproduction, public display, public performance,
128
+ distribution, dissemination, communication, or importation, and
129
+ to make material available to the public including in ways that
130
+ members of the public may access the material from a place and at
131
+ a time individually chosen by them.
132
+
133
+ k. Sui Generis Database Rights means rights other than copyright
134
+ resulting from Directive 96/9/EC of the European Parliament and
135
+ of the Council of 11 March 1996 on the legal protection of
136
+ databases, as amended and/or succeeded, as well as other
137
+ essentially equivalent rights anywhere in the world.
138
+
139
+ l. You means the individual or entity exercising the Licensed Rights
140
+ under this Public License. Your has a corresponding meaning.
141
+
142
+
143
+ Section 2 -- Scope.
144
+
145
+ a. License grant.
146
+
147
+ 1. Subject to the terms and conditions of this Public License,
148
+ the Licensor hereby grants You a worldwide, royalty-free,
149
+ non-sublicensable, non-exclusive, irrevocable license to
150
+ exercise the Licensed Rights in the Licensed Material to:
151
+
152
+ a. reproduce and Share the Licensed Material, in whole or
153
+ in part, for NonCommercial purposes only; and
154
+
155
+ b. produce, reproduce, and Share Adapted Material for
156
+ NonCommercial purposes only.
157
+
158
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
159
+ Exceptions and Limitations apply to Your use, this Public
160
+ License does not apply, and You do not need to comply with
161
+ its terms and conditions.
162
+
163
+ 3. Term. The term of this Public License is specified in
164
+ Section 6(a).
165
+
166
+ 4. Media and formats; technical modifications allowed. The
167
+ Licensor authorizes You to exercise the Licensed Rights in
168
+ all media and formats whether now known or hereafter
169
+ created, and to make technical modifications necessary to do
170
+ so. The Licensor waives and/or agrees not to assert any
171
+ right or authority to forbid You from making technical
172
+ modifications necessary to exercise the Licensed Rights,
173
+ including technical modifications necessary to circumvent
174
+ Effective Technological Measures. For purposes of this
175
+ Public License, simply making modifications authorized by
176
+ this Section 2(a)(4) never produces Adapted Material.
177
+
178
+ 5. Downstream recipients.
179
+
180
+ a. Offer from the Licensor -- Licensed Material. Every
181
+ recipient of the Licensed Material automatically
182
+ receives an offer from the Licensor to exercise the
183
+ Licensed Rights under the terms and conditions of
184
+ this Public License.
185
+
186
+ b. No downstream restrictions. You may not offer or
187
+ impose any additional or different terms or
188
+ conditions on, or apply any Effective Technological
189
+ Measures to, the Licensed Material if doing so
190
+ restricts exercise of the Licensed Rights by any
191
+ recipient of the Licensed Material.
192
+
193
+ 6. No endorsement. Nothing in this Public License constitutes or
194
+ may be interpreted as a permission to assert or imply that
195
+ You are, or that Your use of the Licensed Material is,
196
+ connected with, or sponsored, endorsed, or granted official
197
+ status by, the Licensor or others designated to receive
198
+ attribution as provided in Section 3(a)(1)(A)(i).
199
+
200
+ b. Other rights.
201
+
202
+ 1. Moral rights, such as the right of integrity, are not
203
+ licensed under this Public License, nor are publicity,
204
+ privacy, and/or other similar personality rights; however,
205
+ to the extent possible, the Licensor waives and/or agrees
206
+ not to assert any such rights held by the Licensor to the
207
+ limited extent necessary to allow You to exercise the
208
+ Licensed Rights, but not otherwise.
209
+
210
+ 2. Patent and trademark rights are not licensed under this
211
+ Public License.
212
+
213
+ 3. To the extent possible, the Licensor waives any right to
214
+ collect royalties from You for the exercise of the Licensed
215
+ Rights, whether directly or through a collecting society
216
+ under any voluntary or waivable statutory or compulsory
217
+ licensing scheme. In all other cases the Licensor expressly
218
+ reserves any right to collect such royalties, including
219
+ when the Licensed Material is used for other than
220
+ NonCommercial purposes.
221
+
222
+
223
+ Section 3 -- License Conditions.
224
+
225
+ Your exercise of the Licensed Rights is expressly made subject to the
226
+ following conditions.
227
+
228
+ a. Attribution.
229
+
230
+ 1. If You Share the Licensed Material (including in modified
231
+ form), You must:
232
+
233
+ a. retain the following if it is supplied by the Licensor
234
+ with the Licensed Material:
235
+
236
+ i. identification of the creator(s) of the Licensed
237
+ Material and any others designated to receive
238
+ attribution, in any reasonable manner requested
239
+ by the Licensor (including by pseudonym if
240
+ designated);
241
+
242
+ ii. a copyright notice;
243
+
244
+ iii. a notice that refers to this Public License;
245
+
246
+ iv. a notice that refers to the disclaimer of
247
+ warranties;
248
+
249
+ v. a URI or hyperlink to the Licensed Material to
250
+ the extent reasonably practicable;
251
+
252
+ b. indicate if You modified the Licensed Material and
253
+ retain an indication of any previous modifications; and
254
+
255
+ c. indicate the Licensed Material is licensed under this
256
+ Public License, and include the text of, or the URI or
257
+ hyperlink to, this Public License.
258
+
259
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
260
+ reasonable manner based on the medium, means, and context in
261
+ which You Share the Licensed Material. For example, it may
262
+ be reasonable to satisfy the conditions by providing a URI
263
+ or hyperlink to a resource that includes the required
264
+ information.
265
+
266
+ 3. If requested by the Licensor, You must remove any of the
267
+ information required by Section 3(a)(1)(A) to the extent
268
+ reasonably practicable.
269
+
270
+ 4. If You Share Adapted Material You produce, the Adapter's
271
+ License You apply must not prevent recipients of the Adapted
272
+ Material from complying with this Public License.
273
+
274
+
275
+ Section 4 -- Sui Generis Database Rights.
276
+
277
+ Where the Licensed Rights include Sui Generis Database Rights that
278
+ apply to Your use of the Licensed Material:
279
+
280
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
281
+ to extract, reuse, reproduce, and Share all or a substantial
282
+ portion of the contents of the database for NonCommercial
283
+ purposes only;
284
+
285
+ b. if You include all or a substantial portion of the database
286
+ contents in a database in which You have Sui Generis Database
287
+ Rights, then the database in which You have Sui Generis Database
288
+ Rights (but not its individual contents) is Adapted Material;
289
+ and
290
+
291
+ c. You must comply with the conditions in Section 3(a) if You Share
292
+ all or a substantial portion of the contents of the database.
293
+
294
+ For the avoidance of doubt, this Section 4 supplements and does not
295
+ replace Your obligations under this Public License where the Licensed
296
+ Rights include other Copyright and Similar Rights.
297
+
298
+
299
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
300
+
301
+ a. Unless otherwise separately undertaken by the Licensor, to the
302
+ extent possible, the Licensor offers the Licensed Material as-is
303
+ and as-available, and makes no representations or warranties of
304
+ any kind concerning the Licensed Material, whether express,
305
+ implied, statutory, or other. This includes, without limitation,
306
+ warranties of title, merchantability, fitness for a particular
307
+ purpose, non-infringement, absence of latent or other defects,
308
+ accuracy, or the presence or absence of errors, whether or not
309
+ known or discoverable. Where disclaimers of warranties are not
310
+ allowed in full or in part, this disclaimer may not apply to
311
+ You.
312
+
313
+ b. To the extent possible, in no event will the Licensor be liable
314
+ to You on any legal theory (including, without limitation,
315
+ negligence) or otherwise for any direct, special, indirect,
316
+ incidental, consequential, punitive, exemplary, or other losses,
317
+ costs, expenses, or damages arising out of this Public License
318
+ or use of the Licensed Material, even if the Licensor has been
319
+ advised of the possibility of such losses, costs, expenses, or
320
+ damages. Where a limitation of liability is not allowed in full
321
+ or in part, this limitation may not apply to You.
322
+
323
+ c. The disclaimer of warranties and limitation of liability provided
324
+ above shall be interpreted in a manner that, to the extent
325
+ possible, most closely approximates an absolute disclaimer and
326
+ waiver of all liability.
327
+
328
+
329
+ Section 6 -- Term and Termination.
330
+
331
+ a. This Public License applies for the term of the Copyright and
332
+ Similar Rights licensed here. However, if You fail to comply
333
+ with this Public License, then Your rights under this Public
334
+ License terminate automatically.
335
+
336
+ b. Where Your right to use the Licensed Material has terminated
337
+ under Section 6(a), it reinstates:
338
+
339
+ 1. automatically as of the date the violation is cured,
340
+ provided it is cured within 30 days of Your discovery of
341
+ the violation; or
342
+
343
+ 2. upon express reinstatement by the Licensor.
344
+
345
+ For the avoidance of doubt, this Section 6(b) does not affect any
346
+ right the Licensor may have to seek remedies for Your
347
+ violations of this Public License.
348
+
349
+ c. For the avoidance of doubt, the Licensor may also offer the
350
+ Licensed Material under separate terms or conditions or stop
351
+ distributing the Licensed Material at any time; however, doing
352
+ so will not terminate this Public License.
353
+
354
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
355
+ License.
356
+
357
+
358
+ Section 7 -- Other Terms and Conditions.
359
+
360
+ a. The Licensor shall not be bound by any additional or different
361
+ terms or conditions communicated by You unless expressly agreed.
362
+
363
+ b. Any arrangements, understandings, or agreements regarding the
364
+ Licensed Material not stated herein are separate from and
365
+ independent of the terms and conditions of this Public License.
366
+
367
+
368
+ Section 8 -- Interpretation.
369
+
370
+ a. For the avoidance of doubt, this Public License does not, and
371
+ shall not be interpreted to, reduce, limit, restrict, or impose
372
+ conditions on any use of the Licensed Material that could
373
+ lawfully be made without permission under this Public License.
374
+
375
+ b. To the extent possible, if any provision of this Public License
376
+ is deemed unenforceable, it shall be automatically reformed to
377
+ the minimum extent necessary to make it enforceable. If the
378
+ provision cannot be reformed, it shall be severed from this
379
+ Public License without affecting the enforceability of the
380
+ remaining terms and conditions.
381
+
382
+ c. No term or condition of this Public License will be waived and
383
+ no failure to comply consented to unless expressly agreed to by
384
+ the Licensor.
385
+
386
+ d. Nothing in this Public License constitutes or may be interpreted
387
+ as a limitation upon, or waiver of, any privileges and
388
+ immunities that apply to the Licensor or You, including from the
389
+ legal processes of any jurisdiction or authority.
390
+
391
+
392
+ =======================================================================
393
+
394
+ Creative Commons is not a party to its public licenses.
395
+ Notwithstanding, Creative Commons may elect to apply one of its public
396
+ licenses to material it publishes and in those instances will be
397
+ considered the "Licensor." The text of the Creative Commons public
398
+ licenses is dedicated to the public domain under the CC0 Public Domain
399
+ Dedication. Except for the limited purpose of indicating that material
400
+ is shared under a Creative Commons public license or as otherwise
401
+ permitted by the Creative Commons policies published at
402
+ creativecommons.org/policies, Creative Commons does not authorize the
403
+ use of the trademark "Creative Commons" or any other trademark or logo
404
+ of Creative Commons without its prior written consent including,
405
+ without limitation, in connection with any unauthorized modifications
406
+ to any of its public licenses or any other arrangements,
407
+ understandings, or agreements concerning use of licensed material. For
408
+ the avoidance of doubt, this paragraph does not form part of the
409
+ public licenses.
410
+
411
+ Creative Commons may be contacted at creativecommons.org.
@@ -0,0 +1,4 @@
1
+ recursive-include src/acoustic_engine/tuner *.html *.css *.js
2
+ include README.md
3
+ include LICENSE
4
+ include pyproject.toml