Skip to content

Instantly share code, notes, and snippets.

//Author: Bryan Hsu - NYU ITP PComp
//note constants
int c = 262;
int d = 294;
int e = 330;
int f = 349;
int g = 392;
//C = 1, D = 2, E = 3, F = 4, G = 5...
int mary[] = {
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue1 = analogRead(A0);
int sensorValue2 = analogRead(A1);
Serial.print(sensorValue1);
import moviepy.editor as mp
from moviepy.editor import *
import random
video = mp.VideoFileClip("clip1.mp4")
video2= mp.VideoFileClip("clip2.mp4")
audioclip = AudioFileClip("tattoo.m4a").cutout(0,7)