66
Scatology Scatology

Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Embed Size (px)

Citation preview

Page 1: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

ScatologyScatology

Page 2: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

ScatologyScatology

Study of outputStudy of output Also called Also called coprologycoprology From what comes out you get a From what comes out you get a

pretty good idea of what when in!!!!!pretty good idea of what when in!!!!!

Page 3: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Allusion in MusicAllusion in Music

Page 4: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Beethoven and MozartBeethoven and Mozart

a)

b)

Page 5: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Weber and BeethovenWeber and Beethovena)

b)

Page 6: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Stravinsky and Stravinsky and LithuaniaLithuania

a)

b)

Page 7: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Stravinsky and Stravinsky and Lithuania Lithuania IIII

a)

b)

Page 8: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Bruckner and SchubertBruckner and Schubert

a)

b)

Page 9: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Beethoven, Schumann, Beethoven, Schumann, Liszt, Spohr, and WagnerLiszt, Spohr, and Wagner

a)

b)

c)

d)

e)

Page 10: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Beethoven and Mozart IIBeethoven and Mozart II

a)

b)

Page 11: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Mahler and HandelMahler and Handel

a)

b)

Page 12: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Beethoven and HandelBeethoven and Handel

a)

b)

Page 13: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Various composers over Various composers over timetime

Page 14: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Ur-motive over 200 yearsUr-motive over 200 years

Page 15: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Berlioz and HaydnBerlioz and Haydn

a)

b)

Page 16: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Interesting tuneInteresting tune

Page 17: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Source Source

Page 18: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Chopin’s variation Chopin’s variation techniquetechnique

a)

b)( ) ( )

Page 19: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Algorithmic compositionAlgorithmic composition

Page 20: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

BeethovenBeethoven

Page 21: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Mozart sources for algo. Mozart sources for algo. ex.ex.

Page 22: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Sorcerer output exampleSorcerer output example

BO1

BE1

BE2

BA1

BA2

S1

C1

BA3

BA4

Page 23: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

What can allusions What can allusions mean?mean?

Page 24: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Bach’s fugue 4Bach’s fugue 4

Page 25: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Bach’s hidden motiveBach’s hidden motive

Page 26: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Mendelssohn/Wagner/Mendelssohn/Wagner/MahlerMahler

a)

b)

c)

Page 27: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Haydn/Beethoven/MahlerHaydn/Beethoven/Mahler

Page 28: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Finding musical Finding musical allusionsallusions

target work

source music

pattern match

userallusions

Page 29: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Intervals work bestIntervals work best

Page 30: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Incremental works bestIncremental works best

a)

b)

c)

d)

e)

f)

Page 31: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Rhythm matchingRhythm matching

a)

b)

Page 32: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Finding allusionsFinding allusions

Locating repeating patternsLocating repeating patterns Pattern matching a staple of Pattern matching a staple of

artificial intelligenceartificial intelligence Often called pattern recognitionOften called pattern recognition Origins in set theory in mathematicsOrigins in set theory in mathematics Finding patterns in math can be Finding patterns in math can be

quite different than finding them in quite different than finding them in music.music.

Page 33: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Pattern Matching codePattern Matching code

No user-given pattern No user-given pattern Segmentation (incremental)Segmentation (incremental) Controllers (variables)Controllers (variables) Too wide: noiseToo wide: noise Types of variations?Types of variations? Too narrow: no patternsToo narrow: no patterns Self-adjusting??Self-adjusting??

Page 34: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Types of variationsTypes of variations

Transposition Transposition Inversion Inversion Retrograde Retrograde Inversion-retrogradeInversion-retrograde Interpolated notesInterpolated notes Excised notesExcised notes Equivalent setsEquivalent sets

Page 35: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Set TheorySet TheoryPattern matching for Pattern matching for contemporary music. contemporary music.

Note that many musical/math Note that many musical/math set processes do not have set processes do not have

corresponding counterparts!corresponding counterparts!

Page 36: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Mathematical set theoryMathematical set theory

Set: {45,15,17} Set: {45,15,17} Curly bracketsCurly brackets Typically unorderedTypically unordered

Page 37: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Mathematical set theoryMathematical set theory

is an element of is not an element of is a proper subset of is a subset of is not a subset of the empty set; a set with no

elements union intersection

Page 38: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Mathematics and SetsMathematics and Sets

Example of a set proof: Example of a set proof:

A A C)C)C)C)

Page 39: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Venn Diagrams help!Venn Diagrams help!

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 40: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Musical set theoryMusical set theory

Set: [9,3,5]Set: [9,3,5] Brackets Brackets Ordered or unorderedOrdered or unordered Modulo 12 (pitch classes)Modulo 12 (pitch classes) Ordered version of above: [9,3,5]Ordered version of above: [9,3,5] Normal (unordered/smallest) version of Normal (unordered/smallest) version of

above [3,5,9]above [3,5,9] Prime version (unordered/invertible) of Prime version (unordered/invertible) of

above [0,2,6]above [0,2,6]

Page 41: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Music and SetsMusic and Sets

The same setThe same set

[0,3,7][0,3,7] [0,3,7] [0,3,7] [0,3,7] [0,3,7]

Page 42: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

The same setThe same set

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

[0,1,3,6,8,9]

Page 43: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Cellular automataCellular automata

Page 44: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Cellular automataCellular automata

An example rule setAn example rule set

8 possible ways to set upper 8 possible ways to set upper patterns (2patterns (233))

256 possible rule sets (2256 possible rule sets (288)) Follows Steven Wolfram’s model in a Follows Steven Wolfram’s model in a

New Kind of Science (NKS)New Kind of Science (NKS)

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 45: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Sequence of stepsSequence of steps

Time downward (one dimensional?) Time downward (one dimensional?) QuickTime™ and a

TIFF (Uncompressed) decompressorare needed to see this picture.

Page 46: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Rule 30Rule 30

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 47: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Rule 90Rule 90QuickTime™ and a

TIFF (Uncompressed) decompressorare needed to see this picture.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 48: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Rule 110Rule 110QuickTime™ and a

TIFF (Uncompressed) decompressorare needed to see this picture.QuickTime™ and a

TIFF (Uncompressed) decompressorare needed to see this picture.

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Page 49: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

In colorIn color

Rule 30Rule 30

Rule 110Rule 110

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 50: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

More about More about A New Kind of ScienceA New Kind of Science

Page 51: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Conway’s Game of LifeConway’s Game of Life

Page 52: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Conway’s Life RulesConway’s Life Rules

1.Any live cell with fewer than two live neighbors dies, as if by 1.Any live cell with fewer than two live neighbors dies, as if by loneliness.loneliness.

2.Any live cell with more than three live neighbors dies, as if by 2.Any live cell with more than three live neighbors dies, as if by overcrowding.overcrowding.

3.Any live cell with two or three live neighbors lives, unchanged, to 3.Any live cell with two or three live neighbors lives, unchanged, to the next generation.the next generation.

4.Any dead cell with exactly three live neighbors comes to life.4.Any dead cell with exactly three live neighbors comes to life.

Page 53: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Many different patternsMany different patterns

Gosper Glider GunGosper Glider Gun

Diehard AcornDiehard Acorn

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.

Page 54: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Game of LifeGame of Life

Many available programsMany available programs Both on site and downloadableBoth on site and downloadable Thousands of named figuresThousands of named figures Many that refigure infinitelyMany that refigure infinitely Called two dimensionalCalled two dimensional

Page 55: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Growth and Growth and DiminishmentDiminishment

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 56: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Genetic AlgorithmsGenetic Algorithms

Page 57: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Genetic AlgorithmsGenetic Algorithms Definition a computer simulationcomputer simulation in which a population of abstract

representations (called chromosomes, genotype, or genome) of candidate solutions (called individuals, creatures, or phenotypes) to an optimization problem evolves toward better solutions.

Basics A genetic representation of the solution domain, A fitness function to evaluate the solution domain.

Along the way crossover and mutation

Until a solution is found that satisfies minimum criteria

Page 58: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 59: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Genotype and PhenotypeGenotype and Phenotype

QuickTime™ and aTIFF (Uncompressed) decompressor

are needed to see this picture.

Page 60: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Karl SimsKarl Sims

Evolved Virtual CreaturesEvolved Virtual Creatures Not an animationNot an animation Evolved objects in motionEvolved objects in motion Encased in various media (water, Encased in various media (water,

air, etc.)air, etc.) With gravityWith gravity

Page 61: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Evolved Virtual Evolved Virtual CreaturesCreatures

Page 62: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Object Oriented Object Oriented ProgrammingProgramming

Called OOPCalled OOP Paradigm change from FP (functional Paradigm change from FP (functional

programming)programming) ClassesClasses InstancesInstances MethodsMethods InheritanceInheritance EncapsulationEncapsulation AbstractionAbstraction Polymorphism Polymorphism

Page 63: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

GoFGoF

Gang of FourGang of Four Erich GammaErich Gamma, Richard Helm,

Ralph Johnson, and John Vlissides Design Patterns: Elements of Design Patterns: Elements of

Reusable Object-Oriented SoftwareReusable Object-Oriented Software Now in its 36th printingNow in its 36th printing 23 classic software design patterns23 classic software design patterns

Page 64: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

CLOSCLOS

Common Lisp Object SystemCommon Lisp Object System (defclass “name” (inheritance (defclass “name” (inheritance

[superclasses])[superclasses]) (defmethod(defmethod GUI (menus, windows, buttons, etc.)GUI (menus, windows, buttons, etc.) Platform and program dependentPlatform and program dependent

Page 65: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

Bits and PiecesBits and Pieces mapcar mapcar (mapcar #'first '((a 1)(b 2))) = (A B)

LoopLoop (loop for event in ‘((0 60 1000 1 127)(1000 62 1000 1 (loop for event in ‘((0 60 1000 1 127)(1000 62 1000 1

127))127)) collect (second event))collect (second event)) = (60 62)= (60 62) setf (simple object system)setf (simple object system) ? (setq x 'b) B ? (setf (get 'color x) 'blue) BLUE ? (get 'color x) BLUE

Page 66: Scatology. Scatology Study of output Study of output Also called coprology Also called coprology From what comes out you get a pretty good idea of what

AssignmentAssignment

Read Chapter 4 of CMMCRead Chapter 4 of CMMC Begin work in earnest on your final Begin work in earnest on your final

projectproject Get all past homework in or else!!Get all past homework in or else!! Enjoy life, you only get so much Enjoy life, you only get so much

time.time.