Skip to content

Instantly share code, notes, and snippets.

import arb.soundcipher.*;
SoundCipher sc = new SoundCipher(this);
SCScore score = new SCScore();
int n = 2;
int nne = 1;
int ene = 2;
int e = 3;
int ese = 3;
int se = 3;
import arb.soundcipher.*;
SoundCipher sc = new SoundCipher(this);
SCScore score = new SCScore();
score.VIBRAPHONE;
//The constants are implemented by both the SoundCipher and SCScore classes so they can be accessed using 'dot' notation from instances of any of these classes, for example;
//after: SoundCipher sc = new SoundCipher(this);
//access contants using: sc.FLUTE
//after: SCSCore score = new SCScore();
@adubspea
adubspea / gist:3c6b95d795be154703bc
Created August 19, 2015 17:06
Northern Wind Sound 3
import arb.soundcipher.*;
SoundCipher sc = new SoundCipher(this);
for (int n = 7 ; n < 50; n += 7) { // N = average North wind direction
if (n < 5) {
sc.playNote(80, 60, 50);
} else if (n < 2) {
float[] pitches = {100, 64, 67, 71};
sc.playChord(pitches, 80, 4);
import arb.soundcipher.*;
int N = 2;
if (N < 3){; // N = average North wind direction
line ( 0, 0, 0, 0);
SoundCipher sc = new SoundCipher (this);
sc.repeat(3);
sc.playNote(40, 75, 2);
}