Skip to content

Instantly share code, notes, and snippets.

View raster's full-sized avatar

Pete Prodoehl raster

View GitHub Profile
@cliffrowley
cliffrowley / STREAMDECK_HID.md
Last active February 20, 2024 06:24
Notes on the Stream Deck HID protocol

Stream Deck Protocol

How to interface with a Stream Deck device.

Synopsis

The device uses the HID protocol to communicate with its software.

Configuration

@PeteMidi
PeteMidi / td3_arp_raw.py
Created July 20, 2020 23:57
TD-3 arpeggiator in Python 3 using numpy and Mido
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on July 7 2020
@author: Pete Midi
"""
import mido
import numpy as np
# This is the code from: https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/circuitpython-wiring-test
# On a Raspberry Pi Pico, WHICH DOES NOT HAVE I2S... Distortion aside, this sounds correct.
# How is that possible?
import time
import array
import math
import audiocore
import board
import audiobusio