Showing posts with label electoacoustic. Show all posts
Showing posts with label electoacoustic. Show all posts

29.1.09

Wii with the World

Last semester I made this crazy web app for my final electroacoustic techniques course. The core idea is audience participation through interactive web design. Audience members that navigate to the webpage (hosted on my laptop) are greeted with an avatar that they can name, move around, and click on. All of their actions are recorded and sent back to the php server. Those actions are then sent to the other clients as updates.

Clicking on your avatar not only plays a sound on your laptop, but also plays a sound on the laptops of whomever is nearby you in the virtual space. Additionally, the click registers with the SuperCollider server running on my laptop, which responds by playing audio through the house speakers. The project includes:

  • A SuperCollider Program that procedurally generates melodies based on audience input and on wii audio samples transposed along the pentatonic scale.
  • A PHP Server that both hosts the website and keeps track each audience member's actions in virtual space
  • A simple HTML/CSS webpage
  • A Javascript interface that allows avatar 'mii's to be clicked, dragged, and updated inside a virtual playing field. Musical note graphics give user feedback when each of their respect laptops are playing sound. Implemented using JQuery.
  • JSON packets sent to each client notifying them of other virtual audience members' actions
  • A Flash player that plays the audio, triggered by Javascript events.
This incredible amount of work was done not only by me, but also by Phil Harnish. Special thanks goes out to all the beta testers that had to deal with some really buggy code. If you're interested you can download the source code here.

2.11.08

The Largest PD Patch I've Ever Made

Thought I'd take some time to show you the PureData patch that I created for this piece (Apologies for a long post length). The piece was performed this past Thursday and the performance went great, despite me not having tried it out on the studio's new MacBook Pro until the day of the concert.

In the top left corner is the top of the patch hierarchy, which shows the master sound level of the piece. (Click on an image to enlarge it.) To the right is the "pd engine" where I keep all of the patch's internal logic. And below is what I call the dacbox. Any audio that is thrown to "dac_left" "dac_right" or "dac_out" is caught, added together, and multiplied by the master_vol before sending it to the digital to analog converter (i.e. the speakers).

Under chroma you have the innerworkings of the following idea: The patch listens to the gameboy for discreet pitches (this is what "fiddle~" does in the picture) and then will play those pitches, at random, until it is told to stop. the subpatch "chroma_memory" pictured here takes care of the first problem--listening to the gameboy. Once fiddle~ finds the midi value of the note played, we mod that value by 12 (since there are 12 tones in a chromatic scale), and OR a bitwise representation of that number to the current representation of previous notes heard. (In hindsight, storing those values in a pd table would have been clearer to understand, but this approach does appeal to the bit-twiddling geek in me.) Chroma_memory can also listen to a chord progression instead using the "receive chroma_chord" object.

Chroma_selector on the right determines which note will be played at what time. Loadbang starts the metro once the patch is loaded, and the metro's tempo is being constantly changed by the random 1000 object (where the 1000 is in milliseconds). At these random time intervals, random 12 is asked to generate a note between 0 and 11 which corresponds to one of the pitches in the chromatic scale.
Chroma_validation makes sure that the note chroma_selector has chosen to play (left inlet) is a part of the subset of notes that chroma_memory has said are OK to play (right inlet). If the selection is valid, the appropriate sound file is loaded, panned (via chroma_panner not pictured here), and thrown to dac_left and dac_right.


The fft subpatch takes whitenoise (aka "noise~"), and convolves it with the signal coming from fft_timbre (in this case, vocal harmony). The twist is that conv_lvl determines how much like the fft_timbre the whitenoise actually sounds. A similar crossfade relationship is happening between chords and strings. I'm not showing the fft-analysis subpatch here because it's identical to the timbre-stamp help example in pd.


These are my midi controls, using my Axiom25. Most of the ctlin objects are assigned to faders except for the stuff at the bottom which is assigned to buttons. Button 20 determines whether chroma listens to the gameboy, or to the chords. Button 22 starts all chord progressions, while 23 stops them all. Button 24 starts the chords without counterpoint.wav, while 25 starts only counterpoint.wav. When I say chord progressions, I mean there is a soundfile for gameboy harmony, a soundfile for string harmony, a soundfile for vocal harmony, and of course the chords sent to chroma_memory. Counterpoint.wav sounds like this:




This last subpatch is just triggering the three wav files at the bottom using various techniques. The graphical bang labeled "introduction" plays the files one time through, whereas there is also a random loop (complete with killswitch), and "end loop" which is a different loop for the end of the piece.

Even seeing every part of the patch, the final product is hard to conceptualize without hearing it. All the patch really does is set up ways for me to perform, there is no actual score here. I'm hoping to record a studio performance of the piece so I can share it here, but in the meantime let me know if this patch explanation made any sense at all :)

18.10.08

Little Sound DJ

My childhood gameboy, an lsdj cartiridge, and a pair of new headphones later, I've started composing my piece for an October 30th Midday Music concert. The inspiration for the piece comes from chiptune music, which I stumbled upon a couple months ago.

(Gameboy compliments of my mom, headphones compliments of Phil)

Little Sound DJ (LSDJ) is a cartridge for gameboy that allows a musician to create and sequence those low bit sounds that my generation has come to know and love. The actual cartridge has been out of print for a while now, you can either flash the rom to a blank cartridge like I did (via nonfinite) or search on ebay.

As far as hardware is concerned, people seem so prefer the original Gameboy sound even though LSDJ is also compatible with Gameboy Color and Gameboy Pocket. Lots of people also modify their gameboy by adding an 1/8" jack to reduce ground noise, or adding a backlight to the screen.


In LSDJ, you can choose Square Wave, Drum Kit, Speech Synth, or Noise as your instrument of choice; then use filters, envelopes, and transpositions to alter the sound any way you like. Once that's done, there's a four voice sequencer that you can use to your hearts desire. You can do some neat things like vibrato, slides, and panning which I'm excited to play with. Other things, like the drum kit and speech synth, are not as interesting to me (probably because better alternatives have appeared since ~2000 when the software was made).

I should have sound samples for you shortly, along with a big description of the PD patch I'm writing. Basically with gameboy samples and live input from lsdj, I'm hoping to make a composition which demonstrates that lowbit square waves can be used for more than just cheesy video game music. Not that I don't love cheesy video game music :)

14.9.08

ElectroAcoustic Techniques

Since I'm not sure whether or not my research is continuing this semester (Spencer, where ARE you?), I took it upon myself to find more credits, and I found them as a graduate seminar in the digital music center. Our first assignment was a 30 second tape piece using Audacity and Cubase. I wish I had the pieces of the 5 other people taking the class so I could let you listen to them; we're a really diverse group and their pieces were amazing. Unfortunately all I have is my submission, but here it is


The assignment was to do something with language, so everything you hear is a manipulation of my own voice (except for the tts voice I found from AT&T). The 0's and 1's in the middle of the piece are actually reciting parts of the text in binary.

comments, questions, concerns? We're learning Csound next.