natalie brewer, yuhan chen, and rupali sarathy transform-a ... · negative harmony reflects the...

21
TRANSFORM-A-TUNE Natalie Brewer, Yuhan Chen, and Rupali Sarathy

Upload: others

Post on 19-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

TRANSFORM-A-TUNENatalie Brewer, Yuhan Chen, and Rupali Sarathy

Page 2: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

TUNING AND TEMPERAMENT CONVERSION

The adjustment of one sound source, such as a voice or string, to produce a desired pitch in relation to a given pitch

2

Page 3: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

❖ An application that allows a user to select an input tune and convert it into a new melody based on one of six possible conversions➢ Negative Harmony

➢ Symmetric Harmony

➢ Reverse Pitches

➢ Randomize Pitches

➢ Double or Triple Intervals

3

WHAT IS TRANSFORM-A-TUNE?

Page 4: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

OUR PROCESS IS EASY 4

STEP 3

Listen to your brand new

melody!

STEP 1

Import any MIDI file of your choice.

STEP 2

Select your desired

conversion.

Page 5: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

5

CODING RESOURCES

Debugging:

Page 6: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

TKINTER

▫ GUI interface for Python

▫ Uses grid layout and widgets

▫ Buttons for input, playback, and conversion

6

Page 7: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

HOW DOES IT WORK?

7

Notes are associated with numbers in MIDI files.

Page 8: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

NEGATIVE HARMONY▫ Reflects the pitches with

a mirror between E♭ and E, or A and B♭. It can be visualized by placing a mirror between these notes on a piano.

▫ This concept originated from Ernst Levy.

8

Page 9: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

9

NEGATIVE HARMONY ALGORITHM

Page 10: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

SYMMETRIC HARMONY▫ An adjustment of the

negative harmony that transposes it down 3 semitones.

▫ The mirror is now placed A♭. ▫ After conversion, notes

played on white keys are still played on white keys and notes played on black keys are still played on black keys.

10

Page 11: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

11

SYMMETRIC HARMONY ALGORITHM

Page 12: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

REVERSE PITCHES

▫ Reverses the order of pitches while keeping the same rhythm and tempo.

▫ The first pitch becomes the last and the last becomes the first and so on.

12

Page 13: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

13

REVERSE PITCHES ALGORITHM

Page 14: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

RANDOMIZE PITCHES

▫ This conversion randomly scrambles the pitches in the melody while keeping the rhythm and tempo the same.

14

Page 15: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

15

RANDOMIZE PITCHES ALGORITHM

Page 16: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

DOUBLE AND TRIPLE INTERVALS▫ This conversion doubles the

intervals between each note and the average note of the melody.

▫ All the notes are set on a whole note scale (or a diminished 7th chord)

▫ It widens the gap between the high pitches and low pitches.

16

Page 17: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

17

DOUBLE AND TRIPLE RELATIONSHIPS

Double Triple

Page 18: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

18

DOUBLE AND TRIPLE INTERVALS ALGORITHM

Page 19: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

PARSING INPUT19

▫ Function called simple_parse_midi

▫ Returns a three part array

▫ First part is a list of MIDI notes

Page 20: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

PRODUCING OUTPUT20

▫ Function called features_to_midi

▫ Accepts a three part array

▫ Produces a midi file

Page 21: Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the pitches with a mirror between E♭ and E, or A and B♭. It can be visualized by placing

21

ACKNOWLEDGMENTS▫ Professor Shlomo

Dubnov ▫ Professor Mauricio de

Oliveira▫ Gualter Moura▫ Our teacher assistants:

Jacob and Aren▫ Cluster 9!