/*
Examples used in talk about composition-instruments at the Notam SuperCollider meetup May 22nd 2024.
*/
/**************************************************
Part 1: Using vanilla SuperCollider classes
/*
Examples used in talk about composition-instruments at the Notam SuperCollider meetup May 22nd 2024.
*/
/**************************************************
Part 1: Using vanilla SuperCollider classes
/*
This is the buffer player synth to end all buffer player synths
b = Buffer.read(s, "/Users/mads/test-sounds/Ellen-piano-001.wav")
Synth(\playbuf2, [\buffer, b, \dur, 2.5, \loop, 1, \playrate, 2, \pitchEnvAmount, 0.5, \pitchModAmount, 0.0, \modFreq, 0.1, \modEnvAmount, 0.2, \panModAmount, 1.0, \pan, 0.5, \lowPassFreq, 550, \filterModAmount, 0.9, \filterEnvAmount, 1, \filterEnvScale, 1, \lowPassRes, 0.5, \fmAmount, 0.9, \fmEnvAmount, 1])
TODO:
/*
This small patch is an example of how to nicely send midi to Ableton Live from SuperCollider.
It includes how to set up Ableton Link (don't forget to press the "LINK" button in Live) and play a pattern using Link and midi.
It is assumed that you do this on MacOS and you have created a midi driver called "IAC Driver".
*/ (
# ====================================================== | |
# Config File for User-defined InstantMappings | |
# ====================================================== | |
[Globals] | |
# The primary MIDI channel that the controller uses in | |
# the range of 0-15. | |
GlobalChannel: -1 | |
# ====================================================== |
--- | |
# Enable ALL the things! Except not really | |
# misc-non-private-member-variables-in-classes: the options don't do anything | |
# modernize-use-nodiscard: too aggressive, attribute is situationally useful | |
Checks: "*,\ | |
-google-readability-todo,\ | |
-altera-*,\ | |
-fuchsia-*,\ | |
fuchsia-multiple-inheritance,\ | |
-llvm-header-guard,\ |
#!/bin/zsh | |
# Made by Niklas Adam <3 | |
brew search // | fzf --preview 'brew info {}' -e -m --reverse --pointer='▓' --prompt='~ ' --marker='<>' --preview-window=right:60% --border=sharp --bind 'ctrl-w:toggle-preview-wrap' --bind 'ctrl-l:clear-query' --bind 'ctrl-d:deselect-all' --bind 'ctrl-space:toggle' --bind 'ctrl-p:toggle-preview' --bind 'shift-right:preview-page-down' --bind 'shift-left:preview-page-up' --header=$'╔════════════════════╗ \n║░ lsbrew ░║\n╚════════════════════╝\n ' | awk '{print $1}' | xargs -ro brew install |
#! /bin/bash -e | |
#set -x | |
##################################################################### | |
# # | |
# Compiles Faust programs to supercollider # | |
# (c) Grame, 2010 # | |
# # | |
##################################################################### |
// 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], |
#! /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 |
on: | |
push: | |
tags: | |
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
jobs: | |
build: | |
runs-on: ${{matrix.os}} | |
strategy: |