[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] Call for Code Contributions !!!



yes, very good example john.  big 'wow'-factor.

i have this little piece of confusing code.  don't know if it'll fit.  perhaps as the anti-pole of the kraftwerk song ;-)
be prepared to turn down the volume _before opening the document.  autostarts.
_f

Am 29.11.2007 um 23:55 schrieb Dan Stowell:

jy

That's lovely, and really clear to read through too, v nice example

Dan

Hi Thor,

Here is an exercise I did years ago when I was first learning the client
- server paradigm of SC3. It is just a mock-up of an old Kraftwerk song
that helped me learn how to assemble most of the things required for a
complete track. I was still thinking pretty much in the traditional
MIDI production style at the time, but this is how I managed to
translate what I knew into SC. Maybe it will be helpful to beginners
also coming from that background.

It only uses the core library and represents a number of concepts that
were the basics for me as a foundation to build on. Patterns
controlling synths, automated mixing with effects sends, mono synth
with control bus, song structuring, tempo change scheduling, etc. I
don't know what the legalities are of letting other people see it
since it is not my composition.

jy


{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410
{\fonttbl\f0\fnil\fcharset77 Monaco;}
{\colortbl;\red255\green255\blue255;\red191\green0\blue0;\red0\green0\blue0;\red0\green0\blue191;
\red96\green96\blue96;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural

\f0\fs18 \cf2 /*RUN*/\cf3 \
s.waitForBoot\{\
	\cf4 var\cf3  synth;\
	\cf4 SystemClock\cf3 .sched(0, \{\
		synth.free;\
		synth= \cf4 SynthDef\cf3 (\cf5 "redFrik"\cf3 ,\{\
			\cf4 EnvGen\cf3 .kr(\cf4 Env\cf3 .linen(0,60,0),doneAction:2);\
			z=\cf4 RHPF\cf3 .ar(\
				\cf4 BrownNoise\cf3 .ar(1.dup),\
				\cf4 Rand\cf3 (0.3,3),\
				\cf4 FSinOsc\cf3 .kr(\cf4 FSinOsc\cf3 .kr(\cf4 Rand\cf3 (0.3,5),0,\cf4 Rand\cf3 (0,0.5),\cf4 Rand\cf3 (0.49,0.56)),\cf4 Rand\cf3 (0.3,0.6),\cf4 Rand\cf3 (0.3,0.5))\
			);\
			\cf4 Out\cf3 .ar(0,z);\
		\}).play;\
		10;\
	\});\
\}}



  #|

     fredrikolofsson.com     klippav.org     musicalfieldsforever.com

  |#