HW1: Eito Murakami - CALLING

The graph above shows the suicide rate in the United States for each year from 2000 through 2020. The rate increased 35.2% from 10.4 per 100,000 in 2000 to 14.2 per 100,000 in 2018 (National Institute of Mental Health). Study shows that suicidal behavior is commonly observed among college students. Becoming more aware of the statistics can be an important tool to help individuals in crisis. The graph values are mapped to the average playback rate of 15 layers of scream sounds that are played from WebChuck over the course of 2 minutes. For each index of the graph, each of 15 layers of audio sample plays with a 400ms offset at a slightly different rate from its true value.

Click "Start" to run the ChucK code.

////////////////////////////////////////////////////
live code
500::ms => now; // start after 500ms NRev reverb => dac; //add reverb 0.25 => dac.gain; //adjust master gain me.sourceDir() + "scream.wav" => string filename; //define filename for (0 => int i; i < nVals; i++) { for(0 => int j; j < 15; j++) //create 15 layers successively { SndBuf buf => reverb; filename => buf.read; 0 => buf.pos; vals[i] * Math.random2f(0.8,1.2) => buf.rate; //randomize playback rate around index value 400::ms => now; } } 10000::ms => now;