Log In  

Cart #49672 | 2018-02-25 | Code ▽ | Embed ▽ | No License
16

Here's a little sequencer groovebox thingy. It reads (and writes!) 16 notes from four sfx slots (10-13), which loop in pattern 0. It uses sfx 0-7 as instruments. Tempo can be changed, and the sequence can save into a p8 ("drummachine.p8" right now) if you want to use the sequences somewhere else.

Click on a waveform (one of the colored, labeled buttons in the upper right), then click on a button in the sequencer area (the lower 4 rows) to set that waveform to play at that note. Each vertical row plays simultaneously.

The waveforms are intended to be: kick, snare, open hi hat, closed hi hat, crash, cowbell, bloop, bleep. They need some work.

Click the upper left button to begin playback. The next button (labeled "s") saves the sequence. The last two buttons in that section control tempo; the first loop after setting the tempo can have a glitchy ending, for reasons I can't figure out.

It's controllable with the controller buttons, but was intended to be used with the mouse (or, better, a touchscreen like on the pocket chip).

Todos: Add the ability to create more patterns, and play through them. Improve the waveforms.

update: Improved the waveforms a bit. The cymbals are a lot less loud. I'm still not totally happy with the cowbell, bloop, and bleep.

I also fixed the silly error preventing the last waveform from playing, so now you can both bloop and bleep.

Finally dug out my pocket chip and tested this, and it works great on a touchscreen.

P#49495 2018-02-21 19:41 ( Edited 2018-02-26 22:26)

Woooo what fun! What a great interface.

The last "bleep" waveform didn't make any noise for me but i loved the "bloop". (Hi hats / cymbals are a bit loud too maybe?)

I would love to see more of this!

P#49640 2018-02-25 01:05 ( Edited 2018-02-25 06:05)

Love playing around with this groovebox:)

P#49733 2018-02-26 17:26 ( Edited 2018-02-26 22:26)

Very cool! I wonder how you got the timing of the sfx so good, as I'm struggling to make it not be janky even in the 60fps update.

P#86466 2021-01-14 20:12
1

Great work! I did a similar thing and used a similar approach. @boggo The trick is to use music and not sfx to play the sfx´s.

P#97062 2021-09-08 17:51

This is rad!

P#97127 2021-09-10 02:24

You might be interested in a system where the guest can drop blocks that create different drum rhythms and note patterns.

https://youtu.be/somRKvr6iQc

P#97169 2021-09-10 19:10

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 22:52:12 | 0.027s | Q:26