Live data from Hacker News

Show HN: I built a website for sharing drum patterns

drumpatterns.onether.com

51–60 of 197 posts

Re: Show HN: I built a website for sharing drum patterns

#51
post #47

very cool. i would suggest maybe the instruments vertical order should be reversed. i think it is more usual to have the bass drum at the bottom, thru snare up to hh etc. i think this maps more like a piano roll with typical midi key/drum assignments.

I based it off the order on the original site - https://www.reddit.com/media?url=https%3A%2F%2Fi.redd.it%2Fb...

I'll definitely add the option to reverse the order in user settings. If more people mention it i'll make it the default.

Re: Show HN: I built a website for sharing drum patterns

#54

I would be happy to port some patterns to Glicol ( https://glicol.org/ ) only suggestion: support https...

Honest question. What is the current obsession with https for things that don't need to be secure like looking at drum patterns?

I worked for an authority that issued digital certificates for SSL and digital signatures. It's not only about providing encryption but also about trust, when a top level entity issues a SSL certificate, a number of identity validations are carried out, adding an extra layer or confidence on that website.

This may seem inconsequential for static websites without PII, however most browsers consider it important as it reduces the risk for all parties involved when encrypted communication is used and the content providers has taken basic steps for Identity verification.

There are logic flaws with this approach to security imo, but it's the most commonly used technique at the moment.

Re: Show HN: I built a website for sharing drum patterns

#55

Is everything based on a division of the measure into 16 equally spaced beats? There is so much more to rhythm. Like, for starters, oh, triplet eighths? They come up often, and with them, you can have a heavy form of swing (triple 8 swing). Oh, never mind, I see this is geared toward a piece of drum machine hardware from 1980.

There will be more drum machines available as the time goes, same goes for different time signatures etc. I just wanted to share the progress on the side project i was seating on for a couple of months.

Re: Show HN: I built a website for sharing drum patterns

#56
post #46

This kinda reminds me of Funklet[0] that Jack Stratton (Vulfpeck) + Rob Stenson made a long time ago... A true gem if you're into funk + like midi drums. [0] - https://goodhertz.com/funklet/

thats all right messing with the back beat, and drum sounds, and whatever the reverse signal thing is vera extra funky

Re: Show HN: I built a website for sharing drum patterns

#57
post #31
post #5

Earlier quoted context omitted.

Or as the developer you can play some silent audio in the background via an ` ` element: https://github.com/donbrae/onscreen-piano-keyboard/blob/main... . This will ensure the Web Audio API produces sound even with the ‘silent’ switch active.

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); }

I believe you need to use the audio element specifically. The Web Audio API is subject to different restrictions than the audio element. I used a similar approach on Audjust: https://www.audjust.com/blog/unmute-web-audio-on-ios/

(nice site you created btw! I love seeing audio stuff for the web)

Re: Show HN: I built a website for sharing drum patterns

#58

Nice site! One bit of feedback I don’t see mentioned. This may be an iPhone thing, but my experience is that the visuals are about a quarter beat ahead of the audio (at 60 BPM, so about 200-250ms off). Not a big deal, but definitely enough to make it feel a bit off. Again, could be just the nature of audio in Safari on iPhone.

I think i can see it now too. I see a couple of things that can cause this, here are 3 solutions, could you check them out and see if it's any better? My best bet is on the third link.

http://drumpatterns.onether.com/?audio=1 http://drumpatterns.onether.com/?audio=2 http://drumpatterns.onether.com/?audio=3 <- check this one out first

Re: Show HN: I built a website for sharing drum patterns

#59
post #57
post #31

Earlier quoted context omitted.

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); }

I believe you need to use the audio element specifically. The Web Audio API is subject to different restrictions than the audio element. I used a similar approach on Audjust: https://www.audjust.com/blog/unmute-web-audio-on-ios/ (nice site you created btw! I love seeing audio stuff for the web)

Thanks mate! I'll implement your solution:)
Post reply on HN