Archive for September, 2009

links for 2009-09-29

September 30, 2009

links for 2009-09-28

September 29, 2009

links for 2009-09-27

September 28, 2009
  • <blockquote>
    <pre>
    //dirt cheap wireless TX
    //generates 38kHz carrier wave on pin 9 and 10
    //sends data via TX every 500ms
    void setup()
    {
    pinMode(9, OUTPUT);
    pinMode(10, OUTPUT);

    // Clear Timer on Compare Match (CTC) Mode
    bitWrite(TCCR1A, WGM10, 0);
    bitWrite(TCCR1A, WGM11, 0);
    bitWrite(TCCR1B, WGM12, 1);
    bitWrite(TCCR1B, WGM13, 0);

    // Toggle OC1A and OC1B on Compare Match.
    bitWrite(TCCR1A, COM1A0, 1);
    bitWrite(TCCR1A, COM1A1, 0);
    bitWrite(TCCR1A, COM1B0, 1);
    bitWrite(TCCR1A, COM1B1, 0);

    // No prescaling
    bitWrite(TCCR1B, CS10, 1);
    bitWrite(TCCR1B, CS11, 0);
    bitWrite(TCCR1B, CS12, 0);

    OCR1A = 210;
    OCR1B = 210;

    Serial.begin(2400);
    }

    void loop()
    {
    Serial.println("testing testing testing");
    delay(500);
    }

    </pre>
    </blocquote>

  • Key Phrases – Statistically Improbable Phrases (SIPs): (learn more)
    new circle, condemned man, tenth night, second sack, first sack, sledge port, pure theorics, chalk hall, upper labyrinth, library grape, sledge train, other fids, shock piston, pusher plate, causal domain, remote hermitage, north nave, page trees, machine hall
    Key Phrases – Capitalized Phrases (CAPs): (learn more)
    Fraa Jad, Fraa Orolo, Fraa Lodoghir, Warden of Heaven, Ignetha Foral, Daban Urnud, Sæcular Power, Fraa Erasmas, Praxic Age, Fraa Paphlagon, Thrown Back, Jules Verne Durand, Saunt Edhar, Warden Regulant, Suur Asquin, Third Sack, Day Gate, Suur Trestanas, Fraa Osa, Ganelial Crade, Bly's Butte, Ringing Vale, Clesthyra's Eye, Shuf's Dowment, Hylaean Theoric World

links for 2009-09-25

September 26, 2009

links for 2009-09-24

September 25, 2009

links for 2009-09-23

September 24, 2009

links for 2009-09-22

September 23, 2009

links for 2009-09-21

September 22, 2009

links for 2009-09-20

September 21, 2009

links for 2009-09-18

September 19, 2009
  • <blockquote>
    <p>So let’s get going. SuperCollider is my tool of choice here. I start with a simple waveform. I want to use a sawtooth wave as the oscillator source, it has a rich and harmonic spectrum consisting of even and odd partials. I’ll want to filter the upper partials later on. Here is some beginning code:</p>
    <pre>
    //30 oscillators together, distributed across the stereo field
    (
    {
    var numVoices = 30;
    //generating initial random fundamentals:
    var fundamentals = {rrand(200.0, 400.0)}!numVoices;
    Mix
    ({|numTone|
    var freq = fundamentals[numTone];
    Pan2.ar
    (
    Saw.ar(freq),
    rrand(-0.5, 0.5), //stereo placement of voices
    numVoices.reciprocal //scale the amplitude of each voice
    )
    }!numVoices);
    }.play;
    )
    </pre>
    </blockquote>