Skip to content

Instantly share code, notes, and snippets.

Christopher Arndt SpotlightKid

Block or report user

Report or block SpotlightKid

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
@SpotlightKid
SpotlightKid / lv_plugin_uris.py
Last active Nov 8, 2019
Print URIs associated with an LV2 plugin
View lv_plugin_uris.py
#!/usr/bin/env python
import sys
import lilv
if len(sys.argv) < 2:
sys.exit("Usage: %s <plugin URI>" % sys.argv[0])
w = lilv.World()
@SpotlightKid
SpotlightKid / vital-install.sh
Last active Oct 28, 2019
Install script for Vital Linux binaries archive
View vital-install.sh
#!/bin/bash -e
#
# Install script for Vital Linux binaries archive
#
# Installs everything under the user's home directory by default.
# Set the environment variables LV2_DIR, BIN_DIR and DATA_DIR
# to change install locations. e.g.:
#
# $ LV2_DIR=/usr/local/lib/lv2 ./vital-install.sh
#
@SpotlightKid
SpotlightKid / lv2_list_plugin_presets.py
Last active Nov 8, 2019
List all preset URIs of an LV2 plugin with the given URI
View lv2_list_plugin_presets.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""List all preset URIs of an LV2 plugin with the given URI."""
import sys
import lilv
PRESET_NS = 'http://lv2plug.in/ns/ext/presets'
RDFS_NS = 'http://www.w3.org/2000/01/rdf-schema'
@SpotlightKid
SpotlightKid / jack-property-listener.py
Last active Nov 8, 2019
Listen to and print JACK client/port meta-data changes.
View jack-property-listener.py
#!/usr/bin/env python3
"""Listen to and print JACK client/port meta-data changes."""
import jack
PROPERTY_CHANGE_MAP = {
jack.PROPERTY_CREATED: 'created',
jack.PROPERTY_CHANGED: 'changed',
jack.PROPERTY_DELETED: 'deleted'
@SpotlightKid
SpotlightKid / PKGBUILD-moony-lv2-git.sh
Last active Sep 9, 2019
Updated PKGBUILD for moony-lv2-git AUR package
View PKGBUILD-moony-lv2-git.sh
# Maintainer: Milk Brewster (milk on freenode)
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
_pkgname=moony.lv2
pkgname=moony-lv2-git
pkgver=0.29.1.r2493.54f6d76
pkgrel=1
pkgdesc="Realtime Lua as programmable glue in LV2 - git master"
arch=('i686' 'x86_64')
url='http://open-music-kontrollers.ch/lv2/moony/'
@SpotlightKid
SpotlightKid / PKGBUILD-opentoonz.sh
Last active Sep 19, 2019
Fixed PKGBUILD for opentoonz to build from release tag source archive instead of git checkout
View PKGBUILD-opentoonz.sh
# Maintainer: cyrant <cyrant at tuta dot io>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
pkgname=opentoonz
pkgver=1.3.0
pkgrel=4
pkgdesc='This is a software for producing a 2D animation.'
url='https://opentoonz.github.io'
license=('BSD')
arch=('x86_64')
@SpotlightKid
SpotlightKid / timebase.py
Last active Nov 8, 2019
Query and manipulate JACK transport state and provide timebase information using jackclient-python
View timebase.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# timebase.py
#
"""A simple JACK timebase master."""
import argparse
import sys
import time
@SpotlightKid
SpotlightKid / PKGBUILD-ensemble-chorus-git.sh
Last active Aug 9, 2019
Draft for PKGBUILD for ensemble-chorus-git AUR VCS package
View PKGBUILD-ensemble-chorus-git.sh
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
_pkgname=ensemble-chorus
pkgname="${_pkgname}-git"
pkgver=0.0.1.r56.59baeb8
pkgrel=1
pkgdesc="A LV2/VST2 plugin and stand-alone application emulating a string ensemble chorus"
arch=('i686' 'x86_64')
url="https://github.com/jpcima/ensemble-chorus"
license=('Boost')
@SpotlightKid
SpotlightKid / PKGBUILD-geonkick.sh
Created Aug 4, 2019
Updated PKGBUILD file for geonkick 1.6
View PKGBUILD-geonkick.sh
# Maintainer: David Runge <dave@sleepmap.de>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot -de>
pkgname=geonkick
pkgver=1.6
pkgrel=1
pkgdesc="A free software percussion synthesizer"
arch=('x86_64')
url="http://quamplex.com/geonkick"
license=('GPL3')
@SpotlightKid
SpotlightKid / alsa-query.c
Created Apr 29, 2019
Print hardware capabilities of ALSA device
View alsa-query.c
/*
* alsa-query.c - print hardware capabilities of ALSA device
*
* compile with: gcc -o alsa-query alsa-query.c -lasound
*/
#include <stdio.h>
#include <alsa/asoundlib.h>
#define ARRAY_SIZE(a) (sizeof(a) / sizeof *(a))
You can’t perform that action at this time.