tag:blogger.com,1999:blog-84860250233201289082024-03-12T19:47:15.751-07:00Math and MusicFirst-Year Discovery Course at the University of Illinois, Urbana-Champaign, Fall 2007Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-8486025023320128908.post-79533120380127598312007-11-26T20:57:00.001-08:002007-11-26T21:07:53.820-08:00Algorithmic compositionAs we discussed in class today, for Wednesday please comment on this post with some possible data sets, and algorithms for manipulating them, that could generate some good-sounding music. Here are links to the Mozart <a href="http://www.asahi-net.or.jp/%7Erb5h-ngc/e/k516f.htm">Musikalische Wurfelspiel</a> (Musical Dice Game); a general <a href="http://en.wikipedia.org/wiki/Musikalisches_W%C3%83%C2%BCrfelspiel">Wikipedia</a> description; and an <a href="http://sunsite.univie.ac.at/Mozart/dice/">automated version</a> that generates pieces for you automatically.<br /><br />If you have time, also check out David Cope's <a href="http://arts.ucsc.edu/faculty/cope/experiments.htm">Experiments in Musical Intelligence</a>, a project at University of California at Santa Cruz in which a computer is "trained" to compose in the style of any composer, from Bach to Gershwin.<br /><br />Good luck!Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com3tag:blogger.com,1999:blog-8486025023320128908.post-71514460578751119202007-11-08T06:32:00.000-08:002007-11-08T07:06:00.497-08:0012-tone compositionFor Monday, please make a 12-tone row of your choice (or you can use the one we made in class together on Wednesday) and compose a short piece, say 10 or 15 measures. Try using several different forms and transpositions of the row - for instance, you could start with P0, then RI5, then R0, and end with I5.<br /><br />You can write for any instrument you like, but don't try writing harmony (two notes at once) - just melody, at least for now. You can use Sibelius or other music notation software, or if you like you can write it out by hand. If you run into trouble, please email me - I'm often hanging out near the CAMIL lab, and I'm happy to meet with you for help on composing. Good luck!<br /><br />Here's a <a href="http://en.wikipedia.org/wiki/12-tone_music">wikipedia</a> article on twelve-tone technique; and here is a page (UIUC net id required) with many <a href="http://guava-web.cites.uiuc.edu/musicreserve/408e-taylor-sum07.html">listening examples</a>, some of which are twelve-tone; try listening to the following as an introduction:<br /><ul><li>Arnold Schoenberg, Suite opus 25 for piano (7 short pieces)<br /></li><li>Anton Webern, Variations for piano opus 27</li><li>Milton Babbitt, "All Set" (12-tone music for jazz band)<br /></li></ul>Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-36917749912914596322007-10-30T08:17:00.000-07:002007-10-31T07:25:41.475-07:00Orbifolds in musicFor Wednesday November 1, please check out the following article from the journal Science:<br /><br /><a href="http://www.sciencemag.org/cgi/content/full/313/5783/72">http://www.sciencemag.org/cgi/content/full/313/5783/72</a><br /><br />And you can find more background info at Dmitri Tymoczko's homepage:<br /><br /><a href="http://www.music.princeton.edu/%7Edmitri/">http://www.music.princeton.edu/~dmitri/</a><br /><br />Including animations (made with Max/MSP/Jitter) of Chopin's e minor prelude, mapped in several different dimensions.Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-83750190730955613312007-10-24T22:49:00.000-07:002007-10-24T22:54:19.668-07:00How to turn in your projectTurn your project in any way you can. For example, you can put everything in a folder, and then make a zip archive, and mail us the zip archive. To make a zip archive on a mac, highlight the folder, then do to File -> Create Archive. In unix, at the command line, type tar -czf myproject.tgz myproject to make an archive of a folder called myproject. Sorry, I don't know what to do on a MS-based computer.<br /><br />Or, you can put the folder or files in the public area of your netfiles, and tell us how to find it.Matthew Andohttp://www.blogger.com/profile/09497571026904897642noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-39932976344737164512007-10-21T20:56:00.000-07:002007-10-21T21:01:24.879-07:00Thousands of tuning systems!Here is a folder of <a href="http://stephenandrewtaylor.net/199/mtx-199.zip">Max patches</a> containing Victor Cerullo's microtuner object, which stores and plays tuning systems in the .mtx format. Included is an archive of thousands of different tuning systems, which boggle the mind.<br /><br />Also included is a midi file player (the detonate object) and a few midi files to get you started, with Bach and Stevie Wonder; for now, playback is on a sketchy FM synth.<br /><br />Please experiment with a variety of songs in different tunings, to get an idea of how the different tuning systems sound.Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-73152933168757527492007-10-17T10:56:00.000-07:002007-10-17T10:59:27.208-07:00Some more tuningHere's another patch for <a href="http://www.stephenandrewtaylor.net/199/tuning.zip">tuning</a>.Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-35494116742853347162007-10-15T07:05:00.000-07:002007-10-15T07:16:57.933-07:00ProjectsI met with a number of you in the last week or so to discuss your projects. I still need to meet with some of you though: let's make sure we get that arranged by the end of today's class. Remember these projects are due Wednesday Octobe 24.<br /><br />This week I propose we continue to look at scales, chapters 5 and 6 of Benson. For Wednesday (so everyone has time to prepare), I'd particularly like to experiment with the claims in 5.11, about "classical harmony" and its relationship to various scales. So have a look at that section. And, let's see what Steve suggests.Matthew Andohttp://www.blogger.com/profile/09497571026904897642noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-22010868944180461542007-10-08T10:56:00.000-07:002007-10-08T10:58:03.337-07:00Pythagorean tuningHere's a Max patch to try out for <a href="http://www.stephenandrewtaylor.net/199/pytha-folder.zip">Pythagorean tuning</a>. It uses the poly~ object, which you can read about in MSP tutorial 21.Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-46741446547328640262007-09-26T11:07:00.000-07:002007-09-26T11:08:09.802-07:00Mathematica notebook linkProfessor Ando's <a href="http://www.math.uiuc.edu/%7Emando/classes/2007F/199-manual/hw/">Mathematica notebooks</a>.Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-33412371105266887082007-09-26T07:27:00.000-07:002007-09-26T11:33:57.817-07:00Assignment for Monday, October 1As we've been discussing in class, please adapt your additive synthesis patch to model a musical instrument; you might find it necessary to add more sine wave oscillators to make it sound good. Use the formulas in Benson's text to calculate as many elements of the sound as you can; you can also analyze existing instrumental sounds to examine the amplitude and pitch envelopes of different harmonics in the sound's spectrum.<br /><br />The University of Iowa has made a good library of instrument samples, which can be found <a href="http://theremin.music.uiowa.edu/MIS.html">here</a>. You can load these into Max/MSP using the sfplay~ or groove~ objects; I've made a slightly revised version of the additive synth patch including with some playback capabilities, which you download <a href="http://www.stephenandrewtaylor.net/199/additive-project-folder.zip">here</a>.Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-5144083843445057032007-09-12T11:33:00.000-07:002007-09-17T09:47:12.410-07:00Assignment for Wednesday, September 19I've posted a mathematica notebook at http://www.math.uiuc.edu/~mando/classes/2007F/199-manual/hw/FourierPracticeHW.nb. Download a copy of this notebook, and work through it. Save it, and post it to the blog.<br />Try to do this for the 19th: we'll work on it in class today, Monday the 17th.Matthew Andohttp://www.blogger.com/profile/09497571026904897642noreply@blogger.com5tag:blogger.com,1999:blog-8486025023320128908.post-6553402634316021892007-09-12T09:40:00.000-07:002007-09-12T10:02:47.193-07:00Assignment for Sept. 17Sorry for the sound trouble on MSP - here is what you need to do: go to the Options menu, and select "DSP status..." under driver, the second option, select "CoreAudio Built-in Audio" or whatever your sound card happens to be - then the sound should work.<br /><br />For Monday, if you haven't already made your sounds, please do so right away; go through tutorials 7 - 10; and take the additive synth patch I made, and modify it in some cool way: perhaps add level meters, so you can tell if you're clipping; try adding more partials to make better sounds; add a waveform object; explore some of the many options in the spectroscope object; add a noteslider to control your fundamental frequency - there's tons of stuff you could add!Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-66873652651164850732007-09-09T19:34:00.000-07:002007-09-10T19:20:30.002-07:00Max/MSP assignment for Sept. 12Updated - the patch should now work correctly on your own computers. For this Wednesday, Sept. 12, please download this <a href="http://www.stephenandrewtaylor.net/199/additive-folder.zip">patch</a> (an adaptation of Tutorial 7, Additive Synthesis) and use it to record your own sounds. If you don't have a trial copy of Max/MSP on your own computer, you can use the CAMIL lab - also, this patch doesn't need to be edited, so you can even use MaxMSP Runtime. More instructions are in the patch itself. Have fun!<br /><br />Please also work through the MSP tutorials 7 (additive synthesis) through 10 (vibrato and frequency modulation).Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com14tag:blogger.com,1999:blog-8486025023320128908.post-56830577349940153142007-08-29T18:37:00.000-07:002007-09-09T13:21:34.508-07:00Updated web pageI updated the web page, see <a href="http://www.math.uiuc.edu/%7Emando/classes/2007F/199/">http://www.math.uiuc.edu/~mando/classes/2007F/199/</a>.<br /><br />Key features: for one thing, the first math assignment, due 9/10, is posted there. For another, I give a link to a couple of the Mathematica notebooks I've used in class, so you can download them and modify them yourself.Matthew Andohttp://www.blogger.com/profile/09497571026904897642noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-10652446691239194382007-08-29T10:59:00.001-07:002007-08-29T10:59:36.191-07:00Cycling 74's MaxMSPOne of the programs we're using for this course, MaxMSP, is available as a free 30-day demo from <a href="http://www.cycling74.com/products/maxmsp">cycling74.com</a>. You can download all the documentation for free as well. Please go <a href="http://www.cycling74.com/downloads/maxmsp">here</a> to download.<br /><br />For Monday, please try to work through the first few MSP tutorials; if you can get all the way to Tutorial 6, that would be terrific. Both the tutorial patches and pdf files are found in the Documentation folder; the pdf file you need is called MSP46TutorialsAndTopics.pdf. You're also welcome to look through the Max tutorials as well, which are useful since they are more basic. Remember, the "Max" part of the program is for control data (things like on/off, addition/subtraction, etc.), while the "MSP" part of the program is for audio data, at 44.1 kHz; all of the MSP objects have a ~ after their name.<br /><br />And finally, we would like you all to read the first chapter of the text for this course, Dave Benson's <span style="font-style: italic;">Music: A Mathematical Offering</span>, available <a href="http://www.maths.abdn.ac.uk/%7Ebensondj/html/maths-music.html">here</a> as a free pdf file.Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com0tag:blogger.com,1999:blog-8486025023320128908.post-23510931496071610492007-08-27T04:37:00.000-07:002007-08-27T04:46:27.907-07:00Welcome to Math and Music 199!Professor Ando and I are both excited about this course; although we've taught many courses on math <span style="font-style: italic;">or</span> music, we've never taught a course on both, so we will be relying on your input to shape and refine it. As part of Music 199 we will be hosting this blog; part of your homework will consist of posting comments and other material.<br /><br />For the course syllabus, click <a href="http://www.math.uiuc.edu/%7Emando/classes/2007F/199/node1.html">here</a>. Before Wednesday, please post a comment introducing yourself to the rest of the class: your major; any background you have in math and/or music; and what you hope to gain from this course.Stephen Taylorhttp://www.blogger.com/profile/00873964497753574527noreply@blogger.com12