Author Archives: amester@andrew.cmu.edu

Project 1 – Do you like my car?

For my project I looked into how Max can benefit the Unity game engine as a separate sound engine. I did this through using an OSC (Open Sound Control) plugin on Max and a respective script in Unity.

The goal of this project was to show that input in Unity’s game could control audio output in Max. The game is a demo in which the player drives a car. I’ll detail each of the 3 control methods below…

1:Speed

The speed of the vehicle directly correlates to the playback rate of the audio. This is done in Max with the groove~ object.

2:Turning

Turning the vehicle will pan the audio in the respective direction. The horizontal input from the controller is directly given to Max and then handled with the pan2S object.

3:Song Select

By clicking on the vehicle, the user can switch through songs. This translated to a gate~ in max that changes the route of the signal produced by Speed. With the current system Max remembers where you left off in a song that you switched off of. I find it as a fun comedic effect.

Here’s an image showing where Unity is sending information to Max:

Here is a link to a playable demo (download the whole folder):

https://drive.google.com/open?id=1NVmZNDG6-tNFhF-4rbWl-U9pJH007Hqc

And here is the accompanying patch:

<pre><code> ———-begin_max5_patcher———- 2091.3oc6a08aiiaD+4j+JDD5id0xY32G5Cs.scQQQ+.WVzWNbXghshWs0Vx UVdub8vs+s2gTVN1wxxz1JduEHODiHRZMjyueyvYFR+K2dS78kOlsLN56h9g nat4Wt8la7M4Z3l0OeS77zGGOKcoeXwEqleeVU7nltnmJWUOKq12Itt07I9g Vd+mdiT2NzEoUoyypyp9PVQ58yxbCgstul2Q8OuHqYpDGOJJ99zhowQ+3lud 83OlWL8CUYiqaFkPkvzJKH0BlUozV8nHjyRTRKminVxsLEJGEIYILpK5yMuN ZhmWzNuAWa+5s259XTn5grehVesKt5rG8Sp3oUkkeN6KQ2UVLUD8GlUVtHBB VagazV6oQVlOsHclSur9+5Sy.BYhzoZrRoToDjZfV+FchEPfY4ZRo.ftesBe ciKS+b1jOPSO50+gz55p76WU2PZtYixgTWoKyGWupH2gZeWjPrFbuI9gxYyJ +ooyJuOcVc17EkaA8tdqlmVTOtrxM+yKK1oWmBLqXRyxxCiwyWtYs2z+x5zp 5CNh4kS75vlIXbaykU4SyI83rrho0eb6ucc93+y1uf1QtYpCN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VQYBWSoAuppofzOpZp4uOm0phU4qq4Es7 HQ5y8tHcd1xEoiWWAaJE8a+0a++.YFK0w ———–end_max5_patcher———– </code></pre>

Assignment 4 : Auto-Tuner Gone Rogue

For this assignment I started by implementing the vocoder that was shared on the Facebook group. I was excited with the results and wanted to see if I could take the set pitch and set it relative to a pitch coming from my input. This led me to look into auto-tune and a method of implementing this.

Jesse shared with me the tool fzero~ and this helped translate speech into raw frequency. From there I used a trick where I translated to midi and then back again. Since midi values are ints the frequency got rounded down to the nearest midi value (an acceptable pitch), thus mimicking auto-tune effects.

Unfortunately, the fzero~ object can be erratic, and so the robotic voice that results is rather spazmatic and terrifying. I’m looking into how to smooth out this process and avoid the strange pitch spikes that occur, but for now it creates this beautiful glitchy robot voice.

ENJOY!

 

Code:


----------begin_max5_patcher----------
1024.3ocwYEsjaBBE84juBFeamIsCfnwsO025OPm9RmNcHJIgVErHtY21o62
dQPS110jnFR5KZffb3btWtbh4WymErR9HqJ.7NvmAyl8q4ylY6poiYssmETP
eLMmVYGVPAqphtgErv8cZ1iZa+xRlnqSQcAWjyz1m.21YIUmtkK17UEKU6PL
jfeKbA.E1bMbYyUroGvWNLOxZc2DgZ600k9oRlaVBB1+.7L2ZY02dClDzz2u
mOu4xhAxNChqXpd4A5D7HN1x.RRysH3YHB9nDYAHXEUroeBgC1uBTzBllo9J
SPWkaeZ3THKamYheUjjKziNPhQVA.E0b69noFIaftOtiVNkf45boA2QGLu2l
HFlPFUvbsTUPsSQ7jBuHxMJ7VnkqGslzFecI3gDutScRw1iPt0+jojOCdudq
hUsUlmALwOL38RQESWxMDCfFM4Q1DBDzVrBihOC6COF6M4ilLjEu3C8pGQdT
OnYoOOV9hidQl+YqJezhYU7MBZdCKa+TebcREoSkEErCEo1S1v6.ePBVQS+N
XsRV.J3YbfVZZv9QMSj9DfJx.OHSkYLfdK6EewNtdqsKohugaVs.tnrdOD4b
AKUVKr3PFodFm3pGFYugbpaL7nJJ70xT3RepS36.erVI.t3hgoFMpSqTFVl0
7AJHiUwUrLfcaSuJAdhJAD5TBWFV3nThPepDHiRnnhpbpl4h3N0nK20ebNNY
5TF4wBBUzcOCHD3TOg2cpXLdpm.bhZAXzMzwVRKCtpN1f2nizWqkESUAb6E8
7Q5njoDJWUq0RwXIBIt8GQDe37plqikHG2YFx2gwIZLs0Ghin2Liow9l814X
7tRHt5ngVdm.69giiML67d0abNdJIsanbwoISQctlmtkJDr7GnJN0cPB7rbk
rD0EiMbk.uDOX8y3H+Ga6+sCTooJ8NtHStarm7zZG08RBV525T26wSVynGwp
8oNU0XKHZeR8Y8Z2m4.Oxfx0q0OC9j0er5MlFiNT0l2FdguFfSXR3u7HXGf0
d1+7Jrrqsl9+aQnRVqR6.wE+W.Nr5LFd0Fu+Zt4PnCig3FSux7PwY4.vwX+4
kCRpLAAqJc0QFQ5GY3Egb7PPNwChaz..J1S3fOGgPd.Hx.HTz0HjMDfuJYoX
xMZi3+rI63TDco.AGBPK8.Rc6gNcwEnGDOzPJlr7ZjeLHjadA49eOAZHkWBu
JjdnHi9uvYTb+jFeYPiF59lCCpfmUJ4BcqIfFayFSUgP2arv3spq0kl+OjkV
zq1n4boPKKefopZGsECioruIsZVxBaStv0z5yKPwdf2MdqUo.px33RaraUqr
qqfGic+qAAEMV1D071rNC6LPZM7IL95qJoNhX8EN+2y+Cep3dw.
-----------end_max5_patcher-----------

PFFT:


----------begin_max5_patcher----------
454.3ocyU11SCBCDG+0vmBReoAWn7n5WEiwTY0YMrVRonXV19ra60MctsrUB
MK9FJ2w09+9cW35pv.zKhAZGJ5gnGiBBVEFD.tLNB1ZGfVRFpaHcPXHN8SwK
uihseRQGTf6VQiRTSja18Ed+RFugpfckt0YKQU+Fiu3YIsVYUMMCOKINJsrx
rTl.FoyRhd52CRzqN7jrtTe0RsGCpisfSZPw+71OG.aNjg5r91Jjw05vPyi3
oQ7MiG0zLftDKj2Oq3rnhu.pmBvROBntapD59534rLyfFNq3JzRK9OPLt59q
Gw4dj3WeUoShMQ3w+aK.YFN2rTjeAhSNFiL+hAiuIJ8jTfOCEU.EUPaKu5BP
j4ba67MvT+SNdrjiuqDHGeUIGuO4P.nFF+vKffz03+ukiNQurdmv1o4wQ+lw
yoc5RAQwD78hIyFyIK3iQGrC5fmnNkNvSkG3ovAdp7.OENvSoGzI2QclZcK0
AcJ7jNXGzYp0MrC7j6AdvNvS9Q7XGOPZa+fJ61FLHgdt36Bow7tXvjwslvkL
HI8C1t3gAfHhTO8SoG80KgzBMTliraULmJ48LH1PCbZIgYtbxRZWKwxALZNb
c32.XlllDB
-----------end_max5_patcher-----------

Assignment 3 – Kanye’s Journey

I decided to convolve one of Kanye’s infamous “bars” in Lift Yourself:

 

Now let’s go down the list of IR’s as well was what they sound like with Kanye convolved through them.

1: Vibraslap 

I produced this IR by recording myself hitting the vibraslap once.

IR:

Convolved:

 

2: VR Alcove

This IR was produced by creating an impulse signal inside of the Fabrication Lab’s VR Alcove. I then reversed the audio and elongated it to take advantage of the strange echo it had.

Original IR:

Edited IR:

Convolved:

 

3: Timpani

This IR was recorded in the percussion studio above a set of 4 timpani. The reverb was enjoyable, but short-lived. I added echo as well to create something more interesting.

Edited IR:

Convolved:

 

4: Boiling Water

This IR was made by recording water boiling in my electric kettle. The original sound was too quiet so I distorted it.

IR:

Convolved:

 

 

Fun: Convolved by itself

The IR here is the same clip that is playing. Enjoy.

Assignment 2 – A Peaceful Evening

For my project I worked on a variant of the audio feedback loop presented in class. The difference now is that there is no need for a user to manipulate the delay! I wanted to see how altering the delay while running the loop would create different effects depending on the speed of the change and whether it was increasing/decreasing.

I accomplished this through creating a random number generator that would feed into a line function to have the delay move between the previous value and the newly generated one. Since the speed the change takes is constant, the rate at which values change varies. This creates a humorous multitude of effects that I recorded in some “evening chats”.

Enjoy.

 

https://soundcloud.com/dabomb1313/prelude-in-c-minor

[The link above is refusing to format…so it will stay as is]

 

And here’s the code:

Assignment 1 – Audacity is a Good Program

For this assignment I have taken the Pokemon Theme Song and subjected it to a strange phenomena with the audio editing program Audacity. If I shift the pitch of a sound up 10 semi-tones and then down 10 semi-tones, you would think I get the same sound. Wrong! Audacity does not perfectly convert the waves through this shift, resulting in a slow degradation of sound. [In retrospect using high quality stretching may avoid this issue from happening. I’m sorry, Audacity, you aren’t as bad as a program as I said you were]

I took the original song and subjected it to this treatment 99 times in Audacity, and then took the first 81 clips and created a “timeline” version of the song.

Here’s the original nostalgia trip (Loud Noise Warning).

10th Iteration

40th Iteration

75th Iteration

100th Iteration

 

“TIMELINE” (Sound warning again)[Note: Audio clipping is present. Had trouble fixing without altering the whole song]