Disjointed EDM

// javascript code
// script_name: disjointed-edm.js
//
// author: Emily Serven
// description: A somewhat disjointed tune.
//  date: 9/6/2016
//

init();
setTempo(120);

var dubIntro = RD_EDM_CHORDPART_1;
var dubWub = RD_EDM_ANALOGLEAD_4;
var dubComplement = DUBSTEP_BASS_WOBBLE_007;
var dubOutro = RD_EDM_RAVECHORD_1;
var mainBeat = RD_EDM_MAINBEAT_18;
var soundEff = 1.05;

fitMedia(mainBeat, 4, 7, 10);
setEffect(4, VOLUME, GAIN, -60, 7, 0, 9);

for (var measure = 1; measure < 4; measure = measure + 1) {
  fitMedia(dubIntro, 1, measure + .15, measure + 1.05);
  fitMedia(dubWub, 2, measure + .75 , measure + 1.3);
  setEffect(1, VOLUME, GAIN, 0, measure + .85, -60, measure + soundEff);
  setEffect(1, VOLUME, GAIN, 0, measure + soundEff);
}

fitMedia(dubOutro, 3, 6, 10);
setEffect(3, TREMOLO, TREMOLO_FREQ, 5, 8);
setEffect(3, VOLUME, GAIN, -60, 6, 0, 8);
setEffect(3, VOLUME, GAIN, 0, 9, -60, 10);
setEffect(4, VOLUME, GAIN, 0, 9, -60, 10);

fitMedia(YG_EDM_SNARE_BUILDUP_1, 5, 3, 7.75);
setEffect(5, VOLUME, GAIN, -60, 3, 0, 5);
setEffect(5, VOLUME, GAIN, 0, 7, -60, 7.75);

finish();

Comments

Popular posts from this blog

Bootstrap Studio [demo]

A Case Study (?) of a JavaScript Problem

UI Animations Medium Post