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
//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[] = { |
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
void setup() { | |
Serial.begin(9600); | |
} | |
void loop() { | |
int sensorValue1 = analogRead(A0); | |
int sensorValue2 = analogRead(A1); | |
Serial.print(sensorValue1); |
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 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) | |