5 ms·
Looks great and works great! A reset button would be nice to undo the horrible mess I made. A minor note, when I load the page I get console warnings about an
by eajakobsen 4y ago
Looks great and works great! A reset button would be nice to undo the horrible mess I made.
A minor note, when I load the page I get console warnings about an Audio Context being prevented from starting automatically, but once I click play everything works perfectly fine.
- justsomehnguy 4y ago> A reset button And 'random' button too.
- berkcebi 4y agoOh yeah, adding to my to-do list!
- bsaul 4y agoIf you're willing to go a bit further, i recommend adding a "groove" cursor, that slightly shift each box within the beat, at random (then you can have more complex algorithm to make the randomisation move the beat toward a ternary rythm instead of completely at random). It's called "humanize" in some audio software and can be fun (if you feel like putting one cursor per track, that's even better).
- nereye 4y agoOr follow the swing recipe from "Roger Linn on Swing, Groove and the Magic of the MPC's Timing (2013)": https://www.attackmagazine.com/features/interview/roger-linn-swing-groove-magic-mpc-timing/ https://www.attackmagazine.com/features/interview/roger-linn... as previously discussed on HN (https://news.ycombinator.com/item?id=34425861 https://news.ycombinator.com/item?id=34425861).
- atentaten 4y agoThe audio context thing where it won’t start without user interaction is by webaudio API design. OP would need to prevent the errors from coming up though.
- guntherhermann 4y ago> A reset button would be nice to undo the horrible mess I made. The (...) button next to "Your jam" -> Clear does the job for me
- eajakobsen 4y agoAh, I missed that :)