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
import system/ansi_c | |
export SIG_DFL, SIGABRT, SIGFPE, SIGILL, SIGINT, SIGSEGV, SIGTERM | |
when not defined(windows): | |
export SIGPIPE | |
var | |
SIG_IGN* {.importc: "SIG_IGN", header: "<signal.h>".}: cint | |
SIGHUP* {.importc: "SIGHUP", header: "<signal.h>".}: cint | |
SIGQUIT* {.importc: "SIGQUIT", header: "<signal.h>".}: cint |
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
diff --git a/.SRCINFO b/.SRCINFO | |
index 16a3009..23c78b7 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -1,28 +1,53 @@ | |
pkgbase = faust-git | |
- pkgdesc = A functional programming language for realtime audio signal processing. | |
- pkgver = 2.44.3.r12517.71d87c0ae | |
+ pkgdesc = A functional programming language for realtime audio signal processing (git version) | |
+ pkgver = 2.75.10.r13651.f4ad8ac5d |
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
diff --git a/.SRCINFO b/.SRCINFO | |
index aac4634..536a354 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -1,27 +1,48 @@ | |
pkgbase = drumlabooh | |
- pkgdesc = LV2/VSTi drum machine that supports Hydrogen, Drumlabooh and SFZ drumkits | |
+ pkgdesc = Drum machine which supports Hydrogen, Drumlabooh and SFZ drumkits | |
pkgver = 4.0.0 | |
- pkgrel = 1 |
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/ | |
drumlabooh-*.pkg.tar.* | |
drumlabooh-drumkits-*.pkg.tar.* | |
drumlabooh-lv2-*.pkg.tar.* | |
drumlabooh-vst3-*.pkg.tar.* | |
drumlabooh-*.tar.gz | |
drum_sklad-*.tar.gz | |
juce-*.tar.gz |
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
declare name "PM String"; | |
declare version "0.1"; | |
declare author "Christopher Arndt"; | |
declare license "MIT License"; | |
declare description "A simple physical model of a guitar-like plucked string"; | |
// Create a JACK/Qt app with: | |
// | |
// faust2jaqt -nvoices 6 -midi pmstring.dsp |
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
// NOTE: as-is, this does NOT work correctly with faust2lv2, since it does not support MIDI input via the "key" parameter. | |
// It does work with the FAUST web IDE and Faust Live, though. | |
declare name "FB / Noise / FM Drum Voice"; | |
declare version "0.1"; | |
declare author "Christopher Arndt"; | |
declare license "MIT License"; | |
declare description "A drum and percussion synth with three components: band-limited noise through a feedback delay, noise and FM"; | |
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
"""Count occurences of same lines read from standard input. | |
Outputs a table sorted by descending count. | |
""" | |
import sys | |
from collections import Counter | |
import natsort |
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
DESTDIR ?= | |
PREFIX ?= /usr | |
LV2_DIR ?= $(PREFIX)/lib/lv2 | |
FAUSTFLAGS ?= -nvoices 4 | |
NAME ?= mydsp | |
FAUST_DSP = $(NAME).dsp | |
LV2_BUNDLE = $(NAME).lv2 | |
ROOT_DIR:=$(shell dirname "$(realpath $(firstword $(MAKEFILE_LIST)))") |
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 bash | |
# | |
# rofi-selectfile | |
# | |
# Use rofi to select file or folder until file is selected, then print it. | |
# | |
# Arguments | |
# $1=directory to start, defaults to "." (specified in variable default_dir) | |
# | |
# Adapted from: https://gist.github.com/thingsiplay/6c4bd13a106a4a609d69c402e675c137 |
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
"""Template for a minimal FastAPI app serving just one page from a Jinja2 template and a favicon. | |
Place the Jinja2 "index.html" template in "templates/jinja2" and a "favicon.ico" icon file in | |
"static/img" and additional static files (JavaScript, CSS, images) below "static". You can then | |
reference them in the template like this ("path" is relative to "static"): | |
{{ url_for('static', path='/dir/file.txt') }} | |
""" |
NewerOlder