Live data from Hacker News

Euclidean Drum Machine

groovemechanics.com

21–24 of 24 posts

Re: Euclidean Drum Machine

#23
post #6

I don't understand why and how it periodically resets.

If the least common multiple of two elements is high, the rhythm would have a very long period, which doesn't sound very well. Three elements of periods 16,9 and 7 would have a period of 1008 steps, which at a tempo of 100 would take 10 seconds to reset. That's not a rhythm, that's a tune.

That it doesn't sound well is a very subjective notion. Polyrhythm is quite common in some types of music, and a staple of traditional music in many places outside europe. In western music you can usually find it art music, film soundtracks, jazz, IDM, progressive rock... With well placed accents and syncopation I don't think it's that bothersome to the untrained ear even.

Re: Euclidean Drum Machine

#24
post #19
post #17

My patch... var patch = [ {steps:11,pulses:4,offset:0}, {steps:7,pulses:1,offset:8}, {steps:5,pulses:2,offset:0}, {steps:3,pulses:1,offset:0}, {steps:1,pulses:16,offset:0}, ]; patch.forEach(function(hit,index){ index = index + 1; $('.space-'+index).val(hit.steps).trigger('change'); $('.fill-'+index).val(hit.pulses).trigger('change'); $('.offset-'+index).val(hit.offset).trigger('change'); }); just drop that into your…

Double-bass metal var patch = [ {steps:11,pulses:13,offset:2}, {steps:8,pulses:2,offset:6}, {steps:5,pulses:7,offset:4}, {steps:1,pulses:3,offset:1}, {steps:15,pulses:8,offset:8}, ]; patch.forEach(function(hit,index){ index = index + 1; $('.space-'+index).val(hit.steps).trigger('change'); $('.pulses-'+index).val(hit.pulses).trigger('change'); $('.offset-'+index).val(hit.offset).trigger('change'); });

Could you post a screenshot of how you did this? My browser dev fu is weak.
Post reply on HN