News for hackers. Stuff that matters.
Re:Euclidean Drum Machine by kaoD on Thursday November 06, 2014 @05:22PM (#8570177)
Suggestion: a random button.
Re:Euclidean Drum Machine by pistle on Thursday November 06, 2014 @07:56PM (#8570730)
(function(){ for(var i=1;i<6;i++){ $('.space-'+i).val(Math.floor((Math.random() * 16) + 1)).trigger('change'); $('.fill-'+i).val(Math.floor((Math.random() * 16) + 1)).trigger('change'); $('.offset-'+i).val(Math.floor((Math.random() * 8) + 1)).trigger('change'); } })()