Earsketch Sound Experiment

// javascript code
// script_name: Learning Java Script
//    date: 09/06/16
// author: Filipe Marinho
// description: Filipe's House Chill Beat
//

init();

setTempo(125);

var acoustic = RD_UK_HOUSE_ACOUSTICGUITAR_3;
var piano = HOUSE_ACOUSTIC_PIANO_003;
var mbeat = HOUSE_MAIN_BEAT_002;
var rt = REVERB_TIME;
var synth = Y45_SYNTHHARP_3;
var delay = Y52_GUITAR_1;
var whamy = PITCHSHIFT;
var vol = VOLUME;

// tracks/instruments

fitMedia(mbeat, 1, 1, 4)
fitMedia(mbeat, 1, 7, 16)
fitMedia(mbeat, 1, 23, 28)
fitMedia(piano, 2, 4, 16)
fitMedia(acoustic, 3, 10, 17.4)
fitMedia(synth, 4, 16, 28)
fitMedia(delay, 5, 20, 26)

// track effects

setEffect(2, REVERB, REVERB_TIME, 4000.0)
setEffect(2, DELAY, DELAY_TIME, 20.0)
setEffect(3, CHORUS, CHORUS_NUMVOICES, 8.0)
setEffect(3, CHORUS, CHORUS_LENGTH, 10.0)
setEffect(3, PHASER, PHASER_RATE, 1)
setEffect(3, PHASER, MIX, 1)
setEffect(3, vol, GAIN, -22.0)
setEffect(4, vol, GAIN, 4.0)
setEffect(4, whamy, PITCHSHIFT_SHIFT, 4.0)
setEffect(5, whamy, PITCHSHIFT_SHIFT, 1.0)
setEffect(5, vol, GAIN, 12.0)
setEffect(5, TREMOLO, TREMOLO_FREQ, 10.0)


finish();

hehehehehh definitely wanted to add more stuff. Fun assignment.

*Loop and keep playing . . .

Comments

Popular posts from this blog

Bootstrap Studio [demo]

A Case Study (?) of a JavaScript Problem

UI Animations Medium Post