Skip to content

Instantly share code, notes, and snippets.

Avatar

mads kjeldgaard madskjeldgaard

View GitHub Profile
@madskjeldgaard
madskjeldgaard / faust2supercolliderx86
Created Sep 30, 2021
faust2supercolliderx86: Force macOS x86 compilation on M1
View faust2supercolliderx86
#! /bin/bash -e
#set -x
#####################################################################
# #
# Compiles Faust programs to supercollider #
# (c) Grame, 2010 #
# #
#####################################################################
@madskjeldgaard
madskjeldgaard / extJITLibGuiHotfixes.sc
Last active Jul 22, 2021
A number of overwrites to make JITLib gui (especially NdefGui) more readable on HiDPI screens + responsive to local specs
View extJITLibGuiHotfixes.sc
// Some patches to make JitLib gui stuff more easy on the eyes. Mostly: Larger!
// Also: Make it respond to local specs if defined using the NamedControl style
// FIX: Change font size, button heights and color scheme
+ JITGui {
*initClass {
Class.initClassTree(GUI);
GUI.skins.put(\jit, (
fontSpecs: ["Helvetica", 16],
@madskjeldgaard
madskjeldgaard / daisyproject
Last active Mar 13, 2021
Project generator script (UNIX) for the Daisy Seed platform
View daisyproject
#! /usr/bin/bash
TARGET_DIR=/home/mads/code/mcu
PROJECT_NAME="$1"
PROJECT_NAME_LOWER=$(echo ${PROJECT_NAME} | awk '{ print tolower($0) }')
PROJECT_DIR=$TARGET_DIR/$PROJECT_NAME
function init(){
if [[ -z "$PROJECT_NAME" ]]; then
@madskjeldgaard
madskjeldgaard / build.yml
Last active Jan 4, 2022
Build, compile and release cross platform SuperCollider plugins using this Github Actions file. By adding this action, every time you push a new tag to your github repo containg `v*` GH will automatically compile and publish using that tag.
View build.yml
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
@madskjeldgaard
madskjeldgaard / west.scd
Last active Apr 18, 2021
Buchla inspired supercollider synth
View west.scd
@madskjeldgaard
madskjeldgaard / PKGBUILD
Created Dec 3, 2020
Install Reaper 6.18 using this pkgbuild. Download it to a temporary folder, run `makepkg -si --clean`
View PKGBUILD
pkgname=reaper-bin
pkgver=6.18
pkgrel=1
conflicts=(reaper)
pkgdesc="Digital Audio Workstation"
url="http://www.reaper.fm"
arch=('x86_64')
license=('custom')
@madskjeldgaard
madskjeldgaard / double-clouds-nanokorg.scd
Last active Feb 11, 2021
Using the mi ugens and Modality toolkit to create a double Clouds granulator synth with a korg Nanokontrol2 as the interface
View double-clouds-nanokorg.scd
(
///////////////////////////////
// Korg nanokontrol2 Clouds interface
///////////////////////////////
/*
By Mads Kjeldgaard, 08-11-2020
Dependencies:
- mi ugens: https://github.com/v7b1/mi-UGens
@madskjeldgaard
madskjeldgaard / PKGBUILD
Last active Oct 27, 2020
Arch linux package for installing the mi-UGens mutable instruments ugens for SuperCollider
View PKGBUILD
# Maintainer: Mads Kjeldgaard <mail@madskjeldgaard.dk>
pkgname=mi-ugens-git
pkgver=r27.d9ff7f7
pkgrel=1
pkgdesc="SuperCollider UGen versions of Mutable Instruments synthesizer modules"
arch=('x86_64')
url="https://github.com/v7b1/mi-UGens"
license=('GPL')
groups=('pro-audio')
depends=()
@madskjeldgaard
madskjeldgaard / PKGBUILD
Last active Oct 23, 2020
emissioncontrol2-git pkgbuild
View PKGBUILD
# Maintainer: Mads Kjeldgaard <mail@madskjeldgaard.dk>
pkgname=emissioncontrol2-git
pkgver=r647.fca70f5
pkgrel=1
pkgdesc="EmissionControl2 (EC2) is a standalone interactive real-time application for granular synthesis and sound file granulation"
arch=('x86_64')
url="https://github.com/EmissionControl2/EmissionControl2"
license=('GPL')
groups=('pro-audio')
depends=()
@madskjeldgaard
madskjeldgaard / PKGBUILD
Last active Oct 10, 2020
Arch linux PKGBUILD for installing the Aalto Sparta Plugins
View PKGBUILD
# Maintainer: Mads Kjeldgaard <mail@madskjeldgaard.dk>
pkgname=sparta-plugins
pkgver=2020_10_09_v1.4.2
pkgrel=1
pkgdesc='AALTO vst plugins for Spatial Audio Real-time Applications'
arch=('x86_64')
url="http://research.spa.aalto.fi/projects/sparta_vsts/"
license=('GPL')
depends=('netcdf' 'hdf5' 'lapack' 'webkit2gtk' 'netcdf-fortran' 'libcurl-gnutls')
provides=()