Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
Multimedia Applications (CS403)      Multimedia Data Representations      (Digital Audio)       Lecture # 7            Raz...
(Musical Instrument Digital Interface)                                          2                                   03/17/12
MIDI   Midi provides a very low bandwidth    alternative on the Web:    – transmit musical and    – certain sound effects...
MIDI on the WebVery Low Bandwidth (few 100K bytes) The responsibility of producing sound is  moved to the client:  – Synt...
Introduction to MIDI   Definition of MIDI:    MIDI is a protocol that enables computer,    synthesizers, keyboards, and o...
A PC-Based MIDI System                                6                         03/17/12
Components of a MIDI System Synthesizer:  – It is a sound generator (various pitch,    loudness, tone ).  – A good (music...
Components of a MIDI System (Cont.)   Sequencer:    – It can be a stand-alone unit or a software program for      a perso...
Components of a MIDI System (Cont.)   Channel:    – MIDI channels are used to separate information in a      MIDI system....
Components of a MIDI System (Cont.)   Pitch:    – Musical note that the instrument plays   Voice:    – Voice is the port...
Hardware Aspects of MIDI   MIDI connectors:    Three 5-pin ports found on the back of every MIDI unit    – MIDI IN:      ...
MIDI Messages    MIDI messages are used by MIDI devices to    communicate with each other.    MIDI messages are very low b...
Structure of MIDI messages:   MIDI message includes a status byte and up to two    data bytes.   Status byte    – The mo...
Classification of MIDI messages:                                        14                                   03/17/12
Midi Channel messages:    Messages that are transmitted on individual    channels rather that globally to all devices in t...
Midi Channel mode messages:    Channel mode messages are a special case of the    Control Change message (Bx (Hex) or 1011...
System Messages:   System messages carry information that    are not channel specific, Examples:    – Timing signal for s...
Midi System Real-time Messages   These    messages      are        related     to    synchronization/timing etc.   The M...
System Exclusive Messages System Exclusive messages may be used to send data such as patch parameters or sample data betwe...
Digital Audio and MIDI    There are many applications of Digital Audio and    Midi being used together:   Modern Recordin...
Digital Audio, Synthesis, Midi andCompression -- MPEG 4 Structured Audio   Basic Ideas of compression used as integral pa...
Questions ?                   22              03/17/12
Summary   The MIDI protocol provides an efficient format    for conveying musical performance data, and the    Standard M...
Nächste SlideShare
Wird geladen in …5
×

Lecture# 7 midi file format

  • Loggen Sie sich ein, um Kommentare anzuzeigen.

Lecture# 7 midi file format

  1. 1. Multimedia Applications (CS403) Multimedia Data Representations (Digital Audio) Lecture # 7 Razia Nisar Noorani Lecturer Aligarh Institute of Technology
  2. 2. (Musical Instrument Digital Interface) 2 03/17/12
  3. 3. MIDI Midi provides a very low bandwidth alternative on the Web: – transmit musical and – certain sound effects data 3 03/17/12
  4. 4. MIDI on the WebVery Low Bandwidth (few 100K bytes) The responsibility of producing sound is moved to the client: – Synthesiser Module – Sample – Soundcard – Software Generated 4 03/17/12
  5. 5. Introduction to MIDI Definition of MIDI: MIDI is a protocol that enables computer, synthesizers, keyboards, and other musical device to communicate with each other. 5 03/17/12
  6. 6. A PC-Based MIDI System 6 03/17/12
  7. 7. Components of a MIDI System Synthesizer: – It is a sound generator (various pitch, loudness, tone ). – A good (musicians) synthesizer often has a microprocessor, keyboard, control panels, memory, etc. 7 03/17/12
  8. 8. Components of a MIDI System (Cont.) Sequencer: – It can be a stand-alone unit or a software program for a personal computer. (It used to be a storage server for MIDI data. Nowadays it is more a software music editor on the computer. – It has one or more MIDI INs and MIDI OUTs. Track: – Track in sequencer is used to organize the recordings. – Tracks can be turned on or off on recording or playing back. 8 03/17/12
  9. 9. Components of a MIDI System (Cont.) Channel: – MIDI channels are used to separate information in a MIDI system. – There are 16 MIDI channels in one cable. – Channel numbers are coded into each MIDI message. Timbre: – The quality of the sound, e.g., flute sound, cello sound, etc. – Multitimbral - capable of playing many different sounds at the same time (e.g., piano, brass, drums, etc.) 9 03/17/12
  10. 10. Components of a MIDI System (Cont.) Pitch: – Musical note that the instrument plays Voice: – Voice is the portion of the synthesizer that produces sound. – Synthesizers can have many (12, 20, 24, 36, etc.) voices. – Each voice works independently and simultaneously to produce sounds of different timbre and pitch. Patch: – The control settings that define a particular timbre 10 03/17/12
  11. 11. Hardware Aspects of MIDI MIDI connectors: Three 5-pin ports found on the back of every MIDI unit – MIDI IN: the connector via which the device receives all MIDI data. – MIDI OUT: the connector through which the device transmits all the MIDI data it generates itself. – MIDI THROUGH: the connector by which the device echoes the data receives from MIDI IN. 11 03/17/12
  12. 12. MIDI Messages MIDI messages are used by MIDI devices to communicate with each other. MIDI messages are very low bandwidth: Note On Command – Which Key is pressed – Which MIDI Channel (what sound to play) – 3 Hexadecimal Numbers Note Off Command Other command (program change) configure sounds to be played. 12 03/17/12
  13. 13. Structure of MIDI messages: MIDI message includes a status byte and up to two data bytes. Status byte – The most significant bit of status byte is set to 1. – The 4 low-order bits identify which channel it belongs to (four bits produce 16 possible channels). – The 3 remaining bits identify the message. The most significant bit of data byte is set to 0. 13 03/17/12
  14. 14. Classification of MIDI messages: 14 03/17/12
  15. 15. Midi Channel messages: Messages that are transmitted on individual channels rather that globally to all devices in the MIDI network.Channel voice messages: Channel Voice Messages are used to send musical performance information. The messages in this category are the Note On, Note Off, Polyphonic Key Pressure, Channel Pressure, Pitch Bend Change, Program Change, and the Control Change messages. Note On / Note Off / Velocity 15 03/17/12
  16. 16. Midi Channel mode messages: Channel mode messages are a special case of the Control Change message (Bx (Hex) or 1011nnnn (Binary)). The difference between a Control message and a Channel Mode message, is in the first data byte. – Data byte values 121 through 127 have been reserved in the Control Change message for the channel mode messages. – Channel mode messages determine how an instrument will process MIDI voice messages. 16 03/17/12
  17. 17. System Messages: System messages carry information that are not channel specific, Examples: – Timing signal for synchronization, – Positioning information in pre-recorded MIDI sequences, and – Detailed setup information for the destination device – Setting up sounds, Patch Names etc. 17 03/17/12
  18. 18. Midi System Real-time Messages These messages are related to synchronization/timing etc. The MIDI System Real Time messages are used to synchronize all of the MIDI clock-based equipment within a system, such as sequencers and drum machines. 18 03/17/12
  19. 19. System Exclusive Messages System Exclusive messages may be used to send data such as patch parameters or sample data between MIDI devices. Manufacturers of MIDI equipment may define their own formats for System Exclusive data 19 03/17/12
  20. 20. Digital Audio and MIDI There are many applications of Digital Audio and Midi being used together: Modern Recording Studio -- Hard Disk Recording and MIDI – Analog Sounds (Live Vocals, Guitar, etc) -- DISK – Keyboards, Drums, Samples, Loops Effects -- MIDI Sound Generators: use a mix of – Synthesis – Samples Samplers -- Digitise (Sample) Sound then – Playback – Loop (beats) – Simulate Musical Instruments 20 03/17/12
  21. 21. Digital Audio, Synthesis, Midi andCompression -- MPEG 4 Structured Audio Basic Ideas of compression used as integral part of audio format -- MP3, real audio etc. Mpeg-4 audio -- actually combines compression synthesis and midi to have a massive impact on compression. Midi, Synthesis encode what note to play and how to play it with a small number of parameters -- Much greater reduction than simply having some encoded bits of audio. 21 03/17/12
  22. 22. Questions ? 22 03/17/12
  23. 23. Summary The MIDI protocol provides an efficient format for conveying musical performance data, and the Standard MIDI Files specification ensures that different applications can share time-stamped MIDI data. While this alone is largely sufficient for the working MIDI musician, the storage efficiency and on-the-fly editing capability of MIDI data also makes MIDI an attractive vehicle for generation of sounds in multimedia applications, computer games, or high-end karaoke equipment. 23 03/17/12

×