Browse code

git push -u origin master

frtk authored on 18/03/2016 20:15:17
Showing 4 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,21 @@
0
+The MIT License (MIT)
1
+
2
+Copyright (c) 2015 Duco Winterwerp
3
+
4
+Permission is hereby granted, free of charge, to any person obtaining a copy
5
+of this software and associated documentation files (the "Software"), to deal
6
+in the Software without restriction, including without limitation the rights
7
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+copies of the Software, and to permit persons to whom the Software is
9
+furnished to do so, subject to the following conditions:
10
+
11
+The above copyright notice and this permission notice shall be included in all
12
+copies or substantial portions of the Software.
13
+
14
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+SOFTWARE.
0 21
new file mode 100644
... ...
@@ -0,0 +1,4 @@
0
+# AASP: Arduino Audio SPatializer
1
+
2
+The AASP library provides audio spatialization classes and tools used
3
+in Thomas Bigot spatialization module (http://modulations.xyz).  
0 4
\ No newline at end of file
1 5
new file mode 100644
... ...
@@ -0,0 +1,10 @@
0
+
1
+#######################################
2
+# Datatypes (KEYWORD1)
3
+#######################################
4
+
5
+
6
+
7
+#######################################
8
+# Methods and Functions (KEYWORD2)
9
+#######################################
0 10
new file mode 100644
... ...
@@ -0,0 +1,45 @@
0
+/*
1
+  @file Rotatizer.h
2
+  
3
+ 
4
+ */
5
+
6
+#ifndef ROTATIZER_H
7
+#define ROTATIZER_H
8
+
9
+#define N_SPEAKERS 6
10
+
11
+#include <stdint.h>
12
+
13
+
14
+//
15
+class Rotatizer {
16
+
17
+ //
18
+ public:
19
+  
20
+  Rotatizer(); 
21
+
22
+  
23
+  void ;
24
+
25
+    
26
+ //
27
+ private:
28
+  
29
+  // speakers 
30
+  uint8_t _sp_vol[N_SPEAKERS];
31
+  uint8_t _sp_idx_curr;
32
+  uint8_t _sp_idx_next;
33
+
34
+  // rotation sequence
35
+  uint8_t _seq_step_curr;
36
+  uint8_t _seq_step_next;
37
+  uint8_t _seq_substep;
38
+  boolean _rotate_clockwise;
39
+
40
+
41
+
42
+};
43
+
44
+#endif // ROTATIZER.H