Welcome to the Music 206B homepage!
Here is the syllabus in PDF Format.
Here is a simple Lisp tutorial written by your teacher for reference in
Here are two books for reference in PDF Format,
and its contents in PDF Format,
and the other book in PDF Format.
A complete version of Guy Steele's Common Lisp is available here as a webpage.
There are several free Lisp programs available for Mac and PC. Here are a couple of good sources to look at: wikipedia and FAQ.
Here are your first exercises in
Here is a list of doable final projects
and a sample final project with dummy code.
Here are the PowerPoints for Monday (Jan 11) class: introduction, history, lisp.
Here are the PowerPoints for Monday (Jan 18) class: review, defun, recursion.
Here are your second exercises in
Here MGC in
Here are the PowerPoints for Monday (Jan 25) class: aaron, review, representations. MGC, sonification, exercises.
Here are the PowerPoints and exercises for Monday (Feb 1) class: retrograde, MGC, markov, exercises, markovcode.
Here are the PowerPoints and exercises for Monday (Feb 15) class: tricks, videos, CAs and GAs.
Herealso is the function I mentioned in class. Note that you have to set two global variables *tempo* (60 keeps things the same, 30 is twice as slow, and 120 is twice as fast, etc.) and *key* that also you to transpose all of your cope-events either up or down any number of half-steps you wish. To use this, set the variables as you want them using setf and then simply use the function before the cope-events you want to save as a midi-file as in (save-midi-file "name.mid" (CONVERT-THE-EVENTS *cope-events*))
Be prepared next Monday for giving a short presentation on the current state of your final projects.
Here is the PowerPoint for Monday (Feb 22) class: objects and GAs,
And here is the mpg I showed of the GAs in progress called creatures,
And here is the code we did in class that if you finish will get you some serious extra credit.
Here's the code for the assignment I gave you last evening. Three parts to it. 1) make the next generation appear as it should (hint: I may have checked this last night and did a fix already - check "mate-pairs" to see if I did and what I did; 2) make this work recursively such that it continues to create new generations until a certain point is reached (your decision as to what constitutes that point) - hint: the problem is in "genetic-algorithm" and you'll probably need another function to do the recursing; 3) document the code liberally and turn it all into me via email before next week's class. If you have problems, please connect with our mailing list!!!!!