Преглед на файлове

Add other window types for 1024 point FFT

dds
PaulStoffregen преди 10 години
родител
ревизия
23dd5731f6
променени са 3 файла, в които са добавени 1075 реда и са изтрити 1 реда
  1. +1059
    -0
      data_windows.c
  2. +14
    -1
      gui/list.html
  3. +2
    -0
      keywords.txt

+ 1059
- 0
data_windows.c
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 14
- 1
gui/list.html Целия файл

@@ -1610,15 +1610,28 @@
signals that are not exact integer division of the sample rate.
</p>
<h3>Notes</h3>
<p>1024 point FFT uses approx 50% of the CPU power on Teensy 3.1</p>
<p>The raw 16 bit output data bins may be access with myFFT.output[num], where
num is 0 to 511.</p>
<p>TODO: caveats about spectral leakage vs frequency precision for arbitrary signals</p>
<p>Window Types:
<ul>
<li><span class=literal>AudioWindowHanning1024</span> (default)</li>
<li><span class=literal>AudioWindowBartlett1024</span></li>
<li><span class=literal>AudioWindowBlackman1024</span></li>
<li><span class=literal>AudioWindowFlattop1024</span></li>
<li><span class=literal>AudioWindowBlackmanHarris1024</span></li>
<li><span class=literal>AudioWindowNuttall1024</span></li>
<li><span class=literal>AudioWindowBlackmanNuttall1024</span></li>
<li><span class=literal>AudioWindowWelch1024</span></li>
<li><span class=literal>AudioWindowHamming1024</span></li>
<li><span class=literal>AudioWindowCosine1024</span></li>
<li><span class=literal>AudioWindowTukey1024</span></li>
</ul>
</p>
<p>1024 point FFT has a peak CPU usage of approx 50% on Teensy 3.1.
Average usage is much lower. Future versions might distribute the
load more evenly over time....
</p>
</script>
<script type="text/x-red" data-template-name="AudioAnalyzeFFT1024">
<div class="form-row">

+ 2
- 0
keywords.txt Целия файл

@@ -48,6 +48,8 @@ amplitude KEYWORD2
offset KEYWORD2
resonance KEYWORD2
octaveControl KEYWORD2
averageTogether KEYWORD2
windowFunction KEYWORD2
modify KEYWORD2
output KEYWORD2
trigger KEYWORD2

Loading…
Отказ
Запис