Skip to content

Instantly share code, notes, and snippets.

"A"SR: "A"SR is an "Analog" Shift Register simulation with a 256-step ring buffer. When selected in one hemisphere, it has two indexed outputs. When selected in both hemispheres, the same buffer is used across all four outputs.

AD-EG: AD EG is an attack/decay envelope generator with forward and reverse trigger inputs, and end-of-cycle trigger output.

ADSR-EG: ADSR EG is a straightforward linear envelope generator. It has a single envelope, but responds independently on two channels.

Annular-Fusion-Euclidean-Drummer: Annular Fusion is a dual Euclidean trigger generator. It can be used to generate Euclidean rhythms of up to 32 steps in length.

Backup-and-Restore: Backup/Restore is a utility that allows you to transfer complete sets of app and/or calibration data to and from your module. Possible uses include

@drsm79
drsm79 / build.sh
Last active August 5, 2020 00:02
Build python objects from OSCAL schemas
#! /usr/bin/zsh
git submodule add https://github.com/usnistgov/OSCAL.git
git submodule update --init --recursive
for i in `ls OSCAL/json/schema| sed -e 's/oscal_\(.*\)_schema.json/\1/'`
do
echo OSCAL/json/schema/oscal_${i}_schema.json
echo $i:s/-/_/
datamodel-codegen --input-file-type jsonschema --input OSCAL/json/schema/oscal_${i}_schema.json --output $i:s/-/_/
done
@drsm79
drsm79 / grandpa.md
Last active December 8, 2023 00:13
Grandpa helpful command lines

Grandpa helpful command lines

Using ffmpeg, ffmpeg-normalize & ffprobe to manage samples for Grandpa per the manual.

Convert an audio file to the right wav format

ffmpeg -i my_audio.wav -acodec pcm_s16le -ac 1 -ar 16000 P1.wav