/*
Examples used in talk about composition-instruments at the Notam SuperCollider meetup May 22nd 2024.
*/
/**************************************************
Part 1: Using vanilla SuperCollider classes
| #!/bin/sh | |
| # Taken from: https://github.com/lvm/build-supercollider | |
| ### | |
| # | |
| # Variables | |
| # | |
| INSTALL_DIR=/tmp | |
| SUPERCOLLIDER_VER=main | |
| SC3PLUGINS_DIR=$INSTALL_DIR/sc3-plugins |
/*
Examples used in talk about composition-instruments at the Notam SuperCollider meetup May 22nd 2024.
*/
/**************************************************
Part 1: Using vanilla SuperCollider classes
| // A west coast / Buchla inspired synth originally by Mark Wheeler, released in their Norns synth "passersby" https://github.com/markwheeler/passersby/blob/master/lib/Engine_Passersby.sc | |
| /* | |
| // Test | |
| ( | |
| Pmono(\west, | |
| \freq, Pwhite(100.0,400.0), | |
| \dur, 0.125, | |
| \gate, 1, | |
| \pitchBendRatio, 1, |
| #!/bin/bash | |
| # | |
| # Steps to install and set up a headless raspberry pi (3) for SuperCollider use | |
| # This is primarily copied from https://supercollider.github.io/development/building-raspberrypi | |
| # | |
| # | |
| # Get updated | |
| sudo apt-get update |
| # ====================================================== | |
| # Config File for User-defined InstantMappings | |
| # ====================================================== | |
| [Globals] | |
| # The primary MIDI channel that the controller uses in | |
| # the range of 0-15. | |
| GlobalChannel: -1 | |
| # ====================================================== |
| #!/bin/bash | |
| # This script combines an image and an audio file into a video using ffmpeg. | |
| # It prompts the user for the paths to the image and audio files, an optional | |
| # fixed length in seconds, and the output file name. The script ensures that | |
| # the paths are properly quoted and constructs the appropriate ffmpeg command. | |
| # Function to add quotes around a path if not already present | |
| add_quotes() { | |
| local path="$1" |
| ( | |
| /////////////////////////////// | |
| // Korg nanokontrol2 Clouds interface | |
| /////////////////////////////// | |
| /* | |
| By Mads Kjeldgaard, 08-11-2020 | |
| Dependencies: | |
| - mi ugens: https://github.com/v7b1/mi-UGens |
| /* | |
| 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". | |
| */ | |
| ( |
/* Instrument inspired from Rob Hordijk's Benjolin, it requires sc3-plugins (PulseDPW, SVF and DFM1)
outSignal: 1-triangle osc1, 2-square osc1, 3-triangle osc2, 4-pulse osc2, 5-XOR output, 6-Filter output