An Experiment in Csound Blogging

download: thumbuki20061222.csd

Welcome to my first blog entry that is simulcast both at thumbuki.com and within a Csound file. This is a personal blogging experiment. Often times, I’ll finish a Csound file that isn’t a composition, nor a bank of instruments, but more like a personal exercise or proof-of-concept. I never distribute these files because, as is, they aren’t really helpful to anybody. Perhaps by embedding a blog entry, these files will be placed into proper context, and allow them to be useful for others in the community.

I took an extensive break from Csound. By extensive, I mean years. I have recently returned to my computer music roots, with a fresh mind and new-found enthusiasm. I wouldn’t say I’ve forgotten much while on hiatus. In fact, I’m finding it’s much like riding a bike. However, I’m still without practice, and am in need of some serious honing.

Despite being something I’ve always wanted to do, I’ve never gotten around to synthesizing drums. I figured this was as good a time as any to tackle this subject. I found two places on the net that were uber-helpful. The first being Hans Mikelson’s Csound magazine articles (article 2). The second being Sound on Sound: Synth Secrets. Between these two sources, I ended up with the four electronic percussive instruments.

The other thing I wanted to do was to take a new approach to tackling Csound instruments. Traditionally, I’ve had my individual instruments write directly to the audio stream. However, I’ve been aware of the advantages of using the zak opcodes for mixing for years now.

In this file, I use two mixers. The first is a drum mixer. The four drums instruments produce mono-streams. These streams are sent to the drum mixer, via zak, where their relative amplitudes are set, placed into a stereo field, and sent to two zak audio busses. The second mixer reads the corresponding left and right zak channels, amplifies them, and sends the audio to the dac or file.

I experimented with two more zak-related techniques. The first is using a dedicated lfo instrument that writes to a zak k-rate channel. In this example, I implemented four synced LFOs, each featuring a different waveform. Including a sine, triangle, saw-down and square wave. Each waveform is assigned a unique k-rate zak bus. I’m using only one of the LFO channels, to modulate the frequency of a highpass filter in the reverb instrument 110. Note to self: learn to design better spatial processors.

The second zak technique I explored was implementing a gate. Every time an “Electro Bell” event occurs, the schedule opcode is used to instantiate an instr 90 event. instr 90 is basically an attack-sustain-decay envelope with razor thin sides. The gated delay processor, instr 120, responds to the gate by briefly capturing a segment of the drums, processing this audio chunk with filters and delay lines, and mixing the resulting effects back into the stereo zak channels.

The one last thing I played with was the macro system. Macros are a great thing. They dramatically reduced the difficulty of managing and adding zak channels. The one thing I’m disappointed about them is that macros defined in the orchestra aren’t recognized in the score and vice-versa. Perhaps there is a Csound way that I’m just not aware of. If not, no big deal, as I still have Perl to fall back onto.

I guess that’s it for now.

Visit: The Csound Blog

I’m back, ahhhh yeaaaah!

I’ve found myself busy with a few additional projects that have been eating my time, thus no blogging. I have no issues about pushing this blog aside for weeks, or perhaps months at a time. However, I do feel it is time to re-commit myself to this place. I love doing it. Perhaps I just bit off too much for those first couple of months. I was so wrapped up in the fantasy of having the world’s most popular blog, that I over did it and burnt out. Now that’s out of my system, I’m much more comfortable taking my time and writing what I should be writing about: all the weird shit that goes through my head.

While I was MIA, I rediscovered both Perl and Csound. Also wrote part one of a two part article for the Csound Journal titled “Perl and Csound.” It’ll be out, soon. I’ve already started part two, and having a wonderful time writing it. Part one is more or less a primer, part two is where the magic happens. The one concern I have is that I’m going to find it difficult to narrow my examples down while still covering a massive amount of useful info. The best part of this hole experience is that I’m learning so much writing this. My thought processes have completely switched into Csound mode, and my mind is open to new possibilities. So I guess this is what enlightenment feels like. I’d best bottle it up before my feet touch the ground.

Why has it been so slow here lately?

Milhouse: I concede!

McBain: Not so fast.

You probably noticed things have been slow here for the last few days.  My productivity goes down the intertubes every two years during the final week of election season.  I blame democracy.

Democrats will take control of the house, and most likely the senate. President Bush seems humbled, yet ready to face the new challenges ahead of him.  Nancy Pelosi is exptected to become the first woman Speaker of the House. Both sides of the aisles are talking bipartisanship (hope it will last.) And Secretary of Defense Donald Rumsfeld is being replaced by Bob Gates.

As a registered independent, I am more than pleased with this outcome.  I believe the checks and balances our founding fathers built into our system of government are vital to our democracy.  For too long, one party has had a monopoly of the three branches, neutralizing these checks and balances.  The pendulum has swung back towards the center.  I’m hoping this will usher in, even if only temporary, a new era of cooperative politics.

I went to the polls myself on Tuesday, though not in a hotly contested battle state.  So I am technically not part of the reform movement that swept this nation.  However, I did vote to reelect The McBaininator (R) for governor.  I couldn’t bring myself to vote for that little weenier, Milhouse Vangelides(D).  :)

Now that is all said and done, I’m ready to get back to my normal posting scedule of at least one post a day.

Matrixsynth == Synth Porn

matrixsynth centerfold

The place is filled with photos and videos of synthesizers in action. I visit this site at least a few times a week, as there is almost always something new to look at or read. I’m sure it won’t be long before I start stealing links from Matrixsynth.

Matrixsynth, simply put is a blog on everything synth. I started the site on July 20th of 2005 as a means of keeping track of all the interesting tidbits I came across in the synthesizer community. I’m a synth hobbyist. I track intersting news, samples, images, trivia and more, including all the manufacturers such as Moog, Yamaha, Roland, Korg, Alesis, Clavia, and Access along with the boutique modular synth shops like MOTM, MacBeth Studios, Cwejman, Doepfer, Analog Soultions, etc.

– Matrix

I also recommend you visit Matrixsynth’s sister blog Synthwire.

Electronic Music Foundation

Empowering creativity in music and sound through technology

Founded in September 1994, Electronic Music Foundation (EMF) is a not-for-profit 501(c)3 organization that organizes concerts and festivals, publishes and disseminates information, and provides access to materials relevant to the history and creative potential of electronic music.