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
.DS_Store | |
brew-universal/* |
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
// CtkBuffer sync method | |
// get a folder of files | |
FileDialog({|path| ~path = path}, {}, 2, 0, true); | |
~path; | |
// or set manually | |
// ~path = /path/to/files | |
~path.openOS |
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
// a script for testing class library changes living outside of SuperCollider installation (e.g. in the source repository) | |
// please note, if using non-default language config file, this only works on SC 3.11 and up, due to a bug in previous versions | |
// this is not 100% foolproof, but should work in most cases; tested on macOS | |
//posting | |
LanguageConfig.includePaths.do(_.postln); | |
LanguageConfig.excludePaths.do(_.postln); | |
Platform.resourceDir +/+ "SCClassLibrary"; | |
//check state |
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
/* | |
SuperCollider real time audio synthesis system | |
Copyright (c) 2002 James McCartney. All rights reserved. | |
http://www.audiosynth.com | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2 of the License, or | |
(at your option) any later version. |
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
// testing convolution behavior | |
// s.options.hardwareBufferSize = 2048; //optionaly test with hardware buffer size equeling kernel size... | |
// s.reboot; | |
( // allocate three buffers | |
~kernelSize = 2048; | |
~kernel = Buffer.alloc(s,~kernelSize); | |
~inOut = Buffer.alloc(s, ~kernelSize * 2, 2); // |
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
// An ad hoc decoder builder using mode matching (pseudo-inverse) | |
// FuMa, MaxN normalized | |
// created by Mike McCrea | |
// adapted by Marcin Pączkowski | |
/* | |
– 0° – | |
/ front \ | |
90° ^ 270° | |
\ / | |
– 180°– |