HNHacker News
TopNewBestAskShowJobs

wesz

185 karma · joined March 14, 2015

submissionscomments
wesz··on Show HN: I built website for sharing Drum Patterns
Sure thing! Adding to todo list.
wesz··on Show HN: I built website for sharing Drum Patterns
Interesting, i already do something similar and never had a chance to check if it really works. Here is my code:

var buffer = dm.audio.createBuffer(1, 1, dm.samplerate); var source = dm.audio.createBufferSource();

source.buffer = buffer; source.connect(dm.audio.destination);

if (source.start) { source.start(0); } else { source.noteOn(0); }

wesz··on Show HN: I built website for sharing Drum Patterns
I'm working on adding other drum machines (currently Yamaha RX-5 and Oberhiem DMX), not sure if i'm gonna end up adding generic midi. However, you can download current patterns as midi.
wesz··on Show HN: I built website for sharing Drum Patterns
You can click on the pattern, then click on the link below "Create a copy" and add missing bass drums. It's like forking a drum pattern lol.
wesz··on Show HN: I built website for sharing Drum Patterns
Thanks, added to the TODO list.
wesz··on Show HN: I built website for sharing Drum Patterns
Yoo, great patterns. I'm working right now on procedural pattern generation to help with brainstorming ideas.
wesz··on Show HN: I built a website for sharing drum patterns
Everything took probably around 3-4 weeks, but it was spread around a couple of months. I wrote custom web crawler for web archived 808.pixll.de, pattern extraction tool from crawled data. Then i worked on the pattern player and finally started working on the website. Originally i planned to write website from the scratch, but in the end i decided to use WordPress. I have too much side projects already:)
wesz··on MelonJS – a fresh and lightweight JavaScript game engine
https://mariani.life/flash-notes.html

I'm using this sqrt implementation (found it long time ago on some old action script blog, this link is not the original source). It's plenty fast, accurate and fully deterministic. I successfully implemented it in my multiplayer gta2 clone in javascript.

wesz··on MelonJS – a fresh and lightweight JavaScript game engine
I'm assuming you're talking about lockstep/rollback network model, since it should not be an issue for client-server with proper client prediction/interpolation.

The biggest source of these inconsistencies is Math.sqrt(). You need to implement deterministic version of sqrt() and that should fix 99% of your issues. Hit me up if you need some additional pointers.

wesz··on PeerJS – Simple peer-to-peer with WebRTC
My own attempt at creating simple to use wrapper for WebRTC: https://github.com/wesz/Peer
wesz··on Ask HN: What's your quarantine side project?
I've been working on personalized web archive/crawler and search engine to manage my bad data hoarding habits. Inspired by the look and tech from the 90s.
wesz··on Show HN: Rich Text Editor Meets Drag and Drop
Embeded objects, custom fonts, sliders, it's all coming sooner or later. But right know we would like to focus on user experience and overall usability.
← PreviousPage 3 of 3