Base-40 arithmetic for music apps Music 253/CS 275A Stanford University.

Slides:



Advertisements
Similar presentations
Music Analysis and Generation Supervisors: Jon McCormack & Lloyd Allison Final Presentation Oliver Ng (B.DigSys)
Advertisements

For those who have never played an instrument
MusicXml: Symbolic Music Interchange Format Carmine Casciato MUMT 611 Thursday, January 27th, 2005 Carmine Casciato MUMT 611 Thursday, January 27th, 2005.
Sample Test 1 Question. A pattern of binary digits can be interpreted in several different ways. Show how the pattern translates using each of.
Scales & Intervals Theory I 9 th grade Ms. Wasko.
2’s Complement Arithmetic (remember it’s a fixed length system)
UFCEXR-20-1Multimedia Sound Production Music Notation: Scales and Key Signatures.
Representations Example: Numbers –145 –CVL – –91 –
Tutorial of MusicXML An Open Format For Music Notation Present by Ming-Jing Ho.
UFCEXR-20-1Multimedia Sound Production Basic Chord Structures and Patterns.
Introduction to Computers and Programming. Some definitions Algorithm: Algorithm: A procedure for solving a problem A procedure for solving a problem.
Number System Review This section reviews binary numbers, hexadecimal numbers, and binary arithmetic © 2014 B. Wilkinson Modification date: Dec 29,
Online data resources for use with music analysis software.
AP Music Theory Elements of Music: Pitch. IB and AP  This class will get you through the material you will need to accurately analyze a piece of music.
Harmony: Musical Space
Binary Addition Addition Rules: = = = = = carry 1 1 carry 1 Example 1: Example 2:
NCVPS AP Music Theory Presentation by Dr. Tom Moncrief Inversions of Triads.
Input of musical notation Music 253/CS 275A Stanford University.
Introduction of Humdrum Music 253/CS 275A Stanford University.
+ Accidentals Sharps, Flats and Naturals. + Disclaimer Page We are a TEAM It is my goal to have 100% of our team understanding these concepts. If you.
Working with text ASCII and UNICODE.   
Binary Code.
Musical Analysis using statistical methods 권상일.
Engineering 1040: Mechanisms & Electric Circuits Spring 2014 Number Systems.
Chapter 3 Part 2. Consonance and Dissonance Intervals that are treated as STABLE and not requiring resolution are considered CONSONANCE. Consonant intervals.
Number systems, Operations, and Codes
Optical Music Recognition and Data Import/Export Music 253/ CS 275A Eleanor Selfridge-Field.
CODES FOR DATA ARCHIVING, INTERCHANGE, AND ANALYSIS: MUSEDATA Music 253/CS 275A Stanford University.
AP Music Theory Mr. Jackson
What is musical information? Music 253/CS 275A Topic 1A Stanford University.
Score Textures and Tracks Music 253/CS 275A Stanford University.
Data Representation Conversion 24/04/2017.
Markup Languages for Music: MusicXML Music 253/CS 275A Stanford University.
By Jariya Phongsai A two's-complement system is a system in which negative numbers are represented by the two's complement of the absolute value; this.
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
About Directions Start Tutorial. How to use this tutorial The modules are designed to be completed sequentially. Each module has a brief review of concepts.
Using Musical Information Music 253/CS 275A 1B Stanford University.
Final Projects Some simple ideas. Composition (1) program that "learns" some aspect of musical composition.
MIDI Extensions, alternatives
Chapter 3 Part 4. Transposition Transposition is the process of rewriting a piece of music or a scale so that it sounds higher or lower in pitch. This.
Base-40 Arithmetic Implications for Notation-Oriented Applications.
An Introduction to SCORE
Pitch Spelling – A Computational Model By Emilios Cambouropoulos Presentation by Amit Singh.
From Analogue to Digital: Sound Input through the Ages Music 253/CS 275A Stanford University.
Music Eleanor Selfridge-Field Automatic transcription of composition 18 th 18 th century: England, 1747 (Grove 1) 19 th century Horizontal.
-The rule of 9 - Figured Bass - 6/6-4. For diatonically-named intervals, there is a useful rule applying to all intervals (that is those of one octave.
Input Methods for Music Notation Software Mus 253/CS 275A Stanford University Notation 1.
What is a Triad? NCVPS AP Music Theory.
From “Music” to MIDI Music 253/CS 275A Stanford University.
Negative binary numbers 1 Computer Architectures M.
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 8, 2004 Lecture Number: 7.
AP Music Theory Chapter 2 – Part 3. Tonality Organized system of tones in which one tone (the TONIC) becomes the central point to which the other tones.
Score Textures and Tracks Music 253/CS 275A Stanford University.
Unit 1: Elements Key.  Key note or tonic – central tone of a melodic line  Key/tonality– the presence of a central tone and a central chord and scale.
Multi Channel Music Recognition for an Electric Guitar.
MIDI Musical Instrument Digital Interface A digital communication protocol allowing devices to send and/or respond to instructions.
AP Music Theory Elements of Music: Pitch. Keyboard and Octave Registers  Pitch refers to highness or lowness of a sound  Names for the first 7 letters.
Introduction to Music scales
Piano Chord Builder Artem Kuligin CS 470 6/17/2018 3:08 AM
CS1001 Programming Fundamentals 3(3-0) Lecture 2
Creating Simple Music By Keith Lynn
Codes for data archiving, interchange, and analysis
Pitch Intervals Chapter 6.
Basic Chords and How to Build Them
Lab 7: Musical Scales The Just Scale The Tempered Scale Transposition
H Melody/Harmony Relative Major / Minor – A change of key (modulation) from minor to major key using the same key signature but found three semitones higher,
Base-40 arithmetic for music apps
Introduction to Humdrum
Music Theory Chapter 1-Part 1 APMT Hunter Mason.
Pitch Spelling Algorithms
Presentation transcript:

Base-40 arithmetic for music apps Music 253/CS 275A Stanford University

CS 275A/Mus Eleanor Selfridge-Field Where did Base-40 come from?  Conceived by Walter Hewlett (1986); first pub 1992  Goals: enharmonic spelling preservation, correct analysis, correct transposition  Reproduced at  Further elaborated in U.S. Patent 5,675,100 (7 October 1997) 2

Common bases in musical arithmetic Subdivisions of the octave  Base 7 (diatonic)  Base 12 (semi-chromatic; MIDI)—favors eq-temp sound  Base 21 (fully chromatic through 1 #/b)—favors simple notation  ????? (19, 35….)  Base 40 (fully chromatic through 2 #/b; supports invertible intervals for analysis) CS 275A/Mus Eleanor Selfridge-Field3

CS 275A/Mus Eleanor Selfridge-Field Why Base-40?  Musical literacy  Tonal legibility (common-practice era)  Musical computation in integer arithmetic  Intervallic complementarity Base-10 complementarity: If interval = 3, complement = 7 If interval = 6, complement = 4 4

Review: Interval sizes and qualities CS 275A/Mus Eleanor Selfridge-Field5

Review: Intervallic complementarity CS 275A/Mus Eleanor Selfridge-Field6

Review: Intervallic complementarity in chords CS 275A/Mus Eleanor Selfridge-Field7

 Binomial solutions: Brinkman, Böker-Heil Required 3 params (pitch name, octave number, inflection)  Arbitrary mappings: C=10, D=20, E=30…. Same-sized intervals do not always produced same numbers (depends on endpoints: F-E = 10, Eb-D = 9)  Base-40 is interval-invariant: it produces consistent arithmetical results irrespective of endpoints and without binomials CS 275A/Mus Eleanor Selfridge-Field8 Integer arithmetic in digital analysis

CS 275A/Mus Eleanor Selfridge-Field Enharmonic-notation tiers  Physical instrument  Cultural apparatus Letter names  Base-7 (0 #s/bs) Octave numbers  Base-12 (1#/b) Inflection names  Base-21 (1#/b) Inflection names  Base-40 (2#/b) 9

CS 275A/Mus Eleanor Selfridge-Field Wider system: Enharmonic-notation tiers  Third tier ## # - b bb  Fourth tier ### ## # - b bb bbb C## / D / Ebb D## / E / Fb A# / Bb / Cbb (7 x 5)

Base-40 Rule CS 275A/Mus Eleanor Selfridge-Field11 Simple rule: Where a whole step exists between two key names, a null token is used.

CS 275A/Mus Eleanor Selfridge-Field From Base-40 to enharmonic preservation MIDI to base-7 MIDI to base-12 MIDI to base-21 MIDI to base-40 Solution: Translate from symbolic code to MIDIPlus 11

CS 275A/Mus Eleanor Selfridge-Field What is MIDIPlus?  In MIDI file format, a binary implementation of base-40  Replaces last 3 bits of velocity byte  Used to interpret key number 12

CS 275A/Mus Eleanor Selfridge-Field MIDIPlus in Printing Raw MIDI to Notation (Bach Prelude in E Minor, BWV 855 Translation from symbolic code (MuseData) to MIDIPlus to notation 14

CS 275A/Mus Eleanor Selfridge-Field Chords (intervallic complementarity)  Intervallic complementarity  Chord definitions

Relevant handouts Two translations of BWV 855 expressed with base-40  E-Minor Fugue with enharmonically correct notation DF DF  E-Minor Fugue via MIDI-to-notation: DF DF Music theory tutorial: CS 275A/Mus Eleanor Selfridge-Field16