Category Archives: Assignments

Amplitude to color

For this assignment I used a simple pfft~ patch that used cartopol~ to return double values that represent the amplitude of the signal, scaled by an input. Then, I made a matrix, and a counter to run through each cell in the matrix and map the amplitude from the pfft~ to the value at that coordinate. I then used the built in jit.xfade object to mix the created matrix with a given movie. Here’s an example of Jupiter from Holst’s The Planets overlaid on a clip of Jupiter the actual  planet.

Here’s the main patch:

and here’s the simple pfft~

By changing various values within the

Assignment 4- What have I done?

I thought it would be cool to have an effect triggered by a certain frequency or amplitude in a song, so I recreated the frequency crossover patch from class and decided to have that be the manipulated variable in my attempt at an effect automation patch. I added an amplitude gate to the pfft~ sub patch that only allowed sounds through that were over a certain amplitude and sent the resulting 1/0 back to the main patch, where it would then activate a random number generator and a counter that in turn controlled the gain on each of the signals that were coming out of the frequency crossover processing. This sounds like it doesn’t make any sense at all as I’m typing it, so here’s the finished product:

https://soundcloud.com/user186794567/coby-spectral

And my code:

https://gist.github.com/anonymous/ef7aab70161be0846284623791ac6616

https://gist.github.com/anonymous/ac489ab3534398d4ce3f3acb4756d73d

 

It’s not quite the level of control I would like, but it’s a start and I definitely feel more comfortable working in the frequency domain now.

Polyphonic vocoder with live midi

For this project I used FFT to create a simple voccoder using a an input vocal file and simple saw waves. In order to allow the user to play chords and such in real time, I also added a poly midi system that takes in multiple notes, routes them to voices, and kills them when the velocity reaches zero (note release).

 

To use this patch simple load and play a file in the sfplay object, and then connect a midi device and play notes. As you play notes the file loaded into sfplay will be output in the frequencies being played on the midi controller.

To demonstrate how this works in practice I played my favorite jazz standard, Misty, while running an accapella for the death grips song “Death Heated” through the vocodder.

EXPLICIT CONTENT WARNING

It didn’t occur to me until after I was finished that this content might be too offensive to post, so I apologize in advance. I thought it was funny at the time and it didn’t really occur to me I was turning this in for a grade.

If I were given more time I would want to add an ADSR envelope to the voccoder. Currently there is a lot of cutting out because as soon as I lift my hand from one chord to play the next the velocity drops to zero and the voices die. Adding a sustain on note release would make the audio less choppy and make this vocodder more playable in multivoice situations.

MAIN PATCH

VOCODDER PATCH

SYNTH VOICE PATCH

SOURCES CITED

I had a lot of issues with the polyphony aspect, and I got a lot of help from https://cycling74.com/2011/05/05/polyphonic-synthesizer-video-tutorial/

 

Messsy Visualized Audio

This project uses the polar coordinates of the incoming signal and plots them on a cartesian plane! The visualization moves horizontally via a counter. One of the sliders to control the number of planes in the jitter matrix (this sort of controls the color). The other slider controlled the speed of scroll. This method has a top-speed, which already isnt very fast. I left the slider in case I wanted to hook it up again. Whoops-its a messy patch! At one point, I had the lcd control colors of the points, but something happened and I wasnt able to figure that out again. It would be interesting to run a sine wave sweep through this to look at that visualization!

 

 

Code for main patcher:

Code for child patch:

 

Should I stay or should I PFFT?

I split the song “should I stay or should I go” by the clash and I split it into different sections of song, (drums, vocals, and guitar/extra). I wanted to look at how the pfft can easily create crossovers and how using different crossovers with different types of frequencies could still be put together to make a song completely different from the starting point, but still mesh and sound like music. Here is the finished song i created with live frequency changes:

And here is what the max-patch i used looked like.

screen-shot-2016-10-16-at-11-05-37-pm

screen-shot-2016-10-16-at-11-18-57-pm screen-shot-2016-10-16-at-11-18-48-pm

Ive attached the code for the patch here:

Main_Assignment4_kmquinn

Cheers!

Kayla Quinn

multibandcompressor

so you thought you wanted it loud?

It’s a standard multi-band compressor built by amplifying the amplitude data in an FFT. I broke it out into three bands so that it could act differently on the highs mids and lows. Then I built a frequency sweeping LFO in just for fun!

Test song is Waves by White Bear Polar Tundra

Starting clean and then getting progressively more crunched through 7 presets. the LFO starts on preset 7

https://whitebearpolartundra.bandcamp.com/album/filter-the-noise

shameless plug for a friend’s band here.  RIP WBPT

Assignment 4_noiseCanceling_Ming

In this assignment, I create a noise canceling tool. I first import a background noise environment sound track, then import a voice-noise-mixing sound tract. By playing with pfft~ I can use either amplitude or phase attribute to cancel the noise from the voice-noise-mixing sound tract and leave me only the voice. You can hear the difference between the two methods.

In the youtube demo video, I first playing 2 original sound tract (noise background and voice-noise-mixing sound), then using amp noise cancelation, follwing with phase cancelation.

PS: the youtube video shift my sound about 1 second for some reason.

 

pfft project

I made a patch that would take an audio signal and then process it utilizing pfft~. I routed both a rectangle and a sawtooth wave and had it oscillate over a range of frequencies. I then took that and applied a delay to it that could also be adjusted, so that it would play right after the dry audio signal.

Filter Freak

Hi there,

I made a version of a famous plug in called Filter Freak. What I tried to do was make a bandpass filter, as well as a resonate filter, and overlay them on top of each other. Then I also wanted to oscillate the resonate filter so it can sweep through the band-passed signal.

The Low knob is the low end of the bandpass.

The High knob is the high end of the bandpass.

The Freq is the starting frequency of the seep.

The Degrade, degrades the signal 0 is more degradation, 1 is none.

Reso Mix is how much of a mix of the resonate sweep you want. (I usually keep it around 95)

Speed is the speed of the oscillation.

 

Here is what the filter freak sounds like:

 

Here is a link to all the code:

https://drive.google.com/open?id=0B6W0i2iSS2nVNDVodTA0VndNeU0

Here is the main patch:

Here is the FFT_Resonator~ patch:

Have a good one,

 

Steven Krenn