red-framework published on googlecode

in june i cleaned up and released my red-framework for managing max/jitter patches. it is hosted here and you can get it via anonymous svn checkout.

the framework is for stacking, chaining and mixing max/jitter patches and shows my way of organising patches. i've been working on/with it since 2006 and it now contains >100 modules. it can handle jitter, control data, midi and also softvns video under max4.5.

welcome to join the project if you are interested. it is easy to write your own modules.


(for osx 10.4 and earlier you'll first need to install svn separately)
in the terminal type:

svn checkout red-framework-read-only

then press (p) to accept permanently.
last add the red-framework folder to max's file preferences.

it is licensed under gnu gpl v2 and requires max5+jitter for osx. it has not been tested on windows xp yet but should run.


modules: generators, modulators, outputs
faders: cross, gain, etc.
slots = module+fader
chain = slots in series
stack = slots in parallel
mixer = go from parallel to serial

a max/jitter patch following a simple standard
it must have 2 inlets: in, ctrl
and 2 outlets: out, info
the module can be generator, modulator or output

a slot is a fader + a module
slots also have 2 inlets: in, ctrl
and 2 outlets: out, info

builds a stack of slots - serial in and parallel out

builds a chain of slots - serial in and serial out

a mixer of slots - parallel in and serial out

pros and cons...

why use red-framework?
same for jitter, midi, controldata, softvns
reusable patches
generalised and efficient

i have made various bigger performance patches using red-framework
special gui/bpatchers for stacks, chains, mixers

only discrete events - no msp
no opengl or shaders
too complicated to perform with
went back to my old os9 patch
eg. learning the effect chain - not re-ordering!

my plugins available as windows binaries

in june i compiled my tiny collection of plugins for psycollider. (RedPhasor, RedNoise, Bit, Slub, Atari2600, Pokey etc.) they are available as separate downloads here
extract and put in your userExtensionDir, recompile. now the RedXM and RedMOD classes also works as they depend on RedPhasor.

and for reference here's my way of compiling ugens on xp...

1. install mingw (automated installer 5.1.4). add g++ support.
2. install pthread (2.8.0). put it C:\pthreads-w32 or modify the path below.
3. download sc source and put it C:\SuperCollider-Source or modify the path below.
4. open command promt and cd to your plugin directory.
5. g++ -shared -Wno-deprecated -O3 -Wno-unknown-pragmas -DSC_WIN32 -D__GCC__ -D_REENTRANT -DNDEBUG -DSC_MEMORY_ALIGNMENT=1 -IC: \SuperCollider-Source\Headers\plugin_interface -IC:\SuperCollider-Source\Headers\common -IC:\SuperCollider-Source\Headers\server -IC:
\SuperCollider-Source\libsndfile -IC:\pthreads-w32 C:\SuperCollider-Source\windows\PlugIns\ExportHelper.cpp -o RedPhasor.scx RedPhasor.cpp

n fm7 patches

about letting the computer generate sc code automatically... stefan kersten made a very nice plugin for supercollider. it's called FM7 and implements a 6x6 phase modulation oscillator matrix. while trying it out, i wrote some code (pasted in below) that automatically generates parameters for it. so every 8th bar it'll construct a new patch around the fm7. in these patches the fm7 parameters are ugens with random frequency, phase, range and offset.
at times, i start the generator, lean back and listen. when something good catches my ears, i copy the generated code from the post window. here are some ok ones i've collected... _n_fm7patches and below are mp3 excerpts of the same. but the best ones i of course keep to myself.
by randomly generating patches and synths like this i loose a lot of control and time listening to all the generated patches. most are crap sounding. but on the other hand the blind randomness sometimes comes up with with so strange rhythms and sounds that i never would've been able to think of myself. and the time lost could be minimised using for instance genetic algorithms or other types of searches in this huge parameter space.

get FM7 by installing SC3-plugins


//--more repetitive 2ch instant clicks 'n cuts with code generation /f0
//when you hear something you like, you can save it by copy&paste from the post window
        var syn, time= 16;              //allow each patch to run for 16sec / 8bars{|i|
                ("\n//fm7 patch"+i+"generated on"+Date.localtime).post;
                syn= ("
                        var x= #"
                        var y= #"
                                var ctls= x.collect{|a| a.collect{|b|*b)}};
                                var mods= y.collect{|a| a.collect{|b|*b)}};
                                var chans= #[0, 1];
                      , mods).slice(chans)*0.5;

june practice sessions -again

finally rendered mp3 excerpts of my 31 one hour practice sessions from last year. music quality varies... the history files are still available here.

update 171229: converted all files from .rtf to .scd and attached as a .zip

Package icon livecodePractice-jun07_scd.zip178.71 KB


trying to finish this custom controller before leaving for japan. almost ready now - just the casing left to do. it has 5 rotary encoders (endless) with as many push buttons, 2 softpots and 3 touch sensors (capacitive). it is built using the absolutely brilliant v-usb from obdev and shows up like a standard HID devices. small, lightweight and just one cable (usb). plus it is very cheap to build - see parts list. the biggest cost is the encoders.

i took some inspiration for the design from kenton's nice but expensive killamix mini, but wanted a few different types of controllers and also have them arranged asymmetrically. this so i don't have to look at the device while playing. when i've tried other controllers with evenly spaced knobs, i've often lost track and have had to look down and even start counting knobs to figure out which one i was using. with this layout i won't have this problem. also the layout resembles the shape of my upcoming performance costume redUniform.

schematics, partslist and firmware attached (v1.0). more info is here.

Package icon redKontroll.zip107.23 KB


Subscribe to f0blog RSS