My Sine Oscillator Experiment

Over the weekend, I recorded/generated four sine waves of different synthesizer modules and compared the results. Each of the four oscillators are tuned to approximately to 440Hz, close enough to get a sense of each wave shape.

This is a very casual observation of contour and contour only, so please do not read too much into my findings. Here are the results:

Csound Digital Oscillator

This first graph shows a digital sine wave generated within the computer music language Csound. This is what I used as my test reference. Being that this is a purely mathematical construct, I figured this would be the perfect wave to compare against its analog counterparts.

Doepfer A-110 Standard VCO

Upon casual observation, you may notice that the sine isn’t the most accurate in the world. In fact, you might go as far to say this isn’t a sine wave at all. One noticable feature of this oscillator is that little glitch you see at 90º. This is consistent among every cycle at the stated frequency. I have two of these modules, and there were no significant differences when compared to each other.

Now it might sound like I’m completely down on this module. The truth is, I’m actually quite happy with this dirtiness of this unit, as it adds character. It is sometimes the imperfections that make something great.

Plan B Model 15

This unit has the smoothest contour of the three analog examples. Though the shape doesn’t adhere completely to the perfectly generated Csound test reference, it certainly gets close. The peak and the dip seem to be a bit rounder, almost as if they are slightly compressed.

Cwejman D-LFO

Now, I must say that it probably isn’t fair that I’m comparing a device designed specifically for low frequencies. With that being said, the contour fared noticeably better than the Doepfer. You might notice that the peak and the dip are both a little on the sharp side. The D-LFO comes with two oscillators, both of which I tested. I found both to be consistent with one another.

All Examples Compared

For fun, I thought it would be nice to superimpose each example over one another so we can better observe how much variation can exist between sine wave oscillators.

Other Variables in the Equation

Since I recorded the three analog signals, there were at least two extra variables that may have introduced distortion to the resulting wave shapes. The first would be the recording device, an Apogee Ensemble with the soft limit feature set to off. The second is the cable. I used the same cable for all the recordings. I always patched directly from the sine wave outputs to the Ensemble input.

I did go the extra step and recorded the Csound sine wave with the Ensemble and cable. I found there were no significant differences, in terms of contour, between the original generated wave and the recorded version.

My Methods

Last, I want to share the methods I used to collect and present the data. I recorded the three analog signals with the Apogee Ensemble, and with the software Peak. I took screen captures of peak, and then processed them in Photoshop. In Photoshop, I removed the dotted zero line, and replaced it with a solid line. I also resized each image so the waves would have matching periods. Though I compressed the width of each waveform, the contours of the waves were not affected.

And like I said, this experiment is just the casual observations of one guy, and completely non-scientific.

Csound Journal Issue 6

The 6th issue of the Csound Journal has been published at cSounds.com. Here is the list of articles pressent in this edition:

  • Aspects of Bandlimiting by James Hearon
  • Developing LADSPA Plugins with Csound by Victor Lazzarini and Rory Walsh
  • Using Python Inside Csound by Andrés Cabrera
  • Perl and Csound – Part 2 by Jacob Joaquin (that’s me)
  • Das Kombinat Multimedia


    This is the musicvideo of Das Kombinat to the title ‘Multimedia’ from the CD ‘Betriebssystem’. The real life footage was shot 1998 on Hi8 video, but the quality was so low that it couldnt be keyed in a good way so we stored and forgotten about it. In 2002 videosoftware made such advances that we tried a new application and imedantly bought a license because it saved our material. Keying is still poor but much better now. We combined the footage to 3D animations we created. The sound is complete rendered digital with the opensource csound back around 1996. The video was shown several times, for instance before Notstandskomitee concerts, but also included into the blue screen issue of the Berlin CDr artzine t.i.n.a.h. .

    By far the coolest video I’ve watched all morning.

    Drum Sequencer Event Generator

    The Csound Blog
    Issue #8

    Getting lost within a list of instrument events is sometimes less desirable than being able to place events on a grid or lattice. This is especially true when working with rhythms. I’m a firm believer that the interface influences the compositional process. This is why I’ve begun development on dseq, an instrument that allows me to input drum patterns in a manner that is much more user-friendly.

    Topics:

    • Strings
    • Drums
    • Sequencer
    • Event Generators

    More at The Csound Blog. For more information about Csound, please visit cSounds.com.

    Poor Little Robot

    Poor Little Robot” is a piece of music orchestrated for Banjo and Csound Theremin. And I absolutely love it!!

    Composer Joseph Sanger wrote the following description to the Csound mailing list:

    I have just posted an mp3 on my myspace site which uses Csound in a small way and wanted to share it. It’s not particularly highbrow but you might find it amusing, it’s a rather poignant duet for Banjo and Theremin. I modelled the theremin in Csound (not complicated) and played it with a MIDI keyboard, recording it live into Ardour via Jack, so no Csound score exists.

    A Micro Intro to Macros

    The Csound Blog
    Issue #7

    “I’m continuing with what I started in the last blog ‘Adding Zak to the Mix.’ As promised, I’m breaking down the zak mixer into its respective modular components, beginning with Csound macros.”

    Topics covered:

    • Macros
    • #define
    • #include

    More at The Csound Blog. For more information about Csound, please visit cSounds.com.

    Resident Evil: The Umbrella Chronicles Video


    Uploaded to YouTube by ConsolewarsBecks

    I’m sort of a nut for anything zombie related.  Which is weird since I’m not really into violent/horror films.  However, I play a lot of video games.  Which, I guess, are loaded with the ultra violence.  

    One of favorite franchises is Capcom’s Resident Evil series.  In particular, I love the Resident Evil 1 remake and Resident Evil 4.

    The next title in the series, Umbrella Chronicles, mixes things up a bit, as it is going to be an on-rails shooter that utilizes the wiimote for placing the undead into your cross hairs.  More shooting, less adventure.  There is plenty of message board outcry over this new format.  However, I couldn’t be more pleased for a couple of reasons.  One, it’s nice to see older franchises taken into new territory.  Two,  Resident Evil 5 is in the works, so we’ll still be getting a true sequel.

    If you’re interested, you should read IGN.com’s initial hands-on impressions of Resident Evil: Umbrella Chronicles.