«first  …19 20 21 22 23 24 25 last»

MaxPat - Max Patch Parser, Converter, Manipulator, Generator

2008-07-20 12:27:58 supercollider

I wrote a Max5 to Max4 patch converter in SuperCollider. The reason was to get more people to install SuperCollider. So this is software with a hidden agenda.
Download it from the page: /code/sc/#classes. See the readme for installation instructions and info on how the conversion works.

It can also be used to generate, examine, manipulate and process Max5 patches in different ways. Below are some screenshots of patches from the max-examples folder that I manipulated using this class. They might look strange but are fully functional. I just did things like add curly segments to all the patchcords.

MaxPat 1 MaxPat 5 MaxPat 16


red-framework Published on GoogleCode

2008-07-20 11:51:34 visuals

In June I cleaned up and released my red-framework for managing MaxMSPJitter patches. It is hosted at code.google.com/p/red-framework/ and you can get it via anonymous SVN checkout.

The framework is for stacking, chaining and mixing MaxMSPJitter 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.

Installation...

(for OSX 10.4 and earlier you'll first need to install SVN separately)

In the terminal type:

svn checkout http://red-framework.googlecode.com/svn/trunk/ 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 mac OSX. It has not been tested on Windows XP yet but should run.

Concept...

  • 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

module:

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

slot:

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

stack:

  • builds a stack of slots - serial in and parallel out

chain:

  • builds a chain of slots - serial in and serial out

mixer:

  • a mixer of slots - parallel in and serial out

Pros and cons...

Why use red-framework?

  • same for Jitter, MIDI, control data, SoftVNS
  • reusable patches
  • generalised and efficient

I have made various bigger performance patches using red-framework

Special GUI/Bpatchers for stacks, chains, mixers

Drawbacks?

  • only discrete events - no MSP
  • no OpenGL or shaders
  • too complicated to perform with
  • went back to my old OS9 patch
  • e.g. learning the effect chain - not re-ordering!

My Plugins Available as Windows Binaries

2008-07-20 11:14:40 supercollider

In June I compiled my tiny collection of plugins for Psycollider. (RedPhasor, RedNoise, Bit, Slub, Atari2600, Pokey etc.) They are available as separate downloads on this page: /code/sc/#plugins.

Extract and put in your userExtensionDir, recompile. Now the RedXM and RedMOD classes also work as they depend on RedPhasor.

And for reference here's my way of compiling UGens under Windows 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

2008-07-07 05:21:38 supercollider

About letting the computer generate SuperCollider 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 lose 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 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.

s.boot

//--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
(
Routine.run{
    var syn, time= 16;  //allow each patch to run for 16sec / 8bars
    inf.do{|i|
        ("\n//fm7 patch"+i+"generated on"+Date.localtime).post;
        syn= ("
            (
            var x= #"++({{{1.5.linrand.round(0.5)}!4}!3}!6).asCompileString++";
            var y= #"++({{{1.5.linrand.round(0.5)}!4}!6}!6).asCompileString++";
            {
                var ctls= x.collect{|a| a.collect{|b| LFSaw.kr(*b)}};
                var mods= y.collect{|a| a.collect{|b| LFSaw.kr(*b)}};
                var chans= #[0, 1];
                FM7.ar(ctls, mods).slice(chans)*0.5;
            }.play)").postln.interpret;
        time.wait;
        syn.free;
    };
};
)

Japanese Fire Patrol

2008-06-13 04:15:40 air-japan

Last night's activity outside my house...

A fire patrol rehearsal (i think). I enjoyed watching it more like a modern dance piece. It went on for a full hour and looked very strange. It seemed more important how you moved than what you did. as you can see in the video clips below, when they finally roll out the hoses it's very quick and efficient. But then they spend a lot of time rehearsing this odd positioning. nice choreography in any case. I really wonder how it works out in a real-life fire/chaos/danger situation.


Biking to IAMAS

2008-06-11 11:39:41 air-japan

Some photos while on my way to IAMAS. IAMAS is north of the city centre in a more rural part of Ogaki.

photo ogaki sign

photo ogaki crossing

photo ogaki street

photo ogaki shop

photo ogaki street 2

photo ogaki statue

Sake brewery...

photo ogaki brewery

Rice patches everywhere...

photo ogaki rice fields

photo ogaki parking lot

Mirrors in the street corners are very helpful. The streets are narrow and the cars don't take much consideration.

photo ogaki mirrors

photo ogaki cars

photo ogaki canal

photo ogaki another rice field

photo ogaki more water

photo ogaki powergrid


Coffee Machines

2008-06-11 11:24:41 air-japan

Today, after one week, I finally managed to outsmart the vending machine to give me plain, hot, sugar-free coffee. I tried so many combinations but always ended up with some variation on ice/sugar/milk coffee.

In nearly every street corner there's a vending machine with hot coffee in cans. Have yet to find a brand without sugar in them. The machine I mastered is in the basement of IAMAS. A coffee there is 80 YEN ≈ €0,48 ≈ 4,5 SEK

photo coffee machine


Lunch

2008-06-11 09:24:45 air-japan

I already had so much nice and well-prepared food. And it is not so expensive as I feared.

For lunch I go to a diner near IAMAS. Riceballs with sidedish + miso soup + coffee = 750yen ≈ €4,5 ≈ 42sek

goggle maps

ogaki lunch 1

ogaki lunch 2

Also, I had a lot of okonomiyaki of course. One of my favourite Japanese dishes and for my welcoming party, the CMC/IAMAS staff cooked okonomiyaki specially for me. Very nice of them.

It's just slightly problematic to find vegetarian food. So I do eat seafood and fish while I'm here. Also I wouldn't want to miss out on the excellent sushi.


«first  …19 20 21 22 23 24 25 last»