Skip to content

Instantly share code, notes, and snippets.

mnkii

  • London
Block or report user

Report or block mnkii

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pibeat-demo-sequence.py
# The drum sequence from this video: https://www.youtube.com/watch?v=oNB-VddAX4o
# Instructable: https://www.instructables.com/id/A-Raspberry-Pi-Powered-Junk-Drum-Machine/
# @see: http://www.banjowise.com/post/automabeat/
import RPi.GPIO as GPIO
import time
import numpy as np
bpm = 380
bpm_fast = 550
@mnkii
mnkii / array-sequencer.py
Last active Aug 28, 2019
A script to program drum patterns on your Raspberry Pi based mechanical drum machine
View array-sequencer.py
# A script to program drum patterns on your solenoid based Raspberry Pi mechanical drum machine
# For the interactive step sequencer, @see https://github.com/mnkii/pibeat
# Instructable @see https://www.instructables.com/id/A-Raspberry-Pi-Powered-Junk-Drum-Machine/
# @see http://www.banjowise.com/post/automabeat/
import RPi.GPIO as GPIO
import time
import numpy as np
################ Tweak the variables in this section to configure your PI and create your drum pattern ################
You can’t perform that action at this time.