aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/js/services.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/js/services.js b/app/js/services.js
index a7f4eda..8a2ced3 100644
--- a/app/js/services.js
+++ b/app/js/services.js
@@ -32,6 +32,7 @@ app.service('pathService', function() {
var selection = [];
var tuning = .5;
songListCopy.sort(function(song){
+ console.log(song.minDist, (tuning + tuning*Math.random())*song.minDist)
return (tuning + tuning*Math.random())*song.minDist;}
);
while(duration > 0 && songListCopy.length > 0){