This file contains 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/ | |
lupa-*.tar.gz | |
python2-lupa-*.pkg.tar.xz | |
python2-lupa-*.pkg.tar.zst |
This file contains 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
# Makefile for creating a standalone program via Cython from a *.py / *.pyx file | |
PYX ?= main.pyx | |
PROG ?= $(basename $(PYX)) | |
PYTHON ?= python | |
PYVERSION = $(shell $(PYTHON) -c 'import sys;print("%d.%d" % sys.version_info[:2])') | |
PYMAJOR = $(shell $(PYTHON) -c 'import sys;print(sys.version_info[0])') | |
PYPREFIX = /usr | |
INCLUDES = -I$(PYPREFIX)/include/python$(PYVERSION) |
This file contains 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 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 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 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 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 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 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 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 | |
# |