This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Detect pitch of audio files. | |
Requires: | |
* [aubio](https://pypi.org/project/aubio/) | |
* [NumPy](https://pypi.org/project/numpy/) | |
""" | |
import statistics |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# configure some commands via env variables | |
# (usually located in another file) | |
# export EDITOR=micro | |
# export VISUAL=$EDITOR | |
# export XEDITOR="geany" | |
# export BROWSER=xdg-open | |
# To open any file type via app registered in desktop system | |
alias xo='xdg-open' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import lilv | |
if len(sys.argv) > 1: | |
pclass = sys.argv[1] | |
else: | |
pclass = "SimulatorPlugin" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
__all_ = [ | |
'Error', | |
'FmtChunk', | |
'ParsingError', | |
'SmplChunk', | |
'UnsupportedCompressionError', | |
'WavChunk', | |
'WavFile' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkg/ | |
src/ | |
*.lv2/ | |
gxplugins-lv2/ | |
gxplugins-lv2-git-*.pkg.tar.xz | |
gxplugins-lv2-git-*.pkg.tar.zst |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
from os.path import expanduser, isdir, isfile, join, sep as pathsep | |
XDG_DATA_HOME = os.environ.get('XDG_DATA_HOME') | |
if not XDG_DATA_HOME: | |
XDG_DATA_HOME = join(expanduser('~'), '.local', 'share') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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' |