git push -u origin master
This commit is contained in:
commit
1fe964a65f
21
LICENSE
Normal file
21
LICENSE
Normal 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
README.md
Normal file
4
README.md
Normal 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
keywords.txt
Normal file
10
keywords.txt
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
#######################################
|
||||
# Datatypes (KEYWORD1)
|
||||
#######################################
|
||||
|
||||
|
||||
|
||||
#######################################
|
||||
# Methods and Functions (KEYWORD2)
|
||||
#######################################
|
45
src/Rotatizer.h
Normal file
45
src/Rotatizer.h
Normal 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…
Reference in New Issue
Block a user