Category Archives: Code

Mushroom synthesis

I heard you like mushrooms synthesizers in your audio-visual synthesis engine, so I put a mushroom synthesis engine in your engine so you can synthesize mushrooms while you synthesize.  Based on this.


----------begin_max5_patcher----------
2359.3oc4ck0aaarE9Y6eECXKtnMMVgyJIySoEE2GtOTTTf9TQgAkzXKFHRp
RR4kaQyu8xYgZwQb7PZwwVTAIxhKl7b93Y4aNyYX96KuvaZ9C7ROvGA+A3hK
96Ku3B4tD63B81W3kF+vrkwkxSyaVdZJOqx68piUwenRt+eJtjOGjmApVvA2
G+3U4qq.UqqxKRhWB9Ofe8mAqhqls.L8Qv+iWjOkGmB9u7r47hx7rOBVTUsp
7ie3COV+6sdxT9GJp9MF9J9re+WxatYKSx3yxWmIuiD8Nmtd5zk7U4IpcCm3
qOP15zjrk7JobC06TJCIY2dcAeVkRuCY0+J.bf3SXDV7i.zDevet2MnLYNWb
9X8dSlKU67oe9JD1a6srV7atm96cADHUZbwsIYhiEoOVY0iKkWWOu8NaoLK1
w+b4khOdukOdVlbGexswIYeo45cWbQVbJukitGHgZGjvHAvBXHIXoPIb3Nnz
N3QzggC5lqdQs7TwKtlmE2npMvwh76aj1F3q1Bp1fKtJIOa2SUckqdbEWIgd
kI2lEuz6869Mw+tYYdbk3KKSJq0lFAdUAur45tih5KzL4GT4mHxNJYY7c74W
GWUUjLccEe62J0ORzOSDn9x077aZ1cy92U6Wlmca6OY16TqgkhJKO2FDw+.G
KMUY8cUf+jCe7XowE6fGMIKop1Y9qercnyRglWAoMf2dmz55SZioOQcbokdy
O5nYeF+9ZKuuJnTEXJ3FuNFOfFPkw.hj13nIzZi.zgszosXp23HcSd11Ga+n
HRnWaVuSiytcq05VKtuJ9f3ZVl7+U3esb0CzpsX32kvuuFK.0hR8MsqvFiIf
JruLPAT6832BvEZNjY6.mSAj763EwKWBjW9NhGXVzjfZ.gBo1.HAuo.jZqvZ
4nypLjHCbpzXsB2lqieeccNT9C+1bqDtTRWKidTEowRUfM7lTkq374cEXYJN
JDYH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xddK38xMSxTaJuhdE76RZNeY6J5EWLaQREeV05BUSu8Pn
pc67DsKWQ15D8+8DUem+mK+W.QKGM7A
-----------end_max5_patcher-----------

Video launch patch from class

Below is the video launching patch I whipped up in class today.  You’ll also find it in the class Github repository.


----------begin_max5_patcher----------
2397.3oc6ct0aiaiE.94jeEBBKv9v55vKhjR8gE6fNClhEX.B1h1WZWXnHyj
vYjk7JQmKsn+2WRJoX6D4X5XKFU.9PbrjnjO23GO7PAo+37yBup7AdcXv2G7
qAmc1eb9YmY1kdGm0t8YgKReHKOs1zrvB98kW80vIMGRxePZ1c1soE2v61sX
tYmpF9cPT2NKVsnbkLmKMWHb6dqkOlyMstqcMMR93RdiboNPPnnP18uf+aaC
WVwq4ExTonrXVEOS1zdHj.mxHSBH.vTvjftOVedoxraEE2r44.XISUmRDMV2
Zh4bPnMNIkzKJ5Ddnde+44mq+Xx.Y3hGN61K0eBqwjECHCk9mUtXAWKMOy.L
ur3uKCttr5FtLPVFHWUUDHukGbeYU97fxhtyHWTvyJWUH2zLrgAizuACrSCV
O1gXnVwoTi9yLwBQLGDErL8aAf.POgAzcz+Ad.wAV44if134QmNc9pUYeiK6
SkwtQkYLlwAScVm8uK.1m9BOZ8cu8uiahnQQFc0v5bhSd2A1j3g0K2gzI.1X
IvlvbiJGggNNvtwMCQr9zZ5vp0IIfFGrwOSwCfed0hq3U8nZQwqGKoJcAWxq
lwKRupQe.8p1nCa.7qToG75perYXJbRjiybodYtPFDqx2pOKSR3wp8Vl5Rm9
GYb7j3WW+wmR2OANZb+HJywtew0A+MAJ3ep52qxVqPsQewAjAN8kN0ug3AAH
G16mfe+c+JjeilmfFL++N0+nQS3+Pp98G9WTJ4hh9rJjidhaaP9dN.75xBYs
32MsDlLExRvpTY2q4Qk2GDCPw541Xnk.GYhT5VvuE9gbQZ8r3OD7g3zePoAU
k40+VXeCa.NzIwoMHWmlsUH2VFI3TLAQHQ6OABZxT.EQiw5PHCNEAcx3H3j2
+NRTUOHyjhHtdf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9jGGae12b4PH2JO6suk6lqBzlwRgtiMCsYrTJbbIOX2UqDnM0l.
F6V4YuwOtarKnM4Z7LgdPkGax0.5P9rMisCcHeFX6xf7VxUsYI9RWt7NdUc6
0zHJgKR+ZYkdS1DylhhlMMWwvJ9cht1adp.FlVkcqPxy5Va4vGhadEMGpWB2
phUh1WUtpe4+77++XtDR3
-----------end_max5_patcher-----------

Robo rhythm


/*
A Funky rhythm
*/

// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(13, HIGH);
delay(50);
digitalWrite(13, LOW);
delay(500);
digitalWrite(13, HIGH);
delay(30);
digitalWrite(13, LOW);
delay(100);
digitalWrite(13, HIGH);
delay(50);
digitalWrite(13, LOW);
delay(250);
digitalWrite(13, HIGH);
delay(50);
digitalWrite(13, LOW);
delay(75);
digitalWrite(13, HIGH);
delay(50);
digitalWrite(13, LOW);
delay(125);

}