Music image processing Tim Bell Department of Computer Science and Software Engineering University...

76
Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand
  • date post

    20-Jan-2016
  • Category

    Documents

  • view

    217
  • download

    0

Transcript of Music image processing Tim Bell Department of Computer Science and Software Engineering University...

Page 1: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Music image processing

Tim Bell

Department of Computer Science and Software Engineering

University of Canterbury, Christchurch, New Zealand

Page 2: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

With…

o David Bainbridge (Waikato)

o Richard Lobb

o Dave Blizzard (Portland, OR)

o Richard Green

o John McPherson

o Karen Lin

o Annabel Church

o Simon Glass

Page 3: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Overview

o OMR

o Digital music stand

o Page turning and image size

o Fast capture of music

o Music classification

Page 4: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

The vision...

o All music available on the web

o as score, recording and MIDI

o search by name, composer, lyrics, phrase, similarity, genre, novelty…

o remunerate those responsible

o culturally sensitive access

Page 5: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Barlow and Morgenstern 1949

Page 6: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Barlow and Morgenstern 1949

Page 7: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Barlow and Morgenstern 1949

Page 8: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Activities with music

o Composing

o Arranging

o Performance

o Teaching

o Musicology

o Recording

o Accompanying

o Transcribing...

Page 9: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Digital music problems

o Cost of hardware and software

o Viewing music on small screen

o Loss of inspiration and creativity

o Loss of efficiency

o Learning curve

o Software compatibility

Page 10: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Problems with paper

o Pen or pencil?

o Indexed retrieval

Page 11: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Page 12: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

memorisedoral traditionoriginal ideas

Page 13: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

live performancemp3, wav, cd

video?

Page 14: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

sheet musicscreen

Page 15: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

sheet musicscreen

Page 16: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

sheet musicscreen

Page 17: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

sheet musicscreen

Page 18: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

sheet musicscreen

Page 19: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

sheet musicscreen

D (lick #1) Dmin#5 Look at me now, will I ever learn?

D (lick #2) Dmin#5 GI don’t know how but I suddenly lose control.

Page 20: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Live performance

Page 21: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Live performance

read

Page 22: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Live performance

play(interpret)

Page 23: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Transcription

Page 24: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Transcription

listen

Page 25: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Transcription

write

Page 26: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

BMP, GIF, JPEG

Page 27: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

scanner,camera

Page 28: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

print,display

Page 29: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

MIDINIFF

MUSICXMLGUIDO

Page 30: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Render(Sibelius, Lime, Guido, Tex etc.)

Page 31: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

OMR

Page 32: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Synthesis(audio rendering)

Page 33: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Audio analysis(monophonic,polyphonic)

Page 34: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Data entry

Page 35: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Weak links

Page 36: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Labour intensivelinks

Page 37: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Page 38: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

QBH

Page 39: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Operations on music

Page 40: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

ComposeArrange/orchestrate

RehearseReact

Page 41: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Library (personal, shared)Music stand (rehearse, perform)

Page 42: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Intermediate formArchive

Page 43: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Suitable for:transpositionpart splitting

reductionsearching

theme detectionaccompaniment

performance following

Page 44: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

listeningrecording studio

analysisthumbnailbacking

Page 45: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Optical Music Recognition

Page 46: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Page 47: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Page 48: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Wabot-2

o 1980-1984

o Read simple score

o Heavy processing requirements

Page 49: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Page 50: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Staff line removal/identification

o Horizontal projection

o Vertical slices

o Wobble/track

o Chords

o Template

Page 51: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Page 52: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Horizontal projection

Page 53: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Piece at an angle

o Rotate until correct

Page 54: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Vertical slices

Page 55: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Vertical slices

Page 56: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Wobble/track

Page 57: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Object location

o Fragmentation

o Superimposed

o Touching objects

Page 58: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Identifying objects

o Flood fill

o Template matching

o Hough transform

Page 59: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Constructing musical features

o Grammars

o Decision tree

o Rules

Page 60: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Musical semantics

o Treble clef determines pitches

o Accidentals change pitch

o Time signature changes note lengths

Page 61: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Commercial systems

o Sharpeye

o Vivaldi

o Neuratron PhotoScore

o … and more

Page 62: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Is 96% recognition good enough?

o One mistake in 24 notes

o No interpretation if playing music

o Time to set up, train and correct greater than typing?

Page 63: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Not just notes…

Page 64: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Page 65: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Optical musicrecognitionin practice!

Page 66: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

The “gulf of interpretation”

o Classical tempo and dynamics

o Jazz improvisation

o Rock style (e.g. syncopation, articulation)

o Figured bass

o Cadenzas

o MIDI vs. Orchestra

Page 67: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Interpretation

Page 68: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Interpretation

Page 69: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Humanmemory

Visualdisplay

Digitalimage

Digitalsemantic

Audio

Pen-based musicdata entry

Page 70: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Page 71: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Page 72: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Coloured staveline removal

o Scanned as RGB

o Convert to HSV and CMYK

o V indicates colour

o K indicates pencil, black pen

Page 73: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.
Page 74: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Page 75: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Mis-classified images

Page 76: Music image processing Tim Bell Department of Computer Science and Software Engineering University of Canterbury, Christchurch, New Zealand.

Mu

sic

imag

e

pro

cess

ing

Discussion?