Audio Reactive Infinity Mirror

Dependencies:   mbed-dsp mbed-rtos mbed

Infinity Mirror Project Page https://developer.mbed.org/users/mgolino/notebook/infinity-mirror/

Committer:
mgolino
Date:
Sat Dec 12 01:22:30 2015 +0000
Revision:
0:85385a11b2da
Audio Reactive Infinity Mirror

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mgolino 0:85385a11b2da 1 /* ----------------------------------------------------------------------
mgolino 0:85385a11b2da 2 * Copyright (C) 2010-2013 ARM Limited. All rights reserved.
mgolino 0:85385a11b2da 3 *
mgolino 0:85385a11b2da 4 * $Date: 17. January 2013
mgolino 0:85385a11b2da 5 * $Revision: V1.4.1
mgolino 0:85385a11b2da 6 *
mgolino 0:85385a11b2da 7 * Project: CMSIS DSP Library
mgolino 0:85385a11b2da 8 * Title: arm_const_structs.h
mgolino 0:85385a11b2da 9 *
mgolino 0:85385a11b2da 10 * Description: This file has constant structs that are initialized for
mgolino 0:85385a11b2da 11 * user convenience. For example, some can be given as
mgolino 0:85385a11b2da 12 * arguments to the arm_cfft_f32() function.
mgolino 0:85385a11b2da 13 *
mgolino 0:85385a11b2da 14 * Target Processor: Cortex-M4/Cortex-M3
mgolino 0:85385a11b2da 15 *
mgolino 0:85385a11b2da 16 * Redistribution and use in source and binary forms, with or without
mgolino 0:85385a11b2da 17 * modification, are permitted provided that the following conditions
mgolino 0:85385a11b2da 18 * are met:
mgolino 0:85385a11b2da 19 * - Redistributions of source code must retain the above copyright
mgolino 0:85385a11b2da 20 * notice, this list of conditions and the following disclaimer.
mgolino 0:85385a11b2da 21 * - Redistributions in binary form must reproduce the above copyright
mgolino 0:85385a11b2da 22 * notice, this list of conditions and the following disclaimer in
mgolino 0:85385a11b2da 23 * the documentation and/or other materials provided with the
mgolino 0:85385a11b2da 24 * distribution.
mgolino 0:85385a11b2da 25 * - Neither the name of ARM LIMITED nor the names of its contributors
mgolino 0:85385a11b2da 26 * may be used to endorse or promote products derived from this
mgolino 0:85385a11b2da 27 * software without specific prior written permission.
mgolino 0:85385a11b2da 28 *
mgolino 0:85385a11b2da 29 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
mgolino 0:85385a11b2da 30 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
mgolino 0:85385a11b2da 31 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
mgolino 0:85385a11b2da 32 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
mgolino 0:85385a11b2da 33 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
mgolino 0:85385a11b2da 34 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
mgolino 0:85385a11b2da 35 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
mgolino 0:85385a11b2da 36 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mgolino 0:85385a11b2da 37 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
mgolino 0:85385a11b2da 38 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
mgolino 0:85385a11b2da 39 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
mgolino 0:85385a11b2da 40 * POSSIBILITY OF SUCH DAMAGE.
mgolino 0:85385a11b2da 41 * -------------------------------------------------------------------- */
mgolino 0:85385a11b2da 42
mgolino 0:85385a11b2da 43 #ifndef _ARM_CONST_STRUCTS_H
mgolino 0:85385a11b2da 44 #define _ARM_CONST_STRUCTS_H
mgolino 0:85385a11b2da 45
mgolino 0:85385a11b2da 46 #include "arm_math.h"
mgolino 0:85385a11b2da 47 #include "arm_common_tables.h"
mgolino 0:85385a11b2da 48
mgolino 0:85385a11b2da 49 const arm_cfft_instance_f32 arm_cfft_sR_f32_len16 = {
mgolino 0:85385a11b2da 50 16, twiddleCoef_16, armBitRevIndexTable16, ARMBITREVINDEXTABLE__16_TABLE_LENGTH
mgolino 0:85385a11b2da 51 };
mgolino 0:85385a11b2da 52
mgolino 0:85385a11b2da 53 const arm_cfft_instance_f32 arm_cfft_sR_f32_len32 = {
mgolino 0:85385a11b2da 54 32, twiddleCoef_32, armBitRevIndexTable32, ARMBITREVINDEXTABLE__32_TABLE_LENGTH
mgolino 0:85385a11b2da 55 };
mgolino 0:85385a11b2da 56
mgolino 0:85385a11b2da 57 const arm_cfft_instance_f32 arm_cfft_sR_f32_len64 = {
mgolino 0:85385a11b2da 58 64, twiddleCoef_64, armBitRevIndexTable64, ARMBITREVINDEXTABLE__64_TABLE_LENGTH
mgolino 0:85385a11b2da 59 };
mgolino 0:85385a11b2da 60
mgolino 0:85385a11b2da 61 const arm_cfft_instance_f32 arm_cfft_sR_f32_len128 = {
mgolino 0:85385a11b2da 62 128, twiddleCoef_128, armBitRevIndexTable128, ARMBITREVINDEXTABLE_128_TABLE_LENGTH
mgolino 0:85385a11b2da 63 };
mgolino 0:85385a11b2da 64
mgolino 0:85385a11b2da 65 const arm_cfft_instance_f32 arm_cfft_sR_f32_len256 = {
mgolino 0:85385a11b2da 66 256, twiddleCoef_256, armBitRevIndexTable256, ARMBITREVINDEXTABLE_256_TABLE_LENGTH
mgolino 0:85385a11b2da 67 };
mgolino 0:85385a11b2da 68
mgolino 0:85385a11b2da 69 const arm_cfft_instance_f32 arm_cfft_sR_f32_len512 = {
mgolino 0:85385a11b2da 70 512, twiddleCoef_512, armBitRevIndexTable512, ARMBITREVINDEXTABLE_512_TABLE_LENGTH
mgolino 0:85385a11b2da 71 };
mgolino 0:85385a11b2da 72
mgolino 0:85385a11b2da 73 const arm_cfft_instance_f32 arm_cfft_sR_f32_len1024 = {
mgolino 0:85385a11b2da 74 1024, twiddleCoef_1024, armBitRevIndexTable1024, ARMBITREVINDEXTABLE1024_TABLE_LENGTH
mgolino 0:85385a11b2da 75 };
mgolino 0:85385a11b2da 76
mgolino 0:85385a11b2da 77 const arm_cfft_instance_f32 arm_cfft_sR_f32_len2048 = {
mgolino 0:85385a11b2da 78 2048, twiddleCoef_2048, armBitRevIndexTable2048, ARMBITREVINDEXTABLE2048_TABLE_LENGTH
mgolino 0:85385a11b2da 79 };
mgolino 0:85385a11b2da 80
mgolino 0:85385a11b2da 81 const arm_cfft_instance_f32 arm_cfft_sR_f32_len4096 = {
mgolino 0:85385a11b2da 82 4096, twiddleCoef_4096, armBitRevIndexTable4096, ARMBITREVINDEXTABLE4096_TABLE_LENGTH
mgolino 0:85385a11b2da 83 };
mgolino 0:85385a11b2da 84
mgolino 0:85385a11b2da 85 #endif
mgolino 0:85385a11b2da 86