comparison projects/audio_in_FFT/render.cpp @ 269:ac8eb07afcf5

Oxygen text added to each render.cpp file for the default projects. Text includes project explanation from Wiki, edited in places. Empty project added as a default project. Doxyfile updated. Each of the project locations added to INPUT configuration option. Consider just watching the whole project file so all new projects are automatically pulled through.
author Robert Jack <robert.h.jack@gmail.com>
date Tue, 17 May 2016 15:40:16 +0100
parents 3c3a1357657d
children
comparison
equal deleted inserted replaced
252:381f352c44eb 269:ac8eb07afcf5
1 /*
2 ____ _____ _ _
3 | __ )| ____| | / \
4 | _ \| _| | | / _ \
5 | |_) | |___| |___ / ___ \
6 |____/|_____|_____/_/ \_\.io
7
8 */
9
1 /* 10 /*
2 * render.cpp 11 * render.cpp
3 * 12 *
4 * Created on: Oct 24, 2014 13 * Created on: Oct 24, 2014
5 * Author: parallels 14 * Author: parallels
6 */ 15 */
16
17 /**
18 \example 4_audio_FFT
19
20 Fast Fourier Transform
21 ----------------------
22
23 This sketch performs an FFT (Fast Fourier Transform) on incoming audio. It uses
24 the NE10 library, included at the top of the file (line 11).
25
26 Read the documentation on the NE10 library [here](http://projectne10.github.io/Ne10/doc/annotated.html).
27
28 The variables `timeDomainIn`, `timeDomainOut` and `frequencyDomain` are
29 variables of the struct `ne10_fft_cpx_float32_t` [http://projectne10.github.io/Ne10/doc/structne10__fft__cpx__float32__t.html](http://projectne10.github.io/Ne10/doc/structne10__fft__cpx__float32__t.html).
30 These are declared at the top of the file (line 21), and memory is allocated
31 for them in `setup()` (line 41).
32
33 In `render()` a `for` loop performs the FFT which is performed on each sample,
34 and the resulting output is placed on each channel.
35
36 */
37
38
39
40
7 41
8 42
9 #include <BeagleRT.h> 43 #include <BeagleRT.h>
10 #include <rtdk.h> 44 #include <rtdk.h>
11 #include <NE10.h> // neon library 45 #include <NE10.h> // neon library