commit 1fe964a65fff3b434b793306d6b0cd52176401c5 Author: frtk Date: Fri Mar 18 21:15:17 2016 +0100 git push -u origin master diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..13661dd --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Duco Winterwerp + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..7f4cd8c --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# AASP: Arduino Audio SPatializer + +The AASP library provides audio spatialization classes and tools used +in Thomas Bigot spatialization module (http://modulations.xyz). \ No newline at end of file diff --git a/keywords.txt b/keywords.txt new file mode 100644 index 0000000..b544196 --- /dev/null +++ b/keywords.txt @@ -0,0 +1,10 @@ + +####################################### +# Datatypes (KEYWORD1) +####################################### + + + +####################################### +# Methods and Functions (KEYWORD2) +####################################### diff --git a/src/Rotatizer.h b/src/Rotatizer.h new file mode 100644 index 0000000..8859ef1 --- /dev/null +++ b/src/Rotatizer.h @@ -0,0 +1,45 @@ +/* + @file Rotatizer.h + + + */ + +#ifndef ROTATIZER_H +#define ROTATIZER_H + +#define N_SPEAKERS 6 + +#include + + +// +class Rotatizer { + + // + public: + + Rotatizer(); + + + void ; + + + // + private: + + // speakers + uint8_t _sp_vol[N_SPEAKERS]; + uint8_t _sp_idx_curr; + uint8_t _sp_idx_next; + + // rotation sequence + uint8_t _seq_step_curr; + uint8_t _seq_step_next; + uint8_t _seq_substep; + boolean _rotate_clockwise; + + + +}; + +#endif // ROTATIZER.H