230 likes | 559 Views
Research Progress. 15 November 2011. Outline. Database creating progress MIDI file format Using in Music analysis process Next task. Database Creating Progress. Have finished implementing of file reading and creating database file
E N D
Research Progress 15 November 2011
Outline • Database creating progress • MIDI file format • Using in Music analysis process • Next task
Database Creating Progress • Have finished implementing of file reading and creating database file • Database that provide information of notes with ground truths
MIDI File Format • MIDI file data (represented in Hexadecimal base) • Data consists of • Header chunk • Track chunk • <header_chunk> + <track_chunk> [+ <track_chunk> ...]
MIDI File Format : Header Chunk Header chunk of MIDI file • header_chunk = "MThd" + <header_length> + <format> + <n> + <division>
MIDI File Format :Header Chunk Chunk ID
MIDI File Format : Header Chunk Chunk size
MIDI File Format : Header Chunk Chunk ID and chunk size value is always the same
MIDI File Format : Header Chunk Format type • Format type • 0 = single track • 1 = multiple tracks, synchronous • 2 = multiple tracks, asynchronous
MIDI File Format : Header Chunk Number of tracks
MIDI File Format : Header Chunk Time division • Represents either ticks per beat or frames per second
MIDI File Format : Track Chunk Track chunk ID • track_chunk = "MTrk" + <length> + <track_event> [+ <track_event> ...]
MIDI File Format : Track Chunk Track chunk ID
MIDI File Format : Track Chunk Chunk size
MIDI File Format : Track Chunk Track event data • Track events are used to describe all of the musical content of a MIDI file • Consists of delta time and events
MIDI File Format : Track Chunk • There are three types of events: • MIDI Channel Events • Meta Events • System Exclusive Events
MIDI File Format : Track Event Delta time
MIDI File Format : Track Event Meta Event Delta time
MIDI File Format : Track Event Meta Event Key Signature Delta time
MIDI File Format : Track Event Meta Event Length Key Signature Delta time
MIDI File Format : Track Event Meta Event Length Key Signature Key Delta time
MIDI File Format : Track Event Meta Event Length Scale Key Signature Key Delta time
Next Task • Implement the music analysis program