Skip to content

Instantly share code, notes, and snippets.

#! /usr/bin/env bash
usage_and_exit () {
echo "Checks if passed arguments are valid audio-playback devices"
echo ""
echo -e "\033[1;37;40mUsage:\033[0m plughwinfo.sh [<parameters>|<playback-devices>]"
echo " -l (--list) Display all available playback devices"
echo " -h (--help) Display this message"
echo " <playback-devices> Returns error if one of the passed arguments is not a valid playback-device"
echo ""
@othmar52
othmar52 / microGranny-2.0-owners-manual.md
Last active July 15, 2021 13:15
BASTL INSTRUMENTS microGranny 2.0 manual

taken from https://bastl-instruments.com/files/manual-microgranny-2.pdf
Original PDF is crap for viewing on tablet devices

MG 2.0

INTRODUCTION

microGranny 2.0 (further only microGranny) is a monophonic granular sampler with MIDI input and 8-bit audio input. It has 6 big buttons, each of which plays a sample from the microSD card. You can adjust several parameters of the sample. In the manual I will refer to the sample with all its parameters as SOUND

@othmar52
othmar52 / symetrix-dump-all-controller-values.py
Created June 30, 2021 07:38
dump all symetrix audio device controller values
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''
script to retrieve all controller values of symetrix audio devices
may be useful to determine the controller number you are looking for
tested with Symetrix Jupiter 8 (https://www.symetrix.co/products/jupiter/)
USAGE:
@othmar52
othmar52 / symetrix2mqtt.py
Last active January 29, 2024 06:51
control symetrix audio device via mqtt
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''
wrapper script for integrating symetrix audio devices into MQTT infrastructure
@see http://www.symetrix.co/repository/SymNet_cp.pdf
tested with OUTPUT ports/parameters of symetrix Jupiter 8
in this example you can control volume and mute states by publishing to those mqtt topics