top | item 3553979

Show HN: My MusicHackDay project. A MPC-esque JS drum machine (requires Chrome)

70 points| sjtgraham | 14 years ago |jpc.heroku.com | reply

28 comments

order
[+] torbenc|14 years ago|reply
Including some sample mp3s to directly start playing around would be great. I pressed 'q' and nothing happened. :/
[+] sjtgraham|14 years ago|reply
I might add in some default samples if someone can suggest good ones with a suitable license? That said I believe this is exactly how a MPC would work, i.e. no sounds loaded when it is powered on!
[+] Ryanmf|14 years ago|reply
You passed the 16th note high hat test! Well done.

FWIW, you said "mp3" but I just used the first folder of one-shot samples I came across, which happened to be WAVs and worked fine, but may have contributed to Chrome crashing when I hit the back button.

As far as royalty free samples go, you might want to take a look at http://freesound.org, or one of my personal favorites, http://hellosamples.com

Requests: Keymappings for rec/stop/play/undo/pitchbend, a fourth row of pads, maybe sample slicing?

[+] sjtgraham|14 years ago|reply
You can slice samples by clicking and dragging on a waveform, which will cause the selected part of the waveform to be played whenever the pad is triggered.
[+] indraneel24|14 years ago|reply
Off the top of my head, things that this is lacking: velocity control for each pad, a way to zoom in on waveforms and chop up samples, maybe better loop controls, and the ability to export as .wav?

But suggestions aside, as a budding hip-hop producer/hacker, I had the idea to make this but never the skills/conviction. It made my day to see that this is something actually doable, and capable of being done well.

[+] polshaw|14 years ago|reply
I get 'unsupported file format' when i try to load an mp3. Chromium 16, tried several mp3s.

Also, the font rendering of the instructions is pretty awful for me -- http://imgur.com/Iy31O

Neat idea though.

[+] davedx|14 years ago|reply
I got that a lot for different WAVs that work fine in my other software.
[+] w1kke|14 years ago|reply
Could I get a volume control/equalizer in there? My mp3s seem to be not really normalized.

But its a lot of fun to play with!

[+] sjtgraham|14 years ago|reply
I had the idea to add that and some filters on there too. I'll see what I can do… :)
[+] spiralganglion|14 years ago|reply
Clicking record repeatedly while it's playing back an existing pattern creates some awesome cacophony.
[+] budu|14 years ago|reply
I tried dragging mp3 samples as instructed and nothing happen! Using Chrome on Windows 7.
[+] budu|14 years ago|reply
Got it working, it needs Chrome Beta!
[+] NHQ|14 years ago|reply
Pretty nice. Forked!

Is this it for the demo, or do you plan to continue development?

[+] sjtgraham|14 years ago|reply
Thanks. There are a few things I want to add, e.g. a better sequencer, variable tempo, quantisation, local persistence of loaded samples and sequencer data, zoomable waveform for finer grained editing on longer files, etc. I'm quite busy so who knows when I'll get around to it?
[+] Craiggybear|14 years ago|reply
Why should it need Chrome. This is just as bad as needing IE6 twelve years ago.
[+] sjtgraham|14 years ago|reply
This is such an ignorant comment. You're wrong, it's actually nothing like that. It's technical demonstration of edge W3C APIs, not something coded against proprietary APIs or around rendering engine bugs. It requires any browser that has implemented the W3C AudioContext API, which at this point only Chrome has implemented in a generally available release. But this doesn't quite fit into the 80 char constraint of HN link titles.