This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import processing.serial.*; | |
import osteele.processing.SerialRecord.*; | |
import processing.sound.*; | |
Serial serialPort; | |
SerialRecord serialRecord; | |
SoundFile sound; | |
void setup() { | |
size(500, 500); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define FASTLED_ALLOW_INTERRUPTS 0 | |
#include <FastLED.h> | |
FASTLED_USING_NAMESPACE | |
#include "SerialRecord.h" | |
#define pin A1 | |
#define NUM_LEDS 53 | |
#include <Servo.h> | |
#define DATA_PIN 5 | |
#define CLOCK_PIN 13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This is a code example for Arduino, to be used on Recitation 7 | |
You need to have installed SerialRecord and FastLED libraries. | |
It requires NeoPixel WS2812 at pin 3 | |
Interaction Lab | |
IMA NYU Shanghai | |
2022 Fall | |
*/ | |
#include "SerialRecord.h" | |
#include <FastLED.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import processing.sound.*; | |
import processing.serial.*; | |
import osteele.processing.SerialRecord.*; | |
FFT fft; | |
AudioIn in; | |
int bands = 512; | |
float[] spectrum = new float[bands]; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String[] headlines = { | |
"IMA end of semester show 2022 @6pm-8pm", | |
"Friday 11/16 on the 8th floor", | |
}; | |
PFont f; | |
float x; | |
int index = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String[] headlines = { | |
"IMA end of semester show 2022 @6pm-8pm", | |
"Friday 11/16 on the 8th floor", | |
}; | |
PFont f; | |
float x; | |
int index = 0; | |
void setup() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String[] headlines = { | |
"IMA end of semester show 2022 @6pm-8pm", | |
"Friday 11/16 on the 8th floor", | |
}; | |
PFont f; | |
float x; | |
int index = 0; |