Python can be molded to look like an audio synthesis language with the help of decorators. In my last post, I showed an instrument graph built within a Python iterator class. However, Iterator classes are too clunky looking, and require more work than should be necessary for creating a simple ... read more.
I built an iterator class from the graph in yesterday's example. Read and download the full script here. Let's take a look at the class, then discuss the implications: class MyInstr: '''My Instrument''' def __init__(self, dur, amp=1.0, freq=440, tune=12): ... read more.
I wanted to generate a control-rate signal with my Python-Slipmat prototype. To my surprise, doing so was fairly straight forward; Python iterator classes have a control-rate mechanism built right in. Read and download the full script at snipt. I designed a simple envelope that generates a rise-fall shape. By default, the rise ... read more.
I experimenting combining the first Slipmat prototype (built with the Csound API) with Processing. Getting the two systems working together was fairly straight forward. Here's the code that generated the video. The following method from class Disc does two things when a disc collides with a border: change direction of ... read more.
Slipmat has been a pet project of mine for a few years now. The first working prototype was realized in Java. The code for this is up at sourceforge. Originally, the idea was for slipmat to be a java interface layer that sits on top of Csound. Hence the slipmat metaphor. ... read more.
A music language that comes with a fully-loaded set of string capabilities, including regular expressions, would allow users to develop their own methods for notating music. For example, here is a horizontal representation for rhythm guitar. @0 strum('C', '/... /... /./. /...') @4 strum('Dm', '/... /... //// /./.') @8 ... read more.
I want to begin discussing the implications of yesterday's Python-Csound mockup code (which I'll refer to as slipmat for the time being), starting with with imports: import Wavetable from Gen import sine from Pitch import cpspch All of Csound's 1400+ opcodes are available at all times. Great for convenience, perhaps not so great for ... read more.
Last year, I finally weened myself completely off of Perl and learned Python in its place. Colors have never been brighter. There is such an elegance to Python, and I would love to see this in a computer music language. The following mockup code is what you would get if ... read more.