Benutzer-Werkzeuge

Webseiten-Werkzeuge


projektesose2015:beat_it:start

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
projektesose2015:beat_it:start [2015/06/18 18:07]
felixhaller
projektesose2015:beat_it:start [2016/01/21 12:45] (aktuell)
Zeile 1: Zeile 1:
 ====== beat_it ====== ====== beat_it ======
 +
 +[[projektesose2015:​beat_it:​doku|doku]]
 +
 [[projektesose2015:​beat_it:​hinweise|Literaturhinweise]] [[projektesose2015:​beat_it:​hinweise|Literaturhinweise]]
  
Zeile 12: Zeile 15:
 ==== Physischer Aufbau/​Gestell ==== ==== Physischer Aufbau/​Gestell ====
  
-Quellcode! 
- 
-// FFT Test 
-// 
-// Compute a 1024 point Fast Fourier Transform (spectrum analysis) 
-// on audio connected to the Left Line-In pin.  By changing code, 
-// a synthetic sine wave can be input instead. 
-// 
-// The first 40 (of 512) frequency analysis bins are printed to 
-// the Arduino Serial Monitor. ​ Viewing the raw data can help you 
-// understand how the FFT works and what results to expect when 
-// using the data to control LEDs, motors, or other fun things! 
-// 
-// This example code is in the public domain. 
- 
-#include <​Audio.h>​ 
-#include <​Wire.h>​ 
-#include <​SPI.h>​ 
-#include <​SD.h>​ 
- 
-const int myInput = AUDIO_INPUT_LINEIN;​ 
-//const int myInput = AUDIO_INPUT_MIC;​ 
- 
-// Create the Audio components. ​ These should be created in the 
-// order data flows, inputs/​sources -> processing -> outputs 
-// 
-AudioInputAnalog ​        ​adc1(A0); ​       // audio shield: mic or line-in 
-AudioAnalyzeFFT1024 ​   myFFT; ​       
-AudioConnection patchCord1(adc1,​ 0, myFFT, 0); 
- 
- 
-void setup() { 
-  // Audio connections require memory to work.  For more 
-  // detailed information,​ see the MemoryAndCpuUsage example 
-  AudioMemory(12);​ 
-  Serial.begin(9600);​ 
- 
- 
-  // Configure the window algorithm to use 
-  myFFT.windowFunction(AudioWindowHanning1024);​ 
-  //​myFFT.windowFunction(NULL);​ 
-} 
-const int zeilen = 100; 
-float array[zeilen][20];​ 
- 
-void loop() { 
-  float n; 
-  if (myFFT.available()) { 
-    for (int j= 0; j<100 ;j=j){ 
-        for (int i=0; i<20; i++) { 
-          n = myFFT.read(i);​ 
-          array[j][i] = n; 
-          Serial.print(array[j][i]);​ 
-          Serial.print("​ "); 
-        } 
-      Serial.println();​ 
-      if (myFFT.available()){ 
-        j=j+2; 
-      } 
-    } 
-  } 
- /* for (int i = 0; i<20; i++){ 
-    for (int j = 0; j<100; i++){ 
-      Serial.print(array[i][j]);​ 
-      Serial.print("​ "); 
-      Serial.println("​aAa"​);​ 
-    } 
-    Serial.println();​ 
-  }*/    
-} 
  
 == Aufgaben == == Aufgaben ==
Zeile 103: Zeile 36:
   * Teensy 3.1   * Teensy 3.1
   * Kabel   * Kabel
-  ​* Equalizer IC MSQEG7 +  ​
 == Risiken == == Risiken ==
   * Konstruktion zu schwer →  bewegt sich nicht → Schuhe evtl. weglassen   * Konstruktion zu schwer →  bewegt sich nicht → Schuhe evtl. weglassen
projektesose2015/beat_it/start.1434643655.txt.gz · Zuletzt geändert: 2016/01/21 12:45 (Externe Bearbeitung)