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
moved to https://github.com/jean-emmanuel/lua_scripts/ |
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
import asyncnet, asyncdispatch, nativesockets | |
proc discover(): Future[string] {.async.} = | |
let socket = newAsyncSocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP) | |
socket.setSockOpt(OptReuseAddr, true) | |
socket.setSockOpt(OptReusePort, true) | |
socket.setSockOpt(OptBroadcast, true) | |
await socket.sendTo("255.255.255.255", Port(12346), $0b10) | |
var data = await socket.recvFrom(15) |
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
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> | |
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> | |
<xsl:template match="/"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" dir="ltr"> | |
<head> | |
<title><xsl:value-of select="/rss/channel/title"/> RSS Feed</title> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="x-ua-compatible" content="IE=edge,chrome=1" /> | |
<meta http-equiv="content-language" content="en_US" /> |
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
# IFS=$'\n' arr=($(lv2ls)) && IFS=$'\n' arr2=($(lv2ls -n)) && for (( i=0; i<${#arr[*]}; ++i)); do printf "%s|%s\n" "${arr[$i]}" "${arr2[$i]}"; done | column -t -s "|" | |
file:///usr/lib/lv2/audio_to_audio.ingen/main.ttl audio_to_audio | |
file:///usr/lib/lv2/control_to_control.ingen/main.ttl control_to_control | |
file:///usr/lib/lv2/cv_to_cv.ingen/main.ttl cv_to_cv | |
file:///usr/lib/lv2/event_to_event.ingen/main.ttl event_to_event | |
file:///usr/lib/lv2/gen_amsynth_filte_out.ingen/main.ttl gen_amsynth_filte_out | |
file:///usr/lib/lv2/MonoEffect.ingen/MonoEffect.ttl Ingen Mono Effect Template | |
file:///usr/lib/lv2/MonoInstrument.ingen/MonoInstrument.ttl Ingen Mono Instrument Template | |
file:///usr/lib/lv2/StereoEffect.ingen/StereoEffect.ttl Ingen Stereo Effect Template | |
file:///usr/lib/lv2/StereoInstrument.ingen/StereoInstrument.ttl |
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 "StonePhaser"; | |
declare author "JPC"; | |
declare version "1.1"; | |
declare license "CC0-1.0"; | |
// Référence : | |
// Kiiski, R., Esqueda, F., & Välimäki, V. (2016). | |
// Time-variant gray-box modeling of a phaser pedal. | |
// In 19th International Conference on Digital Audio Effects (DAFx-16). |
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
server { | |
listen 80; | |
listen [::]:80; | |
server_name radio.example.com; | |
proxy_set_header Host $host; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header X-Forwarded-Host $host; | |
proxy_set_header X-Forwarded-Server $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
location / { |
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/local/bin/dumb-init /bin/bash | |
set -euxo pipefail | |
VIDEO_URL=${VIDEO_URL:-$1} | |
ICECAST_URL=${ICECAST_URL:-$2} | |
ICECAST_DESC=${ICECAST_DESC:-Re-Stream of ${VIDEO_URL}} | |
ICECAST_NAME=${ICECAST_NAME:-Re-Stream} | |
ICECAST_WEBSITE=${ICECAST_WEBSITE:-$VIDEO_URL} |
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
""" Shows how to use flask and matplotlib together. | |
Shows SVG, and png. | |
The SVG is easier to style with CSS, and hook JS events to in browser. | |
python3 -m venv venv | |
. ./venv/bin/activate | |
pip install flask matplotlib | |
python flask_matplotlib.py | |
""" |
NewerOlder