{"id":1509,"date":"2020-04-21T03:17:59","date_gmt":"2020-04-21T03:17:59","guid":{"rendered":"http:\/\/trevor.ucsd.edu\/a\/wp6\/?page_id=1509"},"modified":"2025-09-14T15:06:08","modified_gmt":"2025-09-14T15:06:08","slug":"trevoscrub-mmaf-c19","status":"publish","type":"page","link":"https:\/\/trevor.ucsd.edu\/a\/wp6\/patches-and-projects\/trevoscrub-mmaf-c19\/","title":{"rendered":"TrevoScrub-MMAF-C19"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1509\" class=\"elementor elementor-1509\">\n\t\t\t\t<div class=\"elementor-element elementor-element-de932eb e-flex e-con-boxed e-con e-parent\" data-id=\"de932eb\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-190d757f elementor-widget elementor-widget-text-editor\" data-id=\"190d757f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t\n<h2>Overview<\/h2>\n<p><strong>Part of the TrevoScrub series<\/strong> &#8211; <em>Control (disambiguation)<\/em><\/p>\n<p><em>TrevoScrub-MMAF-C19<\/em> is a Max for Live plugin that operates as a <em><strong>sicklical<\/strong><\/em> (\u2122 <em>TrevoLabs<\/em>) <span style=\"text-decoration: underline;\"><strong>stereo<\/strong><\/span>, <span style=\"text-decoration: underline;\"><strong>multimode<\/strong> <strong>filter<\/strong><\/span> based on realtime <strong>Corona-19 data<\/strong>. How long, did you think it would take me before decided to build something on this data set? 90 days. <em><strong>That&#8217;s how long<\/strong><\/em>. I figured this would all blow over, but, no it&#8217;s going to be a thing for a while, so we may as well sonify it.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone  wp-image-1542\" src=\"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19f_sc-1024x208.png\" alt=\"\" width=\"590\" height=\"120\" srcset=\"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19f_sc-1024x208.png 1024w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19f_sc-500x102.png 500w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19f_sc-768x156.png 768w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19f_sc.png 1908w\" sizes=\"(max-width: 590px) 100vw, 590px\" \/>\u00a0<\/p>\n<h2>Quick Start<\/h2>\n<ol>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Download<\/strong> &#8211; TrevoScrub-MMAF-C19_Project.zip (<a href=\"#downloads\">see below<\/a>)<\/span><\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Uncompress &#8211;\u00a0<\/strong> to create the &#8220;TrevoScrub-MMAF-C19 Project&#8221; folder<\/span><\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Open Ableton Live 10<\/strong> &#8211; and then open the TrevoScrub-MMAF-C19.als set and navigate to the audio track named &#8220;TrevoScrub-MMAF-C19&#8221; You will see the plugin on that track.<\/span><\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Click on the &#8220;Read CSV&#8221; button<\/strong> &#8211; and browse to the &#8220;Data&#8221; folder in &#8220;TrevoScrub-MMAF-C19 Project.<\/span><\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Click on the &#8220;Stopped\/Activate&#8221; button<\/strong> &#8211; to start the filter cycle<\/span><\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\"><strong>Experiment<\/strong>\u00a0 &#8211; with the Oscillator Type and frequency, Time Scale, Hold time, Factors, Filter type and Q.<\/span><\/p>\n<\/li>\n<\/ol>\n<h2>Capabilities and General Use<\/h2>\n<ol>\n<li><strong>Setup<\/strong> &#8211; Place <em>TrevoScrup-MMAF-C19<\/em> on an Ableton Live audio or instrument track. Choose your data set for the left and right channels, then start playback of your audio input. The filter will scale it&#8217;s center frequency to follow the Covid-19 data of choice.<br \/><br \/><\/li>\n<li><strong>Input<\/strong> &#8211; The filter can take live input or through use of the built-in oscillator (Sine, Saw, Square, White Noise and Pink Noise). Use the Oscillator level control to balance live and oscillator mixes. The oscillator is routed to both the left and right channels. Live input is separate stereo.<br \/><br \/><\/li>\n<li><strong>Data<\/strong> &#8211; The &#8220;Lite&#8221; version supports 1 time series data set &#8211; <em>time_series_covid19_confirmed_US<\/em><br \/>Data is loaded automatically. Use the &#8220;Read csv&#8221; button to load new data.<em><br \/><br \/><\/em><\/li>\n<li><strong>Transport &#8211; <\/strong>Activate and stop the filter movement. The filter will cycle from Day-1 (<strong>Jan 22, 2020<\/strong>) to the last day in the data set. Set the Time Scale and Hold (the time the filter hangs on the ending value) by millisecond or synchronized to the Ableton Live transport tempo. The left and right channels will remain in sync so you can easily hear the two data sets. At 120 BPM, a Time Scale of 64n (1\/64th note per data sample) works well. <br \/><br \/><\/li>\n<li><strong>Filter<\/strong> &#8211; Select between LowPass, BandPass and HighPass with a value for Q. To hear changes, a Q of 3.00 works well.\u00a0<br \/><br \/><\/li>\n<li><strong>Factors<\/strong> &#8211; Scale the filter through personal, environment and event factors. Click on the top\/left to reset all to &#8220;none&#8221;.<br \/><br \/><\/li>\n<li><strong>Locations<\/strong> &#8211; Choose a location for the left and right channels from the pulldown. The &#8220;Lite&#8221; version supports all counties and regions (~3200). Step forward and backward through locations.<br \/><br \/><\/li>\n<li><strong>Presets<\/strong> &#8211; The preset manager can store the values of the Oscillator (Type and Frequency), Transport (Time Scale and Hold), Filter (Type and Q) and Factors. Click on a preset number then &#8220;Store&#8221; to store. Click on a preset number and then &#8220;Recall&#8221; to recall. These presets are useful for real-time performance. If you would like these to be saved, use the &#8220;save&#8221; and &#8220;load&#8221; functions. To promote real-time adjustment, the presets are intentionally not saved with the Ableton set). Save notes with your preset. Step forward and backward through presets. Preset #1 is loaded with the patch.<br \/><br \/><\/li>\n<li><strong>Output<\/strong> &#8211; Set the volume level of the output. You can also mute individual channels so as to hear them in isolation.<br \/><br \/><\/li>\n<li><b> Visual feedback<\/b><span style=\"font-weight: 400;\"> &#8211; These visual items will help you will the data sets: <\/span><b>Day<\/b><span style=\"font-weight: 400;\"> (since 1\/22\/2020), <\/span><b>Current frequency<\/b><span style=\"font-weight: 400;\">, <\/span><b>last value<\/b><span style=\"font-weight: 400;\"> in the data set, the last day in the set (e.g. 4\/24\/2020), filter curve, <\/span><b>audio output spectrum<\/b><span style=\"font-weight: 400;\"> and <\/span><b>audio output volume<\/b><span style=\"font-weight: 400;\">. The virus images show the intensity of the infection.<\/span><br \/><br \/><\/li>\n<li><strong>Defaults<\/strong> &#8211; You will see the following values when the plugin is first loaded: <br \/>* <span style=\"text-decoration: underline;\"><em>Input<\/em><\/span> &#8211; Oscillator &#8211; Saw\/55Hz\/75% level<br \/>* <span style=\"text-decoration: underline;\"><em>Transport<\/em><\/span> &#8211; Stopped, 32n, 2n (at 120 bpm)<br \/>* <span style=\"text-decoration: underline;\"><em>Filter<\/em><\/span> &#8211; LowPass, Q: 3.00<br \/>* <span style=\"text-decoration: underline;\"><em>Locations<\/em><\/span>: San Diego, CA and Kansas City, MO<br \/>* <span style=\"text-decoration: underline;\"><em>Factors<\/em><\/span> &#8211; none<br \/>* <span style=\"text-decoration: underline;\"><em>Output<\/em><\/span>: -3dB, channels &#8220;on<\/li>\n<\/ol>\n<h2>Adjustable Parameters<\/h2>\n<p><em>TrevoScrub-MMAF-C19<\/em> comes with a set of controls for data analogy:<\/p>\n<ol>\n<li><strong>Personal Factors<\/strong> &#8211; Masks (surgical, cloth, N95), Distancing (none, moderate, extreme)<\/li>\n<li><strong>Environment and Event Factors<\/strong> &#8211; Easter, Mardi Gras, Tornados, Soccer games, Apr\u00e9s Ski.<\/li>\n<li><strong>Authority<\/strong> &#8211; Fox, Tweet, Fauci, Gavin, Cuomo<\/li>\n<li><strong>Time Scale and Hold<\/strong>\u00a0&#8211; by time (10ms \/ day, 100ms \/ day, 1000ms \/ day) or by Metro (1\/16, 1\/8, 1\/4, etc.)<\/li>\n<\/ol>\n<h2><strong>Advanced Features:<\/strong><\/h2>\n<ol>\n<li><strong>Data Downloads<\/strong> &#8211; Realtime downloads from Johns Hopkins data source<\/li>\n<li><strong>Data Options<\/strong> &#8211; By country, state, country, confirmed, recovered, deaths.<\/li>\n<li><strong>Time modifications<\/strong> &#8211; Future projections (extrapolation based on previous trends)<\/li>\n<li><strong>Transport Sync<\/strong> &#8211; Sync the MMAF looping to the Ableton Live transport.<\/li>\n<li><strong>Risk factors<\/strong> &#8211; Additional factors including Obesity, Blood pressure, and previous respiratory history. The &#8220;advanced&#8221; version also includes the capability to adjust the factor weighting.<\/li>\n<li><strong>\u00a0Community Factors<\/strong> &#8211; Hoarding, Protests<\/li>\n<\/ol>\n<h2>Sonification with for TrevoScrub-MMAF-C19<\/h2>\n<p><em>TrevorScrub-MMAF-C19<\/em> \u00a0is setup to provide manipulation of your existing audio files or instruments, with a built in oscillator for testing and direct data analogy (DDA, \u2122 <em>TrevoLabs<\/em>). Just like Covid-19 it modifies behavior (doesn&#8217;t create it). We refer to this type of sonification as &#8220;molding&#8221;. Start with something good and use the filter to mold it into something better, worse or different. <em>TrevorScrub-MMAF-C19<\/em> has 2 channels for a reason &#8211; to compare two data sets. Here&#8217;s a fun trick &#8211; use two instances of the plugin on different tracks to compare data with different personal and environmental factors.<\/p>\n<h2>CPU and OS Issues<\/h2>\n<p><em>TrevorScrub-MMAF-C19\u00a0<\/em>runs on Ableton Live 10 on OSX 10.13 and Windows 10. It has been tested extensively on a 2015 15&#8243; 2.5GHz i7 Macbook Pro running OS X 10.14.6 and Ableton Live 10.1.9. Some of the features are processor intensive and may be slower on i5 laptops.\u00a0<\/p>\n<h2>Refreshing the data<\/h2>\n<p>The version .96 download of <em>TrevorScrub-MMAF-C19\u00a0<\/em>runs comes with data from 1\/22\/2020 &#8211; 4\/26\/2020. New data can be pulled from github. The &#8220;getdata&#8221; script is provided for OS X users. To run it,\u00a0<br \/><br \/>% cd [PATH TO TrevorScrub-MMAF-C19 Project FOLDER]<br \/>% cd data<br \/>% .\/getdata<br \/><br \/>For manual refresh, download the <a href=\"https:\/\/raw.githubusercontent.com\/CSSEGISandData\/COVID-19\/master\/csse_covid_19_data\/csse_covid_19_time_series\/time_series_covid19_confirmed_US.csv\">time_series_covid19_confirmed_US.csv\u00a0<\/a> file to the data folder.\u00a0<\/p>\n<h2>Photos &amp; Diagram<\/h2>\n<p><img decoding=\"async\" class=\"alignnone wp-image-1536 size-medium\" src=\"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19-1-sheet-500x375.jpg\" alt=\"\" width=\"500\" height=\"375\" srcset=\"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19-1-sheet-500x375.jpg 500w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19-1-sheet-768x576.jpg 768w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19-1-sheet-1024x768.jpg 1024w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19-1-sheet.jpg 2000w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><a href=\"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19-1-sheet.pdf\">TrevoScrub-MMAF-C19 1-sheet<\/a> (PDF)<\/p>\n<p><img decoding=\"async\" class=\"alignnone  wp-image-1554\" src=\"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19_IMG_1225-1024x1024.jpg\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19_IMG_1225-1024x1024.jpg 1024w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19_IMG_1225-150x150.jpg 150w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19_IMG_1225-500x500.jpg 500w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19_IMG_1225-768x768.jpg 768w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> \u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-1552\" src=\"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19_IMG_1222-1024x1024.jpg\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19_IMG_1222-1024x1024.jpg 1024w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19_IMG_1222-150x150.jpg 150w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19_IMG_1222-500x500.jpg 500w, https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-content\/uploads\/2020\/04\/TrevoScrub-MMAF-C19_IMG_1222-768x768.jpg 768w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><a name=\"downloads\"><\/a><\/p>\n<h2>Downloads<\/h2>\n<ul>\n<li>Ableton Live Set with sawtooth instrument and two instances of the TrevoScrub-MMAF-C19_Project.cip &#8211; <em><strong>Coming soon.<\/strong><\/em><\/li>\n<li>Just the Max for Live plugin &#8211; <em><strong>Coming soon (need to release a track first)<\/strong><\/em><\/li>\n<\/ul>\n<h2>FAQs and Issues<\/h2>\n<p>Here are some know issues with how this plugin works. I wouldn&#8217;t consider them &#8220;bugs&#8221; since I know about them. It&#8217;s just how it works.<\/p>\n<ol>\n<li><strong>Loading Plugin<\/strong> &#8211; Loading the plugin into a new Ableton Set.<\/li>\n<li><strong>Browsing Plugin<\/strong> &#8211; Loading the plugin from the Ableton browser (rather than from a folder where the CSV exists)<\/li>\n<li><strong>Windows<\/strong> &#8211; Does it work? Yes! Depending on computer speed, you may need to &#8220;load&#8221; and then &#8220;recall&#8221;.<\/li>\n<li><strong>Counting<\/strong> &#8211; Were you wondering how many times did I use the word &#8220;data&#8221; on this page. <em><span style=\"text-decoration: underline;\"><strong>28<\/strong><\/span><\/em>!<\/li>\n<\/ol>\n<h2>Video<\/h2>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/f-gtZccj9DA\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>Installation:<\/h2>\n<p>No externals are required to run this plugin. Place the <em>TrevoScrub-MMAF-C19 <\/em>plugin on an audio or instrument track or unzip and open the Ableton Live 10 Set. You&#8217;ll need at least version 10.1.<\/p>\n<p><em>View more patches in the <strong><a href=\"https:\/\/trevor.ucsd.edu\/a\/wp6\/patches-and-projects\">TrevoCon series<\/a><\/strong>&#8230;<\/em><\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Overview Part of the TrevoScrub series &#8211; Control (disambiguation) TrevoScrub-MMAF-C19 is a Max for Live plugin that operates as a sicklical (\u2122 TrevoLabs) stereo, multimode filter based on realtime Corona-19 data. How long, did you think it would take me before decided to build something on this data set? 90 days. That&#8217;s how long. I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1509","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-json\/wp\/v2\/pages\/1509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-json\/wp\/v2\/comments?post=1509"}],"version-history":[{"count":37,"href":"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-json\/wp\/v2\/pages\/1509\/revisions"}],"predecessor-version":[{"id":2281,"href":"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-json\/wp\/v2\/pages\/1509\/revisions\/2281"}],"up":[{"embeddable":true,"href":"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-json\/wp\/v2\/pages\/33"}],"wp:attachment":[{"href":"https:\/\/trevor.ucsd.edu\/a\/wp6\/wp-json\/wp\/v2\/media?parent=1509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}