The Logistic Function and its Discontents

This article explores the mathematical and more specifically the musical products of a very simple equation. In that exploration, we touch not only mathematics and music, but art, architecture, nature and philosophy; so those who are usually squeamish about mathematics are encouraged to read on.

Most readers who made it through high school algebra should be familiar with quadratic functions and the parabolas described by these functions on the x-y plane. For those who have forgotten, a parabola looks like this:

Parabolas are seen not only in high-school math classes, but often in nature as well. Among the most exquisite uses of parabolae can be found in the architecture of Antoni Gaudí. I had the priveledge of seeing many of his buildings and spaces in Barcelona, including this magnificent example of parabolic architecture:

But (as usual), I digress. For the remainder of this article, we will focus on a particular class of these functions, called logistic functions:

f(x) = ax(x-1)

Logistic functions have roots and 0 and 1, and describe a downward facing parabola (or “water-shedding parabola” in the parlance of my high-school pre-calculus teacher). The peak of this parabola depends on the value of a, and as we will soon see, this is the least of the interesting properties dependent on a.

Now, instead of simply graphing the function on an x-y plane, apply the output of the function back as the next input value in a process known as iteration:

xn+1 = axn(xn1)

This is a fancy way of saying “do the function over and over again.” What is interesting is that for different values of a, one will get different results. For low values (where a is less than one), repeated iterations get closer and closer to zero. If a is between 1 and 3, the it will end up at some value between zero and one. Above 3, things get more interesting. The first range bounces around between two values, as characterized below:

As a increases, eventually the results start bouncing among four values, and then eight, then sixteen, and so on. These “doubling periods” get closer and closer together (those interested in this part of the story are encouraged to look up the Feigenbaum constant). Beyond about 3.57 or so, things get a little crazy, and rather than settling into a period behavior around a few points, we obsserve what is best described as “chaotic behavior,” where the succession of points on the logistic function varies unpredictably.

It is not random in the same way that we usually think of (like rolling dice or using the random-number generators on our computers), but has rather intricate patterns within – those interested in learning more are encouraged to look up “chaos.” This chatoic behavior can be musically interesting, and I have used the chaotic range of the logistic function in compositions, such as the following except from my 2000 piece Spin Cycle/Control Freak.

One can more vividly observe the behavior I describe above as a graph called a bifurcation diagram. As the values is a increase (a is labelled as “r” in this graphic I shamelessly but legally ripped off from wikipedia), one can oberve vertically the period doubling where the logistic map converges on a single value, then bounces between two points, then four, then eight, and so on, until the onset of chaos at approximatley 3.57.

There are tons of books and online articles on chaos, the logistic function, and its bifurcation diagram. Thus, it’s probably best that interested readers simply google those phrases rather than suffer through more of my own writing on the topics. However, I do have more to say on my musical interpretations of these concepts.

Given my experience in additive synthesis and frequency-domain processing (if I have lost you, then skip to the musical excerpt at the end, it’s pretty cool), I of course viewed this map as a series of frequency spectra that grow more or less complex based on a. I implemented this idea in Open Sound World. using the logstic function and its bifurcation diagram to drive OSW’s additive synthesizer functions. The results were quite interesting, and have been used in several of my live performances. I use my graphics tablet to sweep through different values of a on the horizontal axis as in the bifurcation diagram:


Photo by Tiffany Worthington

The resulting sound is the synthesis of frequences based on the verticle slice through the diagram.

Click here to listen to an example.

In the periods of chaos, the sound is extremely complex and rich. Below 3.57 and in the observable “calm periods,” the sound is simpler, containing on a few components forming somethin akin to an inharmonic chord. In true chaotic fashion, small movements along the horizontal axis result in dramatic differences in the spectrum and the timbre. The leads to a certain “glitchy” quality in the sound – one can practice control over time to make smooth transitions and find interesting “islands of stability” within the timbral space.

I have used this simple but evocative computer instrument in several performances, including my 2006 Skronkathon performance as well as my work last year with the Electron SAlon series. I have really only scratched the surface the possibilities with this concept, and hope to have more examples int the future.

A tale of two CDs

I haven’t really followed contemporary popular music for the last few years. But two 2006-releases that I picked up recently are worth mentioning.


width=”1″ height=”1″ border=”0″ alt=”” style=”border:none !important;
margin:0px !important;” />First up is With Love and Squalor by New-York-based We Are Scientists. You might guess that I originally picked this CD because if its cover. I was at Streetlight Records in Santa Cruz to buy a gift for a friend and check whether any copies of my CD had sold. I also browsed for bargain experimental electronic or “contemporary classical” CDs, but instead came out with this one. Not only does the cover have three cute kittens, they have the markings/colorings of the three cats I have had, with Luna represented by the all-black center kitten. Musically, the band does decent indie-rock of the sort one can hear in clubs in downtown and Brooklyn.


src=”http://www.assoc-amazon.com/e/ir?t=peoplestankenter&l=as2&o=1&a=B000F3AAUW”
width=”1″ height=”1″ border=”0″ alt=”” style=”border:none !important;
margin:0px !important;”
/>Next, we have the rather popular St. Elsewhere from hip-hop duo Gnarls Barkley. As the sticker on the CD case explains, “Gnarls Barkley = Cee-Lo + Danger Mouse,” both of whom have names in contemporary hip-hop. However, the album is a lot more ecclectic, with many tracks whose sound is more reminscent of old funk, soul and R&B from the 1960s/1970s – there is even one that sounds like British New Wave from the early 1980s. I think the retro quality is what appeals to me, tracks that sound more like funk and disco than the contemporary hip-hop sound, which frankly doesn’t resonate with me. The first three tracks, including “Crazy” which has become a hit as a single, form am amazing unit to listen to in tandem, and the final track of the album segues back into the beginning with something that sounds like an old movie projector. Those tracks have become part of my portable-player set, which I think qualifies as an aesthetic endorsement.

Well, you’re on your own now to check out these albums if you feel so inclined.

Weekend Cat Blogging #68: Luna and Cats of India

This week, chefsarahjane hosts again. We wish her a happy birthday, and say hi to Tiggy as well. Do visit them and check out this week's round-up.

Meanwhile, Luna poses with Ganesh for our special WCB feature on Cats of India:

Inspired by masak-masak's street cats from last week's round-up here at catsynth.com, I present a few cat photos from my trip to India last winter. We begin with this feline and bovine duo from my father's hometown north of Delhi:

As many readers are probably aware, cows are considered sacred in Hindu culture, and a family cow is treated in many ways as a prized pet. Cats in India don't quite have the same status. Not only do most Indians not consider them as appropriate pets, but some also regard them in a suspicious, even superstitious manner (as have many cultures throughout history, sadly). Thus, most cats are street animals that generally must fend for themselves. As many of us know, cats are supurb hunters and scavengers, so many do manage. I tended to see cats near food establishments, this near-white cat was wandering the dining area of a dormitory in Delhi we stayed at for a couple of nights, begging for scraps (which I of course provided). The grey-striped fellow in the photo below managed to find a good location at the cantina in one of heavily touristed palaces in the city of Jaipur. That probably accounts for its more healthy appearance:

I did come across this article from IndiaTimes that discusses the state of cats in Indian society. Unfortunately, the HTML seems to have come thru as plain text, which makes it difficult to read.

Ultimately, I plan to create a photo-essay featuring these and other photos/videos from my trip.







Fun with Emulator X: Bohlen 833 cents scale and harmonics

I have been experimenting lately with alternate tunings and scales. A couple that have particularly piqued my interest are the Bohlen-Pierce scale and the much-less-used Bohlen 833 cents scale. The latter is intriguing in that it is based on properties of the fibonacci sequence and the golden ratio (although Bohlen admits he did not have those concepts in mind when he stumbled upon this scale).

Based on the golden ratio (1.618034…), one can construct a harmonic series as multiples of 833 cents that has a very distinct timbre. This can be easily implemented in Emulator X as a series of sinewave voices (or voices of any other harmonic single-wave sample) tuned multiples of 833 cents above the fundamental:

The series above consists of a fundamental, three golden-ratio harmonics, followed by the octave above the fundamental (traditional first harmonic 2:1 ratio), and the three-golden-ratio sub-harmonics of the octave.

Using these and other harmonics, Bohlen was able to construct the following seven-step scale between the tonic and the tone 833 above.

Step
Ratio (dec.)
Ratio (cents)

Diff. to previous step (cents)
0
1.0000
0
1
1.0590
99.27
99.27
2
1.1459
235.77
136.50
3
1.2361
366.91
131.14
4
1.3090
466.18
99.27
5
1.4120
597.32
131.14
6
1.5279
733.82
136.50
7
1.6180
833.09
99.27

Emulator X does not have editable tuning tables, although it does have a 36ET tuning (36 divisions of the octave). Bohlen suggests that playing specific steps out of the 36ET scale yields a good appoximation of the 833 scale:

Step (just)
Cents (just)
Step (36/octave)
Cents (36/octave)
0
0
0
0
1
99.27
3
100.00
2
235.77
7
233.33
3
366.91
11
366.67
4
466.18
14
466.67
5
597.32
18
600.00
6
733.82
22
733.33
7
833.09
25
833.33

Combining the Bohlen 833 scale and harmonic series, which are both based on the golden ratio yields a new tonality. Although it is quite different from the traditional Western tonality based on integer ratios, it is nonetheless “harmonic” with respect to its own overtone series. This is perhaps a simple counter-example to to the Monk's Musical Musings from an earlier article.

But how does it sound? To that end, I provide the following audio example consisting of the scale played on the 833-timbre in Emulator X, along with some additional intervals. Because this is only an approximation using 36ET, things aren't perfectly “harmonic,” but I think one can get a feel for the tonality. I particularly like the “tri-tone” (600 cents above fundamental) here.

The next steps are to come up with a more musical timbre based on the harmonic series, as well as short composition using the scale…

Worthless Kitty Redux: April 24, 2006

I am upset by the names of her brothers.
It is not clear where they belong,
where she belongs.
Close to the family,
to their heritage,
or off on the mean streets of cities
or nestled among the trees
barely out of Nature's reach?
Does history begin in a stranger's room
with dyed red hair
and a black dress
and words that no one wants to hear?
It doesn't seem finished
It doesn't seem to have begun
The eyes are all around
And I am tired.

Weekend Cat Blogging 67 Roundup

Well, it's time to get started with the great WCB 67 roundup!

To start things off on the music theme, here's a repost of Luna bedding down next to one of my MIDI keyboards – this was featured on the inaugural post of this forum:

Thanks to everyone who has submitted so far, and also for the many kind words about Luna and this site. Keep 'em coming, and I'll keep updating throughout the weekend. Just submit a comment at the WCB #67 call. Links back to this site are also appreciated ;-).

First off, we have KuDin and Siri joining WCB for the first time. Siri is looking quite relaxed on the rug.

Mr. Mao aspires to be a feline TV star (or a feline celebrity stalker) over at Kross-Eyed Kitty.

Upsie at “What Did you Eat?” reminds us that long hair and autumn leaves are a dangerous combination. Parents beware!

I love those little black girl kitties, like Aretha Franklin over at Miss Ellie's Page. That's what Luna must've been like as baby. Such a sweetie! I really hope someone gives her a nice home.

cooknkate gives us some Mimi chillin' out in the ironing room. If you ever visit, be prepared to share your guest quarters.

Over at chefsarahjane, the adorable Tiggy shows off her toys. Play, nap, play, be cute,…If only we could all lead her existence…

Jelly gives us some extreeeme closeups of Kamikaze. Apparently, he hasn't been in the best of moods lately.

Columbus Foodie introduced Frankie and Sammy in their first WCB appearance. Looks like Frankie's got the prime spot in the bedroom, at least for the moment…

Anne at Anne's Food gives us the adorable pair Glinda and Kelly contemplating a spider. I'm imagining the classic Odd Couple theme playing in the background here…

Over at passionatenonchalance, babaganoosh reminds us just how tiring it can be to play with ribbons. Believe me, I know, I've tried it.

More classic themesongs come to mind as Trixie and Colin at The Westering Hills reenact a scene from Rocky. Ouch, kids, round over!

Bonus points to Taboo over at jellypizza for choosing a speaker as a hiding place. I'm with you on hiding from meds, Taboo, but speakers can be dangerous hiding places, especially if your humans have any Britney Spears or Christina Aguilera CDs…

Over at Rosa's Yummy Yums, we have Fridolin and Maruschka lying together in their basket, or “two lazy sausages” as Rosa puts it. Makes me feel all warm and sleepy just watching…sleeeeepy…

…today was a beautifully warm September day here (unlike yesterday), so I spent much of the afternoon outdoors. The outdoors felt especially welcome after being stuck sick indoors so much the last few days. A short walk out the ocean, followed by a relaxing couple of hours in the backyard, reading and whatnot…I'm now back inside for the sunset, and time to get back our cat blogging roundup…

From masak-masak, we have several street cats, who appear to be doing well thanks to the Malaysian fondness for felines. It's great to see a culture that loves cats. This is also a self-reminder to write a photo-article for this blog about the cats I encountered in India last winter.

Mr. Neelix and Sinda are a veritable yin & yang, enjoying a moment of perfect harmony in the U.S. Pacific Northwest, courtesy of Tina at A Blip on the Radar. Just look at the way they're eyeing each other, though. You know something pretty serious is about to go down…

From Cin at “A Few of My Favorite Things”, we have a very regal Bella being served a fine meal as she surveys her domain…um, are you going to eat that?

Extreme cuteness alert! Feline Foster Mom Ellen presents an irresistable pair of young kittens from the CASPCA in Charlottesville, VA. Do check them out as well as the other kitties available for adoption, especially if you're in the Charlottesville area. That is some great photography – family photographers who have to deal with unruly kids, take notice.

Cats are experts at finding new comfy places to sleep, and Lucky is no exception, as Riana at “These Days in French Life” shows us.

farmgirl presents an installment in the riveting drama Hot Dog vs. Parched Pussycast. I guess we'll have to check back in to find out what happens next. Please also visit The Wild Animal Sanctuary, they still need support for the efforts to help (formerly) captive wild animals in the U.S.

Molly curls into a cashew and purrs while Kaji's Mom attempts to do her blogging. I know, I can't resist that tummy, either.

Heather tells us about the wet weather in the hill country of Texas. More poignantly, however, she dearly misses her kitty Spooks who was hit by car this past week. Our thoughts are with them both.

Well, at this moment there's about five minutes left on the weekend, at least where I'm sitting (which is on the couch). I will continue to post any entries I receive through Monday morning.

Thanks to all who contributed. It has been great fun hosting Weekend Cat Blogging, and should the opportunity come around Luna and I would happily do so again.

Good night!





Listen to audio from headphone festival

I'm taking a short break out of cat blogging to post the audio from my recent performance at the headphone festival. You listen to it here.

This will be the first in my podcast series, though getting that set up is taking longer than planned, all these pesky details setting up the RSS feed, populating the content, collateral, etc. So for now, just enjoy the music on its own…






Sick days, the mighty hunter and "this hole in the ground"

I've been a little under the weather the last couple of days. Actually, more than a little. Mostly just resting and recuperation, with Luna?s help, of course. That is, when she?s not too busy looking out the window or hunting bugs, which she spent a lot of time doing yesterday and today. There was one large fly in the window that she became quite obsessed with, tracking it and swatting. Took a while for the mighty hunter to finally catch her quarry.

I did read some more from Hofstadter's Metamagical Themas (which I briefly discussed in an earlier post). I would like to share some interesting thoughts from that as soon as I feel up to the task.

Of course, one can?t spend the entire time on intellectual pursuits, however recreational; so Luna and I also caught up on some DVDs:

I pretty much use the TV as a DVD viewer, I don?t have any television service. So I?m not really up on either current popular programs, nor what?s going on in TV and cable news. Aside from the occasional good drama that I can rent on DVD anyway, it doesn?t seem like I?m missing much, especially when it comes to television news. However, TV news does intrude into other domains however, for example, I found several references online to this commentary by Keith Olbermann. As a follow up to my [post from a few days ago], I provide the following quote which mirrors not only what I have been thinking with frustration not only about the big empty space in New York, but about what happened (or failed to happen) politically in the past few years:

Five years later this space is still empty.

Five years later there is no memorial to the dead.

Five years later there is no building rising to show with proud defiance that we would not have our America wrung from us, by cowards and criminals.

Five years later this country's wound is still open.

Five years later this country's mass grave is still unmarked.

Five years later this is still just a background for a photo-op.

It is beyond shameful.

I strongly recommend reading or viewing the whole article in its entirety.

Like I said, I'm pretty out of it when I comes to TV and cable news personalities, so I'm reading a lot of this for the first time. Seems like he?s a bit of an anti-O?Reilly but a bit more civilized. His recent commentaries have earned him a fair amount of praise at several internet outlets that I read; but not surprisingly a lot of flak from the right. He even has his own anti-fan site, though who doesn't these days?.

I'm also curious about this whole “worst person in the world” thing…does he take suggestions?

cat
kitty
hofstadter
9-11
September 11
New York
olbermann

A perfectly clear day…

Today was a warm, perfectly clear day, notably absent of the fog, cold and wind of the past week…

It seems like September 11 is always a bright, clear day, both here in northern California as well as back in New York. It was certainly a clear day five years ago as well…

There are certainly a lot being written online on this fifth anniverary of 9-11 – some of it genuine (particularly from New Yorkers, though not limited to them), a lot of it propaganda, or phony sentimentality or “patriotism.” I would stay clear of the whole thing if I didn't think I had something unique to contibute…

I begin with quote from this view from the WTC plaza that I read this afternoon:

I arrived in Lower Manhattan at about 8:38. Walking up Dey Street I decided to stop for coffee and walked across Church Street onto the Plaza of the World Trade Center. I called my father on my cell phone and we were talking which kept me from entering the building. I was on a bench right in front of the WTC 1 and turned slowly for no real reason and saw the entire plane hit the tower. I saw the wing extended from the building on the south side and a large explosion. Then smoke. Then everything was frozen, very still, with a perfect New York blue sky framing the backdrop of explosions. I ran when the glass and metal begin to fall from the sky hitting all around me…At that point I began running north. I got to East 4th Street completely dazed. On Houston St. I saw the WTC 1's needle crumble to the ground and heard on blasting radios that both of the towers had fallen. From there I made my way to the Williamsburg Bridge and made my way back home. Tens of thousands of people were walking across the bridge, a surreal exodus no one was quite prepared to cope with…
I never thought I would work in the World Trade Center. But I enjoyed my work there. Like all artists, I needed the money, but I also made many friends and learned a good deal about other parts of life, other skills that I never knew I possessed.
The views of the harbor were magnificent and inspirational. I remember ending long days by looking out the windows and feeling so very refreshed and glad to be in such a beautiful city like New York.
But that view is gone and so much has changed. Though I have felt such anger and frustration, more that ever in my life, I know I will survive. I made it out alive for a reason.

At the same time, I was 3,000 miles away in the totally boring and pathetic Bay Area town of Fremont, arising from bed an hour or so later to face an ordinary day at work 40 miles away along with daily challenges of my unravelling relationship. That was all, at least temporarily, swept away by what I saw and heard on CNN (only after receiving an email exhorting everyone to turn on the news). I didn't get into work until sometime in the afternoon, and then spent much of the day online looking at photos; I continued to wade through photos well into the night after returning home.

Things like this were not supposed to happen, not to New York, not to its iconic and familiar skyscrapers, not to the indistructable momunments of the modern world. Whether it was during my happy years in Berkeley or the miserable year in Fremont that was only beginning, I'd always be able to go back to New York – and suddenly that was no longer something I could count on, everything was mortal, and I was “guilty” somehow for not being there…

I did make it back to New York in Novemember, 2001, and of course had to see ground zero for myself. This is a photo I took looking into the site, from the north (Varick Street, I think):

In the longer view, the thought I have kept coming back to was the idea that something so beautiful (the World Trade Center complex, the New York City skyline, the emblems of 20th Century modernism) were destroyed by something so ugly (Islamic fundamentalism, the tribal and primitive past). Having not lost anyone personally on 9-11, I am able to think about things like this, and how what I want in return is the restoration of modern ideals. I will leave the political and cultural aspects aside for another post (I'm sure I'll get back to it again), and focus for this anniversary on the aesthetic and architectural.

The Skyscraper Museum in New York, which is hosting a commemoration of what it labels the “original World Trade Center,” lends its support the idea that the age of the vertical metropolis is far from over. In that spirit, the Lower Manhattan Development Corporation (LMDC) unveiled the latest design for the new World Trade Center complex, including the new major buildings and the memorial:

Having followed the redevelopment story over the past few years, I am used to the new design, and I am mindful of the controversies around the original Twin Towers in the late 1960s as being too “boring” and somehow an affront to New York's skyline, and in the long run nothing could have been further from the truth. The building designs have attracted a certain amount of controversy, but nearly as much as the design for the memorial. Any design certainly has it's imperfections, but as it stands it is perfectly in harmony with the modernism of both the original and new World Trade Center complexes, and it includes the most important generally-agreed-upon elements such as preserving the footprints of the original towers, and even incorporates a piece of the original retaining wall (illustrated in the picture to the right). Certainly, the criticms have their place, notably the concern by 9-11 families for the victims' names. But that's where their “rights” end, at least as far as the restoration is concerned. I mean no disrespect to the people who lost loved ones, but if we followed the advice of some outspoken victims' relatives and the opinions of many unaffected people in Middle America, such as the author of this article (he can't even get his dueling memorial-advocacy websites straight!), lower Manhattan would be overrun with kitch, over-sentimentality and insipid tributes to phoney patrotism. That may be fine for Oklahoma City, but not for New York! It's bad enough that we have to live with middle America's patron saints of mediocrity as our leaders along with their policies that make our great cities targets for more terrorism, let alone have to deal with their ideas of what makes a good memorial…But, I did say I'll save the politics for later. So for now, I leave with with another quote from that original site I references that discusses what not only it's author (Sami Plotkin) but indeed many New Yorkers might have wanted:

None of us wanted to see [the twisted structure of the 500 foot wall] go. We have been comforted over the past two weeks by its presence. We have marvelled at its strange beauty, as it rose from the ruins, an intricate lacy network of sheer strength; a stoic remnant that survived the blast and struck us with its splendor in the golden light of sunset, as bright rays glanced off the building behind, glinting between its metal beams and through the great accidental window which was rent through at just the right height. It was an image of alarming beauty, and the serendipity of its perfect composition was significant to us. In the most simple and sentimental way, the evening light shining through that accidental window was for us a ray of hope. Although we all understood that for now it must come down, whispered questions eddied through the crowd as we wondered, would the pieces be saved? Does the Mayor know that we have already begun to see this as our monument? For we have. That mangled and beautiful skelet! on was a monument that spoke more poignantly of New York's pain and resilience than any artwork we could have devised.