Skip to content

Commit

Permalink
cleaned up code
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshikerfuffle committed Dec 11, 2020
1 parent 3e3fca7 commit 44f9342
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 773 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 0 additions & 2 deletions Albers_Pattern/Algoraveset3/code/sketch.properties

This file was deleted.

223 changes: 0 additions & 223 deletions Albers_Pattern/Algoraveset4/Algoraveset4.pde

This file was deleted.

2 changes: 0 additions & 2 deletions Albers_Pattern/Algoraveset4/code/sketch.properties

This file was deleted.

2 changes: 0 additions & 2 deletions Albers_Pattern/Algoraveset4/sketch.properties

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ void setup() {
//in2.start();
//in2.play();
//in = minim.getLineIn();


song = minim.loadFile("/Users/sisi/Desktop/LiveCoding/Debut/Nina.mp3");
song.play();
Expand All @@ -79,24 +78,19 @@ void draw() {
//background(changing_colour, 150, 50); // Initial background color, when we will open the serial window
background(50, 50, 200); // Initial background color, when we will open the serial window


beat.detect(song.mix);


//cam.beginHUD();

//for (int i=0; i<width; i++){
// stroke(255);
// line(i, height/2+song.mix.get(i)*300, i, height/2-song.mix.get(i)*300);
//}
//cam.endHUD();


//Calling pattern
//----------------------------------------------------------------------------------------
//stroke(255);
//Albers();


//--------------------------------------------------------------------------------------
blendMode(NORMAL);
Expand Down Expand Up @@ -157,23 +151,15 @@ void draw() {
background(255);
//Albers();
}


//---------------------------------------------------------------------------------------
//if (mousePressed && (mouseButton == LEFT)) {
// myPort.write('1');
//}
//if (mousePressed && (mouseButton == RIGHT)) {
// myPort.write('0');
//}

//-------------------------------------------------------------------------------------


//--------------------------------------------------------------------------------------
}


//----------------------------------------------------------------------------

void Albers(){
Expand Down
File renamed without changes.
Binary file added Debut/.DS_Store
Binary file not shown.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions Debut/LiveCode_Base_1/sketch.properties

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
// https://www.youtube.com/watch?v=fO1uW-xhwtA&t=303s
// MUSIC: NUCLEYA: download link: https://nucleya.bandcamp.com/album/bass-rani

// sisixiyu x harshikajain
// harshikajain x sisixiyu

//----------------------------------------------------------------------------

import vsync.*;
import peasy.*;
import processing.serial.*;
Expand Down
8 changes: 6 additions & 2 deletions Triangle/Triangles_Processing/Triangles_Processing.pde
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
// FOR PROCESSING CONSOLE
//code has been referenced from different locations
//triangles code: https://www.openprocessing.org/sketch/584467
// code has been referenced from different locations
// triangles code: https://www.openprocessing.org/sketch/584467
// tutorial on arduino and processing communication: https://maker.pro/arduino/tutorial/how-to-make-arduino-and-processing-ide-communicate

// harshikajain x sisiyu

//----------------------------------------------------------------------------

import processing.serial.*; //import library to communicate with arduino
Serial myPort; //initialise variable myPort for serial communication
float background_colour; //variable for changing background colour
Expand All @@ -18,6 +21,7 @@ boolean flag=true;
int distance=100;

import processing.sound.*;

//----------------------------------------------------------------------------
void setup() {
size (600, 600); //size of the serial window
Expand Down
Loading

0 comments on commit 44f9342

Please sign in to comment.