Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the...
Transcript of Natalie Brewer, Yuhan Chen, and Rupali Sarathy TRANSFORM-A ... · NEGATIVE HARMONY Reflects the...
TRANSFORM-A-TUNENatalie Brewer, Yuhan Chen, and Rupali Sarathy
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
❖ 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?
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.
5
CODING RESOURCES
Debugging:
TKINTER
▫ GUI interface for Python
▫ Uses grid layout and widgets
▫ Buttons for input, playback, and conversion
6
HOW DOES IT WORK?
7
Notes are associated with numbers in MIDI files.
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
9
NEGATIVE HARMONY ALGORITHM
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
11
SYMMETRIC HARMONY ALGORITHM
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
13
REVERSE PITCHES ALGORITHM
RANDOMIZE PITCHES
▫ This conversion randomly scrambles the pitches in the melody while keeping the rhythm and tempo the same.
14
15
RANDOMIZE PITCHES ALGORITHM
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
17
DOUBLE AND TRIPLE RELATIONSHIPS
Double Triple
18
DOUBLE AND TRIPLE INTERVALS ALGORITHM
PARSING INPUT19
▫ Function called simple_parse_midi
▫ Returns a three part array
▫ First part is a list of MIDI notes
PRODUCING OUTPUT20
▫ Function called features_to_midi
▫ Accepts a three part array
▫ Produces a midi file
21
ACKNOWLEDGMENTS▫ Professor Shlomo
Dubnov ▫ Professor Mauricio de
Oliveira▫ Gualter Moura▫ Our teacher assistants:
Jacob and Aren▫ Cluster 9!