# Arduino meets Max

In this project, I decided to explore how Arduino can communicate with Max and help create interesting integrated systems. The class discussions and patches sparked the idea of using frequency domain processing to control a system linked to Arduino. With a little experience in Arduino and looking up on tutorials and help from professor Jesse Stiles, TA Jeena Yin, Youtube, help forums, I could get together a system where 8 LEDs react to the sounds being passed into Max. The core ideas used were-

1. Using jit.scanwrap to get the a 1 by 8 matrix of values relating to the amplitudes in the various frequency bins. These 8 values would compared to a threshold value to determine which LEDs to light up.
2. The conditions would output a 0(LED off) or a 1(LED on) for all the 8 values in the matrix. These 8 values would each tell determine the state of their corresponding LED. In order to do so, these values needed to be passed into Arduino board through the serial port connected to it.
3. Due to restrictions on passing a value greater than 255 or passing separate values under the time constraint, passing something like 11000001 was not possible. Finding out about these restrictions led me to think of a way to pass an 8 digit number into the Arduino. Then I thought that a binary number can represent a decimal number which could be passed into Arduino. An 8 digit binary number cannot go over the value 256 which was perfect.
4. In the patch, the encapsulated code takes in the 8 digit binary number and converts it to a decimal number which is then sent to the Arduino board
5. For the Arduino board, the code I wrote takes input from Serial Port and converts it back into an array of binary numbers. The code for this was more than the knowledge of Arduino I had, so I took it from an Arduino forum from the post by ‘guix ‘ who is an Edison member of the Arduino community- https://forum.arduino.cc/index.php?topic=333006.0
6. The array used the resulting 8 digits of 0s and 1s to determine which LEDs would be on.

The following code is the Max patch-

<pre><code>
———-begin_max5_patcher———-
3851.3oc2cs0iihiF84Zj1+Cnn4oYSG461rOrpm22UZee0pRjDRJ2MAXARUU
Uo7TYZ5TdpNgmlrI38EQA4kG3jznfeDIyK94joU6NYaQTXQwORCMWoI4x0wA
QSld3sz+eobQgLINH6GS79O0WmzfhEuHiW+bV3hBykBBvnYfopuEkeQA5uvp
OaNs7heDUdmmrCQwa2HiUXpDwvVoZfZYxz5jkKKO4j4e6KX+cWhkAEAUzPMO
7zjEQxzczU68n12JYTXbvFCRVlscy+HIIcVfbU8kr9f9tL1bGC1tTlnSo8Qj
GFEVxMlaSY9E1J6pOlH0UVuaPqzVjDW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ppj4elDGrHo0ffLe8JYTztqcmURn5gMYx5rfkxvlUiG8qTmVfAom3m5Gn
2YXfu.PLaoRB1ELUmFrZXlpxnMer+AhpuABFhSnk4QNfJDlsDD7GtAAwqMCJ
Ch2LfxJocVRZRVsBUgN+lyXaQxt7WyhfYqEdoN4U.jA78KKlfPAEVtE.iojJ
nTq2mVWoJScg+vXEMYiRMI2c+pVwmTe8+AvAChMF
———–end_max5_patcher———–
</code></pre>

The following code is the Arduino code-

int led1=1;
int led2=1;
int led3=1;
int led4=1;
int led5=1;
int led6=1;
int led7=1;
int led8=1;
//2 is on state, 1 is off state
void setup() {
// put your setup code here, to run once:
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
pinMode(7,OUTPUT);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
pinMode(10,OUTPUT);
pinMode(11,OUTPUT);

Serial.begin(9600);

}

void loop() {
// put your main code here, to run repeatedly:
if (Serial.available()){
uint8_t bitsCount = sizeof( x ) * 8;
char val[ bitsCount + 1 ];

uint8_t i = -8;
while ( bitsCount– )
val[ i++ ] = bitRead( x, bitsCount ) + ‘0’;
val[ i ] = ‘\0′;

if (val[0]==’1′){
led1=2;
}else {
led1=1;
}
if (val[1]==’1′){
led2=2;

}else {
led2=1;
}
if (val[2]==’1′){
led3=2;
}else {
led3=1;
}
if (val[3]==’1′){
led4=2;
}else {
led4=1;
}
if (val[4]==’1′){
led5=2;
}else {
led5=1;
}
if (val[5]==’1′){
led6=2;
}else {
led6=1;
}
if (val[6]==’1′){
led7=2;
}else {
led7=1;
}
if (val[7]==’1’){
led8=2;
}else {
led8=1;
}

}
//Serial.println(led2);
if (led1==2){
digitalWrite(2,HIGH);
}else{
digitalWrite(2,LOW);
}
if (led2==2){
digitalWrite(3,HIGH);
}else{
digitalWrite(3,LOW);
}
if (led3==2){
digitalWrite(4,HIGH);
}else{
digitalWrite(4,LOW);
}
if (led4==2){
digitalWrite(5,HIGH);
}else{
digitalWrite(5,LOW);
}
if (led5==2){
digitalWrite(6,HIGH);
}else{
digitalWrite(6,LOW);
}
if (led6==2){
digitalWrite(7,HIGH);
}else{
digitalWrite(7,LOW);
}
if (led7==2){
digitalWrite(8,HIGH);
}else{
digitalWrite(8,LOW);
}
if (led8==2){
digitalWrite(9,HIGH);
}else{
digitalWrite(9,LOW);
}
}

To show the LEDs in action, here is some videos of the LEDs reacting to the songs played as well as the code and patch used-

Hope you enjoyed!

# Project 1: Mario Kart

Whatttts up gamers.

For this project, I wanted to use the game Mario Kart: Double Dash, and to create ‘music’ with it. More specifically, I wanted to use color to determine what frequencies would play.

Main patch:

This is my overall patch, and I first had my computer only capture part of my screen where the emulator would be, so I could then segment the screen into four parts by making a 2×2 matrix.

The matrix takes the average color of each of the four quadrants, and so I used that to get the color values.

I then took a sub-patch that I helped make last year for a project in Experimental Sound Synthesis (pic. is at the bottom,) and used it to read the messages better, and turn them into smaller numbers. I then multiplied those numbers by five so the frequencies would be easier to hear. After that, I put the numbers in either a phasor~, rect~, or cycle~, so that I would get contrasting sounds when you played the game.

To get four people to play, I took a few Xbox controllers and got them to work on my Mac with an extension that I got a few year ago: https://github.com/360Controller/360Controller/releases

Here’s also a recording of me trying it out: (Turn down your volume in case it’s too loud!)

Overall I’m extremely happy with how this project turned out, and I’m really excited to show it to you all tomorrow!

Sub patch:

Code for Main patch:

<pre><code> ———-begin_max5_patcher———- 4677.3oc6c00jahiE84jeETtlG1c1Ld02Rr09P1eGolpKZahaxXCdw3Nclol 7aeQRfarMeHajnIypjJtiA29dOGc0URWNB9i2+tEOl8R7gEA+qfOE7t28Gu+ cuScH4AdW06e2hcQurZazA0GaQZ7Wyd7KK9f9TEwuTnN7OGPqO19nhUOkjt4 g73UE5uZA.tD7gfP.V9CT3RZ4qnkffes52I83tjzswEJafd8fYGKpOJr5nIq UFrzI9kSlT+wJ919Xs8VjjVZ4eUdx+78uW9xGLDdeIoX49uljtN6q8fG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ptjkUEHS8tQOlhQKaizqnMpy9IPMDsg5ci16PF6ccup RsaU6cg3S95n8NnwdWmyLgn2XlDtlzvP87lXVv6.iupfTV09XP6V55.pd2n8 taPpPiyRXilcKAXPwsH5a7SUrh5ci16DF6ccW+JwYdWXnNB2FdG2XuqyHbV0 n259eLL2ZYGvrwW.eNi1HyZUI6sRlUyz7yEXnkBBq53Qz2qenmd2n8NhwdW2 kqND1v6D.clLq3cXi8tNi6DjvS9yGNciYwJdGxjxZfB6cTI8sx15oExwMl.x H8NiJ5Bp2htvQL8scK88XJD4z6Fs2YzdqA0e850iRVOOT8CXd6vcFktyFiJg LR94V4R0e4L96RZJVoTlHy1Ce1gCISWoLQvoyVPShMDVozeFMOLQnULkQykG XkHCno8iG89HEXzrKYVAU.ilqHxN1xnY9YEIAdR08SBGZTNCfU5bAvSGttS8 kq2f3Q62+bb9gpOtxHK1E8kr7S2Azk2Xj0uUc+EXQd7yI0ed8QhxW8TRQ7ph i456Kruvz2pQVrKacbd5wjpZond3RsPsc6k2CYOru5tSsZW4+9+78+Ofouz7 q ———–end_max5_patcher———– </code></pre>

Code for Sub patch:

<pre><code> ———-begin_max5_patcher———- 787.3ocyXFsaaBCEF9ZxSgkUuXcKqyGav.S6MYpphj30RUvDAjtLU028gsg0 lMF8rgIo23JNww+96miONm93h.5pxCpZJ4yjuRBBdbQPfMjIPP2yAzhrCq2l UamFUuuXkphtz8Q6xZVeWt91apTqabKiHFtJZIIjGeEaIIhYF47qXjq69Nsq PtdqpwtdvyAK22zGk2EMeiUyxU2+Qd7yZVkUnZTU2nzYq1pLSg08Yt0n4G6T tMCktjPWkoukRt1LimVrvLrzWvFFwM7EJD9E1ny.rtkaDXkRKeRo8Mqf0O9u .Ka.XE8ZttrnPospQ6ikq2nr6ZwbfTWxZGY9CI.ER74.If08VxuHAonPBliS YwPp8fUJ2qmxfyRIE02a0tW3F0AmQVuNaqhvYDIivLuCGwNh57AQj4O.KZb+ PNne.C3G+ppyex74hUgHzxJH8Lqgu8XMwciIv8LpvoA07uQtHGHeocjSZtSo aAVssVYhN1sJbKuhD6wZHLdbr4nwl8lFawLgc5aZpirI0lac8JzImFnUG1UQ d2E4Bx6MGkuj7IyS.4CVWvLJZGgKe8Z2bt6zMSNtCHv5.wmVGf++6.BPNKNf 7z5.vDb.wrX.991a6VXrB2otRWL.yOzjgEiQuXdtZT30XUjlXvKMzqnxmJp7 Y.UfYgLI0qnBSE0W1Xg8aP2lq+8+0EVbLwOl+5x8Uq60qa2PdlnMp5lbcVSd o9EyI5n4TVsosEk+pk6SgkCKLL6BGOrvroILCgxPmYOMkvvnoM1oqTHBk3fO TJBiRBenTLF2y7xD7dJBFoSFVY97qb5vJOsyibjUf7NxbjUfNKDGOGoWbLmg rEO3d2rQIc3vRCm.oiFV5IZ3wXMb+mcGi0v8e9cLVC26Y3gHKl3876PjES7d 1cHxhIdO2NB4UUS85XIxKllpNnu0epBkfslvTEJEaEfiEx0SQ1tcOnpp6lsU i1tmtuzl4jrz9Xt18ns2GZk5g7946hjU01RUSa+T6qr6K5AoqmVZQYaNnded W9eKcsRZ6LSmUnp2k4.w1.2hmV7SvOMn+C ———–end_max5_patcher———– </code></pre>

# Assignment 4 – Pfft

For my assignment I wanted to explore what switching different properties of audio did.

Input:

Tears for fears – head over heals
Age of empires soundtrack

Flipping the real number and imaginary numbers:

Pairing the real from one with the imaginary from the other:

(the ending of this one was what I thought was the most interesting)

Pairing the real of one sound as the imaginary, and the imaginary from the other sound as the real:

flipping amp and phase:

amp from one with phase from the other:

( i couldnt upload the whole thing cause the file size was too big but i really liked the output for this combination)

Using the last sound above, I multiplied the phase by the bin index

then I multiplied the amplitude by the other bin index

and when one of the songs ended and the other didnt, it gave me this:

My pfft:

``````
----------begin_max5_patcher----------
960.3oc2ZE0aaBCD94To9e.wiSzJrwFC6uxzTEg51RU.h.mtLUs9aefcHCwH
luKqU9f9U7eUu8Y+fSemfeTHG+au4gOOZ8AwNtP768b0h62V7XU1NeueN7DE
4j9GdznJuPNLRN5et9p926dK3SDunHs3kJgnyg2806D04YMusHnCV.9XHzcR
K7YwxDZWC9mSnQykPiI5wDUhIZjakQeFSgyhoHHootFlLWZp1xr3DIkRPwtY
ZZ5rLJFBjHpRIXWgQ6HSQcGs9wYzPsvGIyjwDhaxnwywnnTcPhonRBk5VL5.
jXyBoDcPJNwsgDcVHwzBIkPmOOHcnbKuYjG1jUxE7l63UYa2I2hEdwcd8641
lU83EztpUoSJRh6SGgtjxczZsg6CbSEsp.T0HIpyWbmKpLj4lLalq9hfpqdg
wt0dQyc0KsELPJ9LI5KpN8T8fOc7lWmqZIYtr4DHH5Kq7GsEgXts3mn4nSs2
ijPnNsPgY6Kh95GgLmFQydwXs2gjF6rbTQEDU.Afu5g1TUkX.ThROD88IDJx
VgAj4BCPtRsgCCpY6uqn5+5buzG5+hIAm15CM4CPbni6di7i64scQlLQQc0n
mpuUm8O0k4AvFr2d3krmzqPFwd82LdY.NMLT2be28FzuCDrKvTfYgPbjE8fo
KtFV1PQcHrrzqLi8Fbc8FL1r1KDh8LytFbLD7gMW.EGCAf3HigvTH1KwnlCA
wblIbxfftI9z5eFT5ENBBuVQfoYcm8.zZEB5+EblkDVMOnuSKyFChVKV.EZw
7.Y.d4DAh4N5jBh2Il6nSPRpvlSREFABgXypoBAZyrs1JASV2zjMylICyEP1
NJf.4B1RZIHgWDaFC.wBV8HMPjP3EhA30JFfro9BPw.ThkSDWNFvrn.CDHMy
HyUoYpTAMkyMjAAcjGBYttE.5.Nj4ZW.nZ2LKpPCTsb1E1IuZNfMqqBhBHe1
NPjMOHATRepMaXDn84IVrfBrX.CnvhSsJMa+9W3MsmVDkw8KydtVNoj.0mKp
TeV8WCvug+RwvTTcl0OqI+oBAOWbnQ5y9GiO86a3WV24BUGJF7hd32aZYOoq
xJ4s6yT.U165qup6A9qedOd5
-----------end_max5_patcher-----------
``````

My main patch

``````
----------begin_max5_patcher----------
1054.3oc6XEraaiCD8rCP9GDTu5jXIYG6zaE6tE8VOzrG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7RNh+ukivMWXAL7G8Cks6RMCrUlCknPFWFHJ+BzZ9meBBznusw2q9KLUlX
qIo57BNpSqmwpB1nkPl.xC7Gk6rELtyVvfijE3bufCYC+5.8N4xS1gGO3WfA
bcWLfwGQHuSFvniHBzId+MGQCHrSz9niXLn6VPPGvf0Y+H443g3p0ShawwBj
9rv9RS56dlxcO6NH1WBKokuhqbDehDKqQiY8KjtBId35g9qea7rKIufVhCF2
2rz1ZvLEdnxING0Vq14mgJ7e.TYOgqA
-----------end_max5_patcher-----------
``````

# Assignment 4 – yay yay yay lights

For MANY A LONG YEAR i have desired to do a frequency-to-color lighting control machine. So this is that, or at least a gesture in the direction of that.

This patch does an FFT of an incoming signal and breaks it up into a certain number of bands. Yes, I could have done this with filters I guess, but I like that these are crossovers rather than filters here, to get slightly cleaner numbers for the colors. The ranges are based on an overtone series; each crossover is double the frequency of the prior.

It takes the peak intensity of each tranche, scales the values to 0-100 (for eventually going to DMX-land), and and returns it to the main screen. The fft part of this is boring. Sorry. It took me a surprisingly long time to figure out how to make the conditionals work though… Seriously…

OK so then we basically have the data we need to send color values to an ETC D60 VIVID+, which takes 7 values for color and 1 for intensity when in “direct” mode. It does this because it is very fancy. Next problem: the show I want to use this on has seven VIVIDs in it, and I would like each of them to be able to get a ‘rotated’ color value (EG red value gets mapped to green value, etc), with each light being offset. This might end up looking totally nuts, but it’s a first pass at some kind of variability across the seven units.

So I’m using poly~ to instantiate seven VIVIDs, each with 7.1 parameters. DMX channel and intensity from the pfft~ outputs get packed together into an OSC message using sprintf, and then that gets sent out to the main window to udpsend. Because the DMX channel is first in the sprintf message, it needed to bang every time there was a new fft value (often)… So I ended up doing something tricky with an uzi and a counter to continually generate those values. I’m ultimately ‘sampling’ at a set metro rate, globally controlling all the peakamp~ objects and such… rather than using the fft rate… but that would be too fast for comfort anyway, so it’s probably OK.

Anyway, finally, the luminosity intensity parameter on the lights is separate from the color intensity parameters (you color mix then turn up the Big Knob). So I’m taking a final peakamp~ of the original input, and passing it as well into each poly~ instance.

ARE THERE PICTURES? no! Sorry! This patch will be (maybe) used this January in New York for the APAP showing of the latest ROKE piece. And all this other gear will be there. Imagine a giant circular screen, backlit with all these crazy colored lights, all of which is responding to a modular setup somewhere back there sawing away. It will look vaguely like this:

# Assignment 4: Vocoder

The Vocoder was once invented as a method of reducing the bandwidth of a vocal signal, as a way to reduce cost for expensive transatlantic copper cables, however, artists through the 70’s, 80’s, and even today use vocoders as a way of processing instruments and vocals. This distinctive technique creates a uniquely, sometimes robotic sounds, and is an effective route to bring science fiction to life.

The child patch is really quite simple;

Inside of the parent function, I created harmonics within the vocoder, by passing a major fifth chord into the algorithm. This makes the timbre of the vocoder flexible, allowing for a large range of sounds.

Here is an example of the vocoder, with tweaks to the parameters as time goes on.

Find child and parent code here!

# Assignment 3 Convolved – tatyana

Original signal : strawberry fields forever by the beatles

Convolved versions:

IR Signal: water faucet

IR Signal: (Whistling up)

2 whistleup

IR Signal: (strumming the wireframe of a metal fan)

3 reverb off fan

IR Signal: Outside tepper overhang

IR Signal: Under stairs outside of cfa

# Assignment #3 – Another Drone

I took the drum break at the end of You Got Me – The Roots and ran it through four different impulse responses. Because of the sequence and nature of the responses, I ended up yet again producing a drone.

The initial signal sounds like this:

https://vocaroo.com/i/s0OBhFS47hbE

I’d like to note here that Soundcloud wouldn’t let me upload the original as it’s recognized as copyrighted music  -if this upload also doesn’t work/ends up deleted I can email the initial signal.

My initial iteration was putting the loop through a recording of me snapping within a styrofoam cup. The IR made the sound a little more bassy as well as more diffuse, which makes sense given the close confines of the cup.

<pre><code>
———-begin_max5_patcher———-
2328.3oc6arsiihi84p9JPn8oUoS6a.1ilG1G1WFoY0J0uspUqVjDmTzKAmE
bpK8no91WeAnHo.CUWljQiltUkfMXN2OGeNGme61aBWIdjWEF7SAeN3la9sa
u4FyT5Itod7Mg6SebcdZk4wB2yqpR2wCWXumj+nzLu3.unYxhi6EGk4boYIv
5YsSIe5.2BuvvfuTeqCox02kUr6qk70R6cIIKAKB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k.awFUVwIQsXpOvswzdvtwMLq0Y8B0Ntf9x
0MZJttQ9XOPHxkxsP7DLgPdwQW7TXd9flljTxGvYJtTw9Pc.OEWpXuPSSx7y
oKUFy9qyfV2TN.nc36E4vSweuOhgclClAzg7wNZvSwr.5EQKcJhVuPSrKj2K
B7BYpOI0Afm.zntigd.PzoXJQ8.flhtfyLEiXPqCD6ujRFpczIXls9FoGNbO
urp90aPpv8oey1dtjElgYE1glxiFVx08nx97lJnDlVt9tLIes7XosLJORsm5
ISEBKKNlU2NKE6315xsbVMUZKUy9mrUiwPZsU67DNVaGD0sKSg671SBzhNez
s+gq10SGGU+KgzbECd9J1lkm2tpt0RsoJWg6JS2j8xot9lvN.ArDw.PVr98i
ALJfXuRM0oPpdUvlkQif.SePoDDhXuBC.DTeqB0ghN4iWdtzhc1ZagR5VQ0R
wAQYawTWhYsO+Qonkvz2qtjo07kshh11bpzE+Whhz0hvF8pE0J5kpE2onZ1o
MMdo4U10vnU1aKd++gqqHcyOg69UAzngtrqM+lOWBhX..sU7ktdMuPdh7fhh
fIZ1YBUEZ01oYVDooSydg.dPaFDrWTHpNz1WUeoDeB0.oTJR+PHJEVqbEAwX
nCEeklNEwHXa+1oQQI1qPHH5ODZ+Swx7TMekXEpRhxHNonjXrYYJArhPuNFB
NT.mjkcHOmu+7klPALnkz..DjZeKXXL8GV6Usle+1+OvBWRcH
———–end_max5_patcher———–
</code></pre>

I wanted the signal to change a little more for my second IR, so I used a recording of me playing Smash Brothers with a gamecube controller, which produced a lot of satisfying little clicks. This really brought out the rhythm a little more, which is what I wanted. Here’s what the post IR sounds like:

<pre><code>
———-begin_max5_patcher———-
2331.3oc6arsiihi84p9JPn8oUoS6a.1ilG1G1WFoY0J0uspUqVjDmTzKAmE
bpK8no91WeAnHo.CUWljQiltUkfMXN2OGeNGme61aBWIdjWEF7SAeN3la9sa
u4FyT5Itod7Mg6SebcdZk4wB2yqpR2wCWXumj+nzLu3.unYxhi6EGk4boYIv
5YsSIe5.2B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cb
A8kqazTbci7wdfPjKkag3IXBg7hit3ov77AMMIojOfyTboh8g5.dJtTwdgll
j4mSWpLl8mnAstyb.P6v2Kxgmh+deDC6LGLCnC4iczfmhYAzKhV5TDsdglXW
HuWD3ExTeRpC.OAnQcGC8.fnSwTh5A.MEcAmYJFwfVGH1eNkLT6nSvLa8MRO
b3ddYU8q2fTg6S+lsGcIKLCyJrCM0HMrjqaTk84MUPILsb8cYR9Z4wRaYTdj
ZO5SlxDVVbLqtmVJ1ws0ka4rZpzVpl8OYqFigzZK44Ibr11Hp6YlB24sGGnE
c9naSDWsqm1Np9WBo4JF77UrMKOucUcKnZSUtB2UltI6kid8Mgc.BXIhAfrX
86GCXT.wdkZpSgT8pfMKiFAAllgRIHDwdEF.Hn9VEpCEcxGu7boE6r01B04.
WEdnTbPT1VL0kXV6yeTJZIL88pKYZMeYqnnsWmJcw+knHcsHrQuZQshdoZwc
JplcZS2WZdkcMLZk81J3+e35xR2763teU.MZnK6ZyO7ykfHF.PaEeoqWyKjm
HOnnHXhlclPUgVssalEQZZ2rWHfGzlAA6EEhpCsMW0WJwmPMPJkhzODhRg0J
WQPLF5PwWooSQLB11zcZTTh8JDBh9Cg1+TrLOUyWIVgpjnLhSJJIFaVlR.qH
zqigfCEvIYYGxy46OeoIT.CZIM..Ao12BFFS+g0dUq42u8+y7UVME
———–end_max5_patcher———–
</code></pre>

At this point I wanted to get wild, so I decided to use the signal of a gong as my third IR. The results were loud and completely mangled the original signal.

<pre><code>
———-begin_max5_patcher———-
2332.3oc6arsiihi84p9JPn8oUoS6a.1ilG1G1WFoY0J0uspUqVjDmTzKAmE
bpK8no91WeAnHo.CUWljQiltUkfMXN2OGeNGme61aBWIdjWEF7SAeN3la9sa
u4FyT5Itod7Mg6SebcdZk4wB2yqpR2wCWXumj+nzLu3.unYxhi6EGk4boYIv
5YsSIe5.2BuvvfuTeqCox02kUr6qk70R6cIIKAKBRv5OwlqQnkf1UjswB0Ue
6CDXG3lUz.VT8jUxmxMP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uPl5SRc.3I.Mp6XnG.DcJlRTO.nonK3LSwHFz5.w9yojgZGcBlYquQ5
gC2yKqpe8FjJbe52r8nKYgYXVgcnoFogkbciprOuoBJgokquKSxWKOVZKixi
T6QexTlvxhiY08zRwNtstbKmUSk1R0r+Ia0XLjVaIOOgi01FQcOyT3Nu83.s
nyGcah3pc8z1Q0+RHMWwfmuhsY44sqpaAUapxU3txzMYubzquIrCP.KQL.jE
qe+X.iBH1qTScJjpWErYYzHHvzLTJAgH1qv..A02pPcnnS93kmKsXms1VnNG
3pvCkhChx1hotDyZe9iRQKgouWcISq4KaEEs85ToK9uDEoqEgM5UKpUzKUKt
SQ0rSa59RyqrqgQqr2VA++CWWV5leG28qBnQCcYWa9getDDw..Zq3Kc8Zdg7
D4AEEASzryDpJzpscyrHRS6l8BA7f1LHXunPTcns4p9RI9DpARoTj9gPTJrV
4JBhwPGJ9JMcJhQv1ltSihRrWgPPzeHz9mhk4oZ9JwJTkDkQbRQIwXyxTBXE
gdcLDbn.NIK6PdNe+4KMgBXPKoA.HH09VvvX5Or1qZM+9s+e.MxQ0Z.
———–end_max5_patcher———–
</code></pre>

At this point the original signal was pretty incomprehensible. I decided to use the original signal as my fourth IR to see if I could try and restore a bit of the original dynamics.

<pre><code>
———-begin_max5_patcher———-
2333.3oc6arsiihi84p9JPn8oUoS6a.1ilG1G1WFoY0J0uspUqVjDmTzKAmE
bpK8no91WeAnHo.CUWljQiltUkfMXN2OGeNGme61aBWIdjWEF7SAeN3la9sa
u4FyT5Itod7Mg6SebcdZk4wB2yqpR2wCWXumj+nzLu3.unYxhi6EGk4boYIv
5YsSIe5.2BuvvfuTeqCox02kUr6qk70R6cIIKAKBRv5OwlqQnkf1UjswB0Ue
6CDXG3lUz.VT8jUxmxMPLLTOwue6s5OVLQxsf+fBFuhZKCp3RjOoWDirLgwX
TplRAZBl.cQ1XZujMvKj8PRYEUGfBfA+xmPe3WWDXGhLC+zrwMhhz7AXjSs.
L6xqErgmm9TPD.7FI8Uo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jTG.dBPi5NF5A.QmhoD0C.ZJ5BNyTLhAsNPr+bJYn1QmfY15a
jd3v87xp5WuAoB2m9MaO5RVXFlUXGZpQZXIW2nJ6yapfRXZ456xj70xik1xn
7H0dzmLkIrr3XVcOsTriaqK2xY0TosTM6exVMFCo0VxyS3XssQT2yLEtyaON
PK57Q2lHtZWOscT8uDRyUL34qXaVdd6p5VP0lpbEtqLcS1KG85aB6.DvRDC.
Yw52OFvn.h8J0TmBo5UAaVFMBBLMCkRPHh8JL.PP8sJTGJ5jOd44RK1YqsEp
yAtJ7Po3fnrsXpKwr1m+nTzRX56UWxzZ9xVQQauNU5h+KQQ5ZQXid0hZE8R0
h6TTM6zltuz7J6ZXzJ6sUv++v0kkt42wc+p.ZzPW10le3mKAQL.f1J9RWulW
HOQdPQQvDM6LgpBsZa2LKhzztYuP.OnMCB1KJDUGZatpuThOgZfTJEoeHDkB
qUthfXLzghuRSmhXDrso6znnD6UHDD8GBs+oXYdpluRrBUIQYDmTTRL1rLk.
VQnWGCAGJfSxxNjmy2e9RSn.FzRZ..BRsuELLl9Cq8pVyue6+GznpUqA
———–end_max5_patcher———–
</code></pre>

The signal is certainly a bit less aggressive afterwards. Overall pretty pleased with how it turned out

Here’s the link to my IR’s (excluding the original signal, which is already further up the post):

For this assignment I did my best to create a layered noisy guitar drone sound by messing with signal delay timings, ramps and reverb. I approached the creation much like I would on a synth. A lot of values are fairly arbitrary and worked out through trial and error, and the end result is a little more irregular than I would have hoped, but I think it’s an interesting sound nontheless.

Raw is as follows:

```<pre><code>
----------begin_max5_patcher----------
2094.3oc6cssjihiD8YWeED73r0TA5FWlm186X1MbfAYWZZrvKHWc06DS8su
5BPA1F2xXrcMQnGZ6nk.xLOJyTR4Aq5OeZg+px2o09d+l2u6sXwe9zhE5lTM
rn4+uvea56YEo05Kymue6JZk+yltj+ux8hBpP2Iro0cohrWY7MKqnYByCGiv
uD7rGNNQ8EIP8ID9Rf2+o4dLOFwO1QM2fu+yd9qR4a76tDVtV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XFDj5urE+bIkLGl
jM1Tq5bc1TjM1DdN7GrwjhlAAEYVi5YETxLImelAEOPWFtE7apfgCVL8A6vd
xRNzBIOGCgDahzHn4PRHajDbNjDzBIglEzK3dkmBmburIL9tIIz8JiHxFziL
GY4QVEOELGRxljSywjwHabHvyQJBXnkI5uZAQtWqMChtSIxASL8pYctG7pTp
DxAuBkG75Sd7qN43u1jG9JSJk7e8z+G.4ZGKe
-----------end_max5_patcher-----------
</code></pre>```

I had trouble actually exporting to Soundcloud…Hopefully that is not an issue. :/

# Assignment 2 — Delay Party!

I have created a patch which can work with any audio file or a live input, but this patch is set up for a stereo environment. The left channel goes into 4 state variable filters: a low pass at 250Hz, a bandpass at 1k, a bandpass at 4k, and a high pass at 8k. The output of these filters goes into live.gain~ objects where the amplitude level at any moment is sent into a sub-patcher that slides the amplitude and then scales it to get to a delay time. Through early iterations, I found that while the sound file is playing, the majority of the file is spent between -30 and -10dB, so that is what I based the scale object on; however, also due to this I would get negative delay times, so I have it take the absolute value of the output of the scale object. This is then sent into a line~ object that smooths it over 50ms. The only difference between the left and right channels of audio is that for the left channel -30dB will give you a delay time of 10ms and -10dB will give you a delay of 1000ms. For the right channel, -30dB will give you 1000ms of delay while -10dB will give you 10ms.

# Michael Neumann Assignment 1 ChatBot Roulette

I’m just playing the part of Cupid in this video of an incestuous conversation between chatbots.  eviebot, pewdiebot, chimbot, boibot, and willbot are all using Cleverscript, created by Rollo Carpenter and Existor.