ese 519 include files

Dependents:   PROJECT_3D_AUDIO COG4050_adxl355_tilt COG4050_adxl355_tilt COG4050_adxl355_tilt_4050

Committer:
niv17
Date:
Tue Apr 07 21:09:51 2015 +0000
Revision:
0:5347612e39a3
april_7 _ sonic start

Who changed what in which revision?

UserRevisionLine numberNew contents of line
niv17 0:5347612e39a3 1 /*############################################################################*/
niv17 0:5347612e39a3 2 /*# #*/
niv17 0:5347612e39a3 3 /*# MIT HRTF C Library #*/
niv17 0:5347612e39a3 4 /*# Copyright � 2007 Aristotel Digenis #*/
niv17 0:5347612e39a3 5 /*# #*/
niv17 0:5347612e39a3 6 /*# Filename: mit_hrtf_filter.h #*/
niv17 0:5347612e39a3 7 /*# Version: 0.1 #*/
niv17 0:5347612e39a3 8 /*# Date: 04/05/2007 #*/
niv17 0:5347612e39a3 9 /*# Author(s): Aristotel Digenis (adigenis@users.sourceforge.net) #*/
niv17 0:5347612e39a3 10 /*# Credit: Bill Gardner and Keith Martin #*/
niv17 0:5347612e39a3 11 /*# Licence: GNU Library or Lesser General Public License (LGPL) #*/
niv17 0:5347612e39a3 12 /*# #*/
niv17 0:5347612e39a3 13 /*############################################################################*/
niv17 0:5347612e39a3 14
niv17 0:5347612e39a3 15
niv17 0:5347612e39a3 16 #ifndef MIT_HRTF_FILTER_H
niv17 0:5347612e39a3 17 #define MIT_HRTF_FILTER_H
niv17 0:5347612e39a3 18
niv17 0:5347612e39a3 19 #define MIT_HRTF_AZI_POSITIONS_00 37
niv17 0:5347612e39a3 20 #define MIT_HRTF_AZI_POSITIONS_10 37
niv17 0:5347612e39a3 21 #define MIT_HRTF_AZI_POSITIONS_20 37
niv17 0:5347612e39a3 22 #define MIT_HRTF_AZI_POSITIONS_30 31
niv17 0:5347612e39a3 23 #define MIT_HRTF_AZI_POSITIONS_40 29
niv17 0:5347612e39a3 24 #define MIT_HRTF_AZI_POSITIONS_50 23
niv17 0:5347612e39a3 25 #define MIT_HRTF_AZI_POSITIONS_60 19
niv17 0:5347612e39a3 26 #define MIT_HRTF_AZI_POSITIONS_70 13
niv17 0:5347612e39a3 27 #define MIT_HRTF_AZI_POSITIONS_80 7
niv17 0:5347612e39a3 28 #define MIT_HRTF_AZI_POSITIONS_90 1
niv17 0:5347612e39a3 29
niv17 0:5347612e39a3 30 #define MIT_HRTF_44_TAPS 128
niv17 0:5347612e39a3 31 #define MIT_HRTF_48_TAPS 140
niv17 0:5347612e39a3 32 #define MIT_HRTF_88_TAPS 256
niv17 0:5347612e39a3 33 #define MIT_HRTF_96_TAPS 279
niv17 0:5347612e39a3 34
niv17 0:5347612e39a3 35 typedef struct mit_hrtf_filter_44_str
niv17 0:5347612e39a3 36 {
niv17 0:5347612e39a3 37 short left[MIT_HRTF_44_TAPS];
niv17 0:5347612e39a3 38 short right[MIT_HRTF_44_TAPS];
niv17 0:5347612e39a3 39 }mit_hrtf_filter_44;
niv17 0:5347612e39a3 40
niv17 0:5347612e39a3 41 typedef struct mit_hrtf_filter_48_str
niv17 0:5347612e39a3 42 {
niv17 0:5347612e39a3 43 short left[MIT_HRTF_48_TAPS];
niv17 0:5347612e39a3 44 short right[MIT_HRTF_48_TAPS];
niv17 0:5347612e39a3 45 }mit_hrtf_filter_48;
niv17 0:5347612e39a3 46
niv17 0:5347612e39a3 47 typedef struct mit_hrtf_filter_88_str
niv17 0:5347612e39a3 48 {
niv17 0:5347612e39a3 49 short left[MIT_HRTF_88_TAPS];
niv17 0:5347612e39a3 50 short right[MIT_HRTF_88_TAPS];
niv17 0:5347612e39a3 51 }mit_hrtf_filter_88;
niv17 0:5347612e39a3 52
niv17 0:5347612e39a3 53 typedef struct mit_hrtf_filter_96_str
niv17 0:5347612e39a3 54 {
niv17 0:5347612e39a3 55 short left[MIT_HRTF_96_TAPS];
niv17 0:5347612e39a3 56 short right[MIT_HRTF_96_TAPS];
niv17 0:5347612e39a3 57 }mit_hrtf_filter_96;
niv17 0:5347612e39a3 58
niv17 0:5347612e39a3 59 typedef struct mit_hrtf_filter_set_44_str
niv17 0:5347612e39a3 60 {
niv17 0:5347612e39a3 61 mit_hrtf_filter_44 e_10[MIT_HRTF_AZI_POSITIONS_10];
niv17 0:5347612e39a3 62 mit_hrtf_filter_44 e_20[MIT_HRTF_AZI_POSITIONS_20];
niv17 0:5347612e39a3 63 mit_hrtf_filter_44 e_30[MIT_HRTF_AZI_POSITIONS_30];
niv17 0:5347612e39a3 64 mit_hrtf_filter_44 e_40[MIT_HRTF_AZI_POSITIONS_40];
niv17 0:5347612e39a3 65 mit_hrtf_filter_44 e00[MIT_HRTF_AZI_POSITIONS_00];
niv17 0:5347612e39a3 66 mit_hrtf_filter_44 e10[MIT_HRTF_AZI_POSITIONS_10];
niv17 0:5347612e39a3 67 mit_hrtf_filter_44 e20[MIT_HRTF_AZI_POSITIONS_20];
niv17 0:5347612e39a3 68 mit_hrtf_filter_44 e30[MIT_HRTF_AZI_POSITIONS_30];
niv17 0:5347612e39a3 69 mit_hrtf_filter_44 e40[MIT_HRTF_AZI_POSITIONS_40];
niv17 0:5347612e39a3 70 mit_hrtf_filter_44 e50[MIT_HRTF_AZI_POSITIONS_50];
niv17 0:5347612e39a3 71 mit_hrtf_filter_44 e60[MIT_HRTF_AZI_POSITIONS_60];
niv17 0:5347612e39a3 72 mit_hrtf_filter_44 e70[MIT_HRTF_AZI_POSITIONS_70];
niv17 0:5347612e39a3 73 mit_hrtf_filter_44 e80[MIT_HRTF_AZI_POSITIONS_80];
niv17 0:5347612e39a3 74 mit_hrtf_filter_44 e90[MIT_HRTF_AZI_POSITIONS_90];
niv17 0:5347612e39a3 75 }mit_hrtf_filter_set_44;
niv17 0:5347612e39a3 76
niv17 0:5347612e39a3 77 typedef struct mit_hrtf_filter_set_48_str
niv17 0:5347612e39a3 78 {
niv17 0:5347612e39a3 79 mit_hrtf_filter_48 e_10[MIT_HRTF_AZI_POSITIONS_10];
niv17 0:5347612e39a3 80 mit_hrtf_filter_48 e_20[MIT_HRTF_AZI_POSITIONS_20];
niv17 0:5347612e39a3 81 mit_hrtf_filter_48 e_30[MIT_HRTF_AZI_POSITIONS_30];
niv17 0:5347612e39a3 82 mit_hrtf_filter_48 e_40[MIT_HRTF_AZI_POSITIONS_40];
niv17 0:5347612e39a3 83 mit_hrtf_filter_48 e00[MIT_HRTF_AZI_POSITIONS_00];
niv17 0:5347612e39a3 84 mit_hrtf_filter_48 e10[MIT_HRTF_AZI_POSITIONS_10];
niv17 0:5347612e39a3 85 mit_hrtf_filter_48 e20[MIT_HRTF_AZI_POSITIONS_20];
niv17 0:5347612e39a3 86 mit_hrtf_filter_48 e30[MIT_HRTF_AZI_POSITIONS_30];
niv17 0:5347612e39a3 87 mit_hrtf_filter_48 e40[MIT_HRTF_AZI_POSITIONS_40];
niv17 0:5347612e39a3 88 mit_hrtf_filter_48 e50[MIT_HRTF_AZI_POSITIONS_50];
niv17 0:5347612e39a3 89 mit_hrtf_filter_48 e60[MIT_HRTF_AZI_POSITIONS_60];
niv17 0:5347612e39a3 90 mit_hrtf_filter_48 e70[MIT_HRTF_AZI_POSITIONS_70];
niv17 0:5347612e39a3 91 mit_hrtf_filter_48 e80[MIT_HRTF_AZI_POSITIONS_80];
niv17 0:5347612e39a3 92 mit_hrtf_filter_48 e90[MIT_HRTF_AZI_POSITIONS_90];
niv17 0:5347612e39a3 93 }mit_hrtf_filter_set_48;
niv17 0:5347612e39a3 94
niv17 0:5347612e39a3 95 typedef struct mit_hrtf_filter_set_88_str
niv17 0:5347612e39a3 96 {
niv17 0:5347612e39a3 97 mit_hrtf_filter_88 e_10[MIT_HRTF_AZI_POSITIONS_10];
niv17 0:5347612e39a3 98 mit_hrtf_filter_88 e_20[MIT_HRTF_AZI_POSITIONS_20];
niv17 0:5347612e39a3 99 mit_hrtf_filter_88 e_30[MIT_HRTF_AZI_POSITIONS_30];
niv17 0:5347612e39a3 100 mit_hrtf_filter_88 e_40[MIT_HRTF_AZI_POSITIONS_40];
niv17 0:5347612e39a3 101 mit_hrtf_filter_88 e00[MIT_HRTF_AZI_POSITIONS_00];
niv17 0:5347612e39a3 102 mit_hrtf_filter_88 e10[MIT_HRTF_AZI_POSITIONS_10];
niv17 0:5347612e39a3 103 mit_hrtf_filter_88 e20[MIT_HRTF_AZI_POSITIONS_20];
niv17 0:5347612e39a3 104 mit_hrtf_filter_88 e30[MIT_HRTF_AZI_POSITIONS_30];
niv17 0:5347612e39a3 105 mit_hrtf_filter_88 e40[MIT_HRTF_AZI_POSITIONS_40];
niv17 0:5347612e39a3 106 mit_hrtf_filter_88 e50[MIT_HRTF_AZI_POSITIONS_50];
niv17 0:5347612e39a3 107 mit_hrtf_filter_88 e60[MIT_HRTF_AZI_POSITIONS_60];
niv17 0:5347612e39a3 108 mit_hrtf_filter_88 e70[MIT_HRTF_AZI_POSITIONS_70];
niv17 0:5347612e39a3 109 mit_hrtf_filter_88 e80[MIT_HRTF_AZI_POSITIONS_80];
niv17 0:5347612e39a3 110 mit_hrtf_filter_88 e90[MIT_HRTF_AZI_POSITIONS_90];
niv17 0:5347612e39a3 111 }mit_hrtf_filter_set_88;
niv17 0:5347612e39a3 112
niv17 0:5347612e39a3 113 typedef struct mit_hrtf_filter_set_96_str
niv17 0:5347612e39a3 114 {
niv17 0:5347612e39a3 115 mit_hrtf_filter_96 e_10[MIT_HRTF_AZI_POSITIONS_10];
niv17 0:5347612e39a3 116 mit_hrtf_filter_96 e_20[MIT_HRTF_AZI_POSITIONS_20];
niv17 0:5347612e39a3 117 mit_hrtf_filter_96 e_30[MIT_HRTF_AZI_POSITIONS_30];
niv17 0:5347612e39a3 118 mit_hrtf_filter_96 e_40[MIT_HRTF_AZI_POSITIONS_40];
niv17 0:5347612e39a3 119 mit_hrtf_filter_96 e00[MIT_HRTF_AZI_POSITIONS_00];
niv17 0:5347612e39a3 120 mit_hrtf_filter_96 e10[MIT_HRTF_AZI_POSITIONS_10];
niv17 0:5347612e39a3 121 mit_hrtf_filter_96 e20[MIT_HRTF_AZI_POSITIONS_20];
niv17 0:5347612e39a3 122 mit_hrtf_filter_96 e30[MIT_HRTF_AZI_POSITIONS_30];
niv17 0:5347612e39a3 123 mit_hrtf_filter_96 e40[MIT_HRTF_AZI_POSITIONS_40];
niv17 0:5347612e39a3 124 mit_hrtf_filter_96 e50[MIT_HRTF_AZI_POSITIONS_50];
niv17 0:5347612e39a3 125 mit_hrtf_filter_96 e60[MIT_HRTF_AZI_POSITIONS_60];
niv17 0:5347612e39a3 126 mit_hrtf_filter_96 e70[MIT_HRTF_AZI_POSITIONS_70];
niv17 0:5347612e39a3 127 mit_hrtf_filter_96 e80[MIT_HRTF_AZI_POSITIONS_80];
niv17 0:5347612e39a3 128 mit_hrtf_filter_96 e90[MIT_HRTF_AZI_POSITIONS_90];
niv17 0:5347612e39a3 129 }mit_hrtf_filter_set_96;
niv17 0:5347612e39a3 130
niv17 0:5347612e39a3 131 #endif // _MIT_HRTF_FILTER_H