Browse Source

git push -u origin master

frtk 4 years ago
commit
1fe964a65f
4 changed files with 80 additions and 0 deletions
  1. 21
    0
      LICENSE
  2. 4
    0
      README.md
  3. 10
    0
      keywords.txt
  4. 45
    0
      src/Rotatizer.h

+ 21
- 0
LICENSE View File

@@ -0,0 +1,21 @@
1
+The MIT License (MIT)
2
+
3
+Copyright (c) 2015 Duco Winterwerp
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+SOFTWARE.

+ 4
- 0
README.md View File

@@ -0,0 +1,4 @@
1
+# AASP: Arduino Audio SPatializer
2
+
3
+The AASP library provides audio spatialization classes and tools used
4
+in Thomas Bigot spatialization module (http://modulations.xyz).  

+ 10
- 0
keywords.txt View File

@@ -0,0 +1,10 @@
1
+
2
+#######################################
3
+# Datatypes (KEYWORD1)
4
+#######################################
5
+
6
+
7
+
8
+#######################################
9
+# Methods and Functions (KEYWORD2)
10
+#######################################

+ 45
- 0
src/Rotatizer.h View File

@@ -0,0 +1,45 @@
1
+/*
2
+  @file Rotatizer.h
3
+  
4
+ 
5
+ */
6
+
7
+#ifndef ROTATIZER_H
8
+#define ROTATIZER_H
9
+
10
+#define N_SPEAKERS 6
11
+
12
+#include <stdint.h>
13
+
14
+
15
+//
16
+class Rotatizer {
17
+
18
+ //
19
+ public:
20
+  
21
+  Rotatizer(); 
22
+
23
+  
24
+  void ;
25
+
26
+    
27
+ //
28
+ private:
29
+  
30
+  // speakers 
31
+  uint8_t _sp_vol[N_SPEAKERS];
32
+  uint8_t _sp_idx_curr;
33
+  uint8_t _sp_idx_next;
34
+
35
+  // rotation sequence
36
+  uint8_t _seq_step_curr;
37
+  uint8_t _seq_step_next;
38
+  uint8_t _seq_substep;
39
+  boolean _rotate_clockwise;
40
+
41
+
42
+
43
+};
44
+
45
+#endif // ROTATIZER.H

Loading…
Cancel
Save