NanoLux (Device) 3.0
Codebase for the open-source AudioLux device.
|
#include "nanolux_types.h"
Go to the source code of this file.
Classes | |
struct | Pattern |
Variables | |
int | formant_pose = 0 |
Used for smoothing (old) formant processing. | |
double | formants [3] |
Global formant array, used for accessing. | |
bool | noise |
bool | drums [3] |
double | fbs [5] |
double | fss [5] |
int | advanced_size = 20 |
unsigned int | sampling_period_us = round(1000000 / SAMPLING_FREQUENCY) |
Audio sampling period. | |
int | F0arr [20] |
Used for smoothing (old) formant processing. | |
int | F1arr [20] |
Used for smoothing (old) formant processing. | |
int | F2arr [20] |
Used for smoothing (old) formant processing. | |
unsigned long | microseconds |
double | vReal [SAMPLES] |
double | vImag [SAMPLES] |
Imaginary component of vReal. Unused. | |
double | vRealHist [SAMPLES] |
Last state of the vReal array. | |
double | delt [SAMPLES] |
double | maxDelt = 0. |
unsigned long | myTime |
Pattern | mainPatterns [] |
The current list of patterns, externed from globals.h. | |
int | NUM_PATTERNS = 15 |
The number of patterns that can be shown, externed from globals.h. | |
This file contains global variables.
Many of the variables in the NanoLux project are global. However, this means that thare are many variables defined that have limited use outside of a few files.
Variables that don't make sense to define in main.ino but are used globally should be first defined here.
double delt[SAMPLES] |
Variable used to store the frequency delta between vReal and vRealHist.
double fbs[5] |
Global FIVE BAND SPLIT which stores changing bands based on raw frequencies
Pattern mainPatterns[] |
The current list of patterns, externed from globals.h.
double maxDelt = 0. |
Global variable used to access the frequency band with the largest delta between iterations.
double vReal[SAMPLES] |
Array to store both sampled and FFT'ed audio. Processing is done in place.