"These are the elements of life/"

Sunday, October 25, 2020

Aging Fraggles Boost Local Economy

The Union - October 18th, 2015

(Nevada City, CA) Over the last month, an unprecedented number of aging fraggles have converged again upon Calanan Park at the corner of Broad Street and Union in Nevada City. “We're just reclaiming lost territory,” admitted Thor Stowe of North San Juan. Many of these so-called and self-proclaimed fraggles, teens of the 1990s who would dye their hair the colors of the Muppet characters from Jim Henson's Fraggle Rock, now have professional degrees and semi-successful regional bands, yet duty has called them to the cause for aimless loitering.

“We didn't appreciate the transplant [marijuana] trimmers coming in and taking our role, but pretty much being dumb-asses about it,” said Matt Blanc of Nevada City. “It's a local culture that we have pride in, and we're taking it back!”

Officer Rodriguez of the Nevada City Police Department concurs. “It's good to get these thirty-somethings off Commercial Street, where they just impede and intimidate the elderly and young families with innocent children, and put them back in Calanan Park where they belong, just like it's twenty years ago.”

“It's been great for business!” exclaimed an ecstatic Jenny White, proprietor of a trinket store on Broad Street. “People as far as the Bay [Area] will come on the weekends to observe our native degenerate culture. They're like zoo animals!” She says this last sentence with affection, peppered with a bit of lust. One of the fraggles, wearing a NoFX t-shirt, dangling wallet chain, and baggy black jeans with metal belt-loops strangely going down the sides of each leg, begins to play erotically with the Monitor water cannon. “Check out the size of his cock,” screeches a female fraggle with a powdered face, as the male punk fraggle utilizes the water cannon as a phallic symbol for his virility. A crowd of Asian onlookers cheer and snap photos of the event, many taking selfies with the fraggle display in the background.

This is a far cry from the paranoid fear of fraggles that local businesses and upstanding citizens exhibited during the mid 90s. “Maybe we were wrong,” said Roger Winthrop of the now-defunct Broad Street Lighting, his gray beard shimmering under the quaint street lights. “Maybe they could have saved my business.” But instead of embracing the unique culture that the fraggles brought to downtown Nevada City, local business owners and community organizations fought for the removal of fraggles from all public display in Nevada City.

On June 23rd, 1998, the infestation was finally eradicated, with the ratification of local legislation and penal codes strictly prohibiting prolonged assembly in Calanan Park. The end of an era brought about the demise of a generation. “That was a sad day for all of us. That's when Nevada City kids started wearing Tapout shirts and listening to pop-punk. Like a bunch of Colfax tools!” raged a passionate Shawna-Lee Jenkins who recently relocated to Lake Wildwood. “When I removed the pale powder from my face for the last time, you can bet there were tears. But they were tears of rage.”

But on this triumphant day 17 years later, local fraggles and goths have converged upon Calanan Park once again. A boom-box blares a mix-tape comprised of Skinny Puppy, Cocteau Twins, The Cranberries and various other alternative rock bands. A group of 35 year-old men with self-cut hair, wearing frayed brown polyester pants and 311 t-shirts, form a hackey-sack circle. "You can always tell the poser fraggles," jibes an angry looking man. "They wear Dave Mathews Band t-shirts." The others in the circle laugh with a superior scoffing while dribbling the bean-bag hackey-sack with untied retro sneakers and indoor soccer shoes.

In 2015, Shawna-Lee Jenkins has been vindicated. The white powder base has been reapplied. She is wearing a self-made iron-on t-shirt design depicting a large photo of her retired Nevada Union High art teacher as he looked in 1996, captioned “Mr. Bastard.” She holds both middle fingers high over her head as she leers at a U.S. Forest Service truck making its way onto the on-ramp for Highway 49, not noticing the irony that the driver is younger than her. A group of blonde girls from Sacramento laugh as they take pictures of the event, posting them to their respective Instagram accounts.


Monday, August 17, 2020

My web-based Amiga Protracker MOD music player

Back in 2013 I took a web coding course, and for the class project, I wrote a PHP and JavaScript-based MOD player.  Back then, I didn't yet know the concepts of resampling well enough to get the DSP portion of the MOD player correct in time for the submission due date.  It would play the correct rhythms but the samples sounded like static.  It was also doomed from the start to not sound at all musical, because even though I was pulling samples with correct byte order from the MOD files, when calculating a value I was naively using ^ for power, which is of course Exclusive-OR.  Oops!  No wonder the samples sounded bad!

A year or so later, I implemented in the embedded software for a pathogen detection instrument some resampling routines, and I realized that was the knowledge I needed to make my MOD player work.  For many years the desire to finish my MOD player was on the back of my mind, until this year, when I finally decided to finish it.

When fixing my MOD player, I first tried just playing back the samples that it read from the MOD files, and I knew something was wrong simply by the way they sounded at a fixed and reasonable playback rate.  I thought maybe it had to do with how I was doing byte-swapping, but all that code looked okay.  Then I noticed I was using XOR instead of a power, changed it to some repeated multiplies, and BAM all of a sudden the samples sounded like they came from the song!  I was pretty ecstatic.

I then kept working from there, making it properly resample the data to get the right notes.  I incrementally added effects to get songs that required them to sound right.

As I had started it in 2013, I didn't want to deal with anything but getting it to work, so I begin development in 2020 on the same computer with an old version of Mozilla.  After I got it playing songs nicely, I then moved my development to a newer computer, and to my dismay, discovered that the Mozilla-specific moz audio functions had been deprecated.  At first I was annoyed, but after I got it to work using WebAudio, I realized that it was a great benefit, because most people use the spy browser anyway, so nobody would visit it if they had to use Mozilla Firefox, etc.  Also, it now works on phone, which is pretty fun.

Currently it needs the 0xA command implemented, and the related effects that also attenuate the volume of a sample over time.  At this point I think it sounds good enough to share, though.

I don't know JavaScript well enough to really write it in a thought out, object-oriented manner, like I would if I had written it in Java or C++.  It suffers as a result, that effects that need to bend pitch will be really hard to implement, so I probably just won't.  Also, adding support for 8 channel mods will be ugly, but possible, instead of just instantiating more channels, or something.

When I started the project, I didn't know of other JavaScript MOD players.  I then discovered the one made by Gasman.  I think his is still reliant on the old Mozilla moz audio functions.  This year, I have also discovered the JavaScript MOD player that is used by files.scene.org, and the one used by the MOD Archive (though that one is very resource heavy, and super choppy on my phone.)  There is also a pretty good one made by a Finnish guy, and another one on github too.

The value of mine is that it is super fun to use.  It is light weight and works on phones, and has a bunch of MODs uploaded and ready to be enjoyed.  I sporadically add new MODs to it as I hear ones that make me excited to put on my MOD player.  I usually hear them on Nectarine Demoscene Radio, and then download them from Modland or Amiga Music Preservation.

Here is the link to my MOD player: http://pwh.sdf.org/web_mod_player/

I hope you enjoy the great music!