Browse Source

git push -u origin master

master
frtk 6 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 @@
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.

+ 4
- 0
README.md View File

@ -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).

+ 10
- 0
keywords.txt View File

@ -0,0 +1,10 @@
#######################################
# Datatypes (KEYWORD1)
#######################################
#######################################
# Methods and Functions (KEYWORD2)
#######################################

+ 45
- 0
src/Rotatizer.h View File

@ -0,0 +1,45 @@
/*
@file Rotatizer.h
*/
#ifndef ROTATIZER_H
#define ROTATIZER_H
#define N_SPEAKERS 6
#include <stdint.h>
//
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

Loading…
Cancel
Save