SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Multimedia Applications (CS403)
      Multimedia Data Representations
      (Digital Audio)
       Lecture # 7

            Razia Nisar Noorani
            Lecturer



    Aligarh Institute of Technology
(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 data




                                                3
                                         03/17/12
MIDI on the Web
Very 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
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
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 (musician's) synthesizer often has a
    microprocessor, keyboard, control panels,
    memory, etc.



                                                         7
                                                  03/17/12
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
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
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
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
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
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
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 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
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
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
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
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
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
Digital Audio, Synthesis, Midi and
Compression -- 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
Questions ?




                   22
              03/17/12
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

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter 2 : TEXT
Chapter 2 : TEXTChapter 2 : TEXT
Chapter 2 : TEXT
azira96
 
Multimedia tools (sound)
Multimedia tools (sound)Multimedia tools (sound)
Multimedia tools (sound)
dhruv patel
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software tools
Jay Patel
 

Was ist angesagt? (20)

Ppt on audio file formats
Ppt on audio file formatsPpt on audio file formats
Ppt on audio file formats
 
Sound
SoundSound
Sound
 
multimedia image.ppt
multimedia image.pptmultimedia image.ppt
multimedia image.ppt
 
Chapter 2 : TEXT
Chapter 2 : TEXTChapter 2 : TEXT
Chapter 2 : TEXT
 
Hardware & software in multimedia
Hardware & software in multimediaHardware & software in multimedia
Hardware & software in multimedia
 
Chapter 3 - Multimedia System Design
Chapter 3 - Multimedia System DesignChapter 3 - Multimedia System Design
Chapter 3 - Multimedia System Design
 
Chapter 1 - Multimedia Fundamentals
Chapter 1 - Multimedia FundamentalsChapter 1 - Multimedia Fundamentals
Chapter 1 - Multimedia Fundamentals
 
Chapter 5 : ANIMATION
Chapter 5 : ANIMATIONChapter 5 : ANIMATION
Chapter 5 : ANIMATION
 
IT Introduction - 06. Graphic & Multimedia
IT Introduction - 06. Graphic & MultimediaIT Introduction - 06. Graphic & Multimedia
IT Introduction - 06. Graphic & Multimedia
 
Multimedia tools (sound)
Multimedia tools (sound)Multimedia tools (sound)
Multimedia tools (sound)
 
Chapter 3 : IMAGE
Chapter 3 : IMAGEChapter 3 : IMAGE
Chapter 3 : IMAGE
 
Multimedia
MultimediaMultimedia
Multimedia
 
Multimedia:Multimedia compression
Multimedia:Multimedia compression Multimedia:Multimedia compression
Multimedia:Multimedia compression
 
MMS2401 - Multimedia system and Communication Notes
MMS2401 - Multimedia system and Communication NotesMMS2401 - Multimedia system and Communication Notes
MMS2401 - Multimedia system and Communication Notes
 
H261
H261H261
H261
 
Multimedia System & Design Ch 5 video
Multimedia System & Design Ch 5 videoMultimedia System & Design Ch 5 video
Multimedia System & Design Ch 5 video
 
what is Font in multimedia
 what is Font in multimedia what is Font in multimedia
what is Font in multimedia
 
Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data Compression
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software tools
 
Audio compression
Audio compressionAudio compression
Audio compression
 

Ähnlich wie Lecture# 7 midi file format

Menggabungkan audio ke dalam sajian multimedia 4.english
Menggabungkan audio ke dalam sajian multimedia 4.englishMenggabungkan audio ke dalam sajian multimedia 4.english
Menggabungkan audio ke dalam sajian multimedia 4.english
Eko Supriyadi
 
Micro-MIDI: A Real Time, Dynamic Microtonal MIDI Application
Micro-MIDI: A Real Time, Dynamic Microtonal MIDI ApplicationMicro-MIDI: A Real Time, Dynamic Microtonal MIDI Application
Micro-MIDI: A Real Time, Dynamic Microtonal MIDI Application
inventionjournals
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
Gladeatorkid
 
Menggabungkan audio ke dalam sajian multimedia1.english
Menggabungkan audio ke dalam sajian multimedia1.englishMenggabungkan audio ke dalam sajian multimedia1.english
Menggabungkan audio ke dalam sajian multimedia1.english
Eko Supriyadi
 
Sound systems on linux
Sound systems on linuxSound systems on linux
Sound systems on linux
Deepak KARDA
 
Menggabungkanaudiokedalamsajianmultimedia 1 (ind)
Menggabungkanaudiokedalamsajianmultimedia 1 (ind)Menggabungkanaudiokedalamsajianmultimedia 1 (ind)
Menggabungkanaudiokedalamsajianmultimedia 1 (ind)
Sayugo
 
Menggabungkanaudiokedalamsajianmultimedia 1 (ing)
Menggabungkanaudiokedalamsajianmultimedia 1 (ing)Menggabungkanaudiokedalamsajianmultimedia 1 (ing)
Menggabungkanaudiokedalamsajianmultimedia 1 (ing)
Sayugo
 
Hardware and systems technology
Hardware and systems technologyHardware and systems technology
Hardware and systems technology
Wulax37
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
Jordanianmc
 

Ähnlich wie Lecture# 7 midi file format (20)

Menggabungkan audio ke dalam sajian multimedia 4.english
Menggabungkan audio ke dalam sajian multimedia 4.englishMenggabungkan audio ke dalam sajian multimedia 4.english
Menggabungkan audio ke dalam sajian multimedia 4.english
 
MIDI for A2 music tech students
MIDI for A2 music tech studentsMIDI for A2 music tech students
MIDI for A2 music tech students
 
What is a MIDI ControllerKeyboard What It Does amp Types.pdf
What is a MIDI ControllerKeyboard What It Does amp Types.pdfWhat is a MIDI ControllerKeyboard What It Does amp Types.pdf
What is a MIDI ControllerKeyboard What It Does amp Types.pdf
 
Midi workstation basics
Midi workstation basicsMidi workstation basics
Midi workstation basics
 
Micro-MIDI: A Real Time, Dynamic Microtonal MIDI Application
Micro-MIDI: A Real Time, Dynamic Microtonal MIDI ApplicationMicro-MIDI: A Real Time, Dynamic Microtonal MIDI Application
Micro-MIDI: A Real Time, Dynamic Microtonal MIDI Application
 
2 Midi
2 Midi2 Midi
2 Midi
 
Ch05
Ch05Ch05
Ch05
 
abra ka dabra.pdf
abra ka dabra.pdfabra ka dabra.pdf
abra ka dabra.pdf
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
 
Audio devices
Audio devicesAudio devices
Audio devices
 
MultiMedia_BASICS_slides.pdf
MultiMedia_BASICS_slides.pdfMultiMedia_BASICS_slides.pdf
MultiMedia_BASICS_slides.pdf
 
Menggabungkan audio ke dalam sajian multimedia1.english
Menggabungkan audio ke dalam sajian multimedia1.englishMenggabungkan audio ke dalam sajian multimedia1.english
Menggabungkan audio ke dalam sajian multimedia1.english
 
Sound systems on linux
Sound systems on linuxSound systems on linux
Sound systems on linux
 
Ig2 task 1
Ig2 task 1Ig2 task 1
Ig2 task 1
 
AUDIO DEVICES, FORMATS AND CODECS
AUDIO DEVICES, FORMATS AND CODECSAUDIO DEVICES, FORMATS AND CODECS
AUDIO DEVICES, FORMATS AND CODECS
 
Menggabungkanaudiokedalamsajianmultimedia 1 (ind)
Menggabungkanaudiokedalamsajianmultimedia 1 (ind)Menggabungkanaudiokedalamsajianmultimedia 1 (ind)
Menggabungkanaudiokedalamsajianmultimedia 1 (ind)
 
Menggabungkanaudiokedalamsajianmultimedia 1 (ing)
Menggabungkanaudiokedalamsajianmultimedia 1 (ing)Menggabungkanaudiokedalamsajianmultimedia 1 (ing)
Menggabungkanaudiokedalamsajianmultimedia 1 (ing)
 
working principle of midi-interface
working principle of midi-interfaceworking principle of midi-interface
working principle of midi-interface
 
Hardware and systems technology
Hardware and systems technologyHardware and systems technology
Hardware and systems technology
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
 

Mehr von Mr SMAK

Fyp list batch-2009 (project approval -rejected list)
Fyp list batch-2009 (project approval -rejected list)Fyp list batch-2009 (project approval -rejected list)
Fyp list batch-2009 (project approval -rejected list)
Mr SMAK
 
Assigments2009
Assigments2009Assigments2009
Assigments2009
Mr SMAK
 
Evaluation of cellular network
Evaluation of cellular networkEvaluation of cellular network
Evaluation of cellular network
Mr SMAK
 
Common protocols
Common protocolsCommon protocols
Common protocols
Mr SMAK
 
Cellular network
Cellular networkCellular network
Cellular network
Mr SMAK
 
Lecture 6.1
Lecture  6.1Lecture  6.1
Lecture 6.1
Mr SMAK
 
Lecture 6
Lecture  6Lecture  6
Lecture 6
Mr SMAK
 
Parallel architecture
Parallel architectureParallel architecture
Parallel architecture
Mr SMAK
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
Mr SMAK
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
Mr SMAK
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
Mr SMAK
 
Lecture 6
Lecture  6Lecture  6
Lecture 6
Mr SMAK
 
Lecture 6.1
Lecture  6.1Lecture  6.1
Lecture 6.1
Mr SMAK
 
Chapter 2 ASE
Chapter 2 ASEChapter 2 ASE
Chapter 2 ASE
Mr SMAK
 
Structure of project plan and schedule
Structure of project plan and scheduleStructure of project plan and schedule
Structure of project plan and schedule
Mr SMAK
 
Proposal format
Proposal formatProposal format
Proposal format
Mr SMAK
 
Proposal announcement batch2009
Proposal announcement batch2009Proposal announcement batch2009
Proposal announcement batch2009
Mr SMAK
 
List ofsuparco projectsforuniversities
List ofsuparco projectsforuniversitiesList ofsuparco projectsforuniversities
List ofsuparco projectsforuniversities
Mr SMAK
 
Fyp timeline & assessment policy batch 2009
Fyp timeline & assessment policy batch 2009Fyp timeline & assessment policy batch 2009
Fyp timeline & assessment policy batch 2009
Mr SMAK
 

Mehr von Mr SMAK (20)

Fyp list batch-2009 (project approval -rejected list)
Fyp list batch-2009 (project approval -rejected list)Fyp list batch-2009 (project approval -rejected list)
Fyp list batch-2009 (project approval -rejected list)
 
Assigments2009
Assigments2009Assigments2009
Assigments2009
 
Week1
Week1Week1
Week1
 
Evaluation of cellular network
Evaluation of cellular networkEvaluation of cellular network
Evaluation of cellular network
 
Common protocols
Common protocolsCommon protocols
Common protocols
 
Cellular network
Cellular networkCellular network
Cellular network
 
Lecture 6.1
Lecture  6.1Lecture  6.1
Lecture 6.1
 
Lecture 6
Lecture  6Lecture  6
Lecture 6
 
Parallel architecture
Parallel architectureParallel architecture
Parallel architecture
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Lecture 6
Lecture  6Lecture  6
Lecture 6
 
Lecture 6.1
Lecture  6.1Lecture  6.1
Lecture 6.1
 
Chapter 2 ASE
Chapter 2 ASEChapter 2 ASE
Chapter 2 ASE
 
Structure of project plan and schedule
Structure of project plan and scheduleStructure of project plan and schedule
Structure of project plan and schedule
 
Proposal format
Proposal formatProposal format
Proposal format
 
Proposal announcement batch2009
Proposal announcement batch2009Proposal announcement batch2009
Proposal announcement batch2009
 
List ofsuparco projectsforuniversities
List ofsuparco projectsforuniversitiesList ofsuparco projectsforuniversities
List ofsuparco projectsforuniversities
 
Fyp timeline & assessment policy batch 2009
Fyp timeline & assessment policy batch 2009Fyp timeline & assessment policy batch 2009
Fyp timeline & assessment policy batch 2009
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Moradabad Just Call 8617370543 Top Class Call Girl Service Available
 
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...
Call Girls in Nizampet / 8250092165 Genuine Call girls with real Photos and N...
 
Foreigner Call Girls Mahim WhatsApp +91-9833363713, Full Night Service
Foreigner Call Girls Mahim WhatsApp +91-9833363713, Full Night ServiceForeigner Call Girls Mahim WhatsApp +91-9833363713, Full Night Service
Foreigner Call Girls Mahim WhatsApp +91-9833363713, Full Night Service
 
Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...
Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...
Call Girls in Kollam - 9332606886 Our call girls are sure to provide you with...
 
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...
 
Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...
Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...
Call Girls Rajnandgaon / 9332606886 Genuine Call girls with real Photos and N...
 
Call 8617370543 Sangli Call girls with real photos and phone numbers
Call 8617370543 Sangli Call girls with real photos and phone numbersCall 8617370543 Sangli Call girls with real photos and phone numbers
Call 8617370543 Sangli Call girls with real photos and phone numbers
 
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...
 
Deira Call girl 0506129535 Independent Call girl in Deira
Deira Call girl 0506129535  Independent Call girl in DeiraDeira Call girl 0506129535  Independent Call girl in Deira
Deira Call girl 0506129535 Independent Call girl in Deira
 
Codes and conventions of film magazines.pptx
Codes and conventions of film magazines.pptxCodes and conventions of film magazines.pptx
Codes and conventions of film magazines.pptx
 
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdfTop IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
 
Dubai Call Girls 0556255850 Call girls in Dubai
Dubai Call Girls 0556255850 Call girls in DubaiDubai Call Girls 0556255850 Call girls in Dubai
Dubai Call Girls 0556255850 Call girls in Dubai
 
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
 
Jann Mardenborough's Better Half in Racing and Life
Jann Mardenborough's Better Half in Racing and LifeJann Mardenborough's Better Half in Racing and Life
Jann Mardenborough's Better Half in Racing and Life
 
Deira call girls 0507330913 Call girls in Deira
Deira call girls 0507330913  Call girls in DeiraDeira call girls 0507330913  Call girls in Deira
Deira call girls 0507330913 Call girls in Deira
 
Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Gorakhpur Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
 
Bhubaneswar🌹Call Girls Kalpana Mesuem ❤Komal 9777949614 💟 Full Trusted CALL ...
Bhubaneswar🌹Call Girls Kalpana Mesuem  ❤Komal 9777949614 💟 Full Trusted CALL ...Bhubaneswar🌹Call Girls Kalpana Mesuem  ❤Komal 9777949614 💟 Full Trusted CALL ...
Bhubaneswar🌹Call Girls Kalpana Mesuem ❤Komal 9777949614 💟 Full Trusted CALL ...
 
Prayagraj College Girls Escorts 8250092165 Short 1500 Night 6000 Best call g...
Prayagraj College Girls Escorts  8250092165 Short 1500 Night 6000 Best call g...Prayagraj College Girls Escorts  8250092165 Short 1500 Night 6000 Best call g...
Prayagraj College Girls Escorts 8250092165 Short 1500 Night 6000 Best call g...
 
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448
Call Girls Bijapur - 9332606886 Rs 3000 Free Pickup & Drop Services 24x448
 
Deira Call girls Service 0507330913 Call girls in Deira
Deira Call girls Service 0507330913  Call girls in DeiraDeira Call girls Service 0507330913  Call girls in Deira
Deira Call girls Service 0507330913 Call girls in Deira
 

Lecture# 7 midi file format

  • 1. Multimedia Applications (CS403) Multimedia Data Representations (Digital Audio) Lecture # 7 Razia Nisar Noorani Lecturer Aligarh Institute of Technology
  • 2. (Musical Instrument Digital Interface) 2 03/17/12
  • 3. MIDI  Midi provides a very low bandwidth alternative on the Web: – transmit musical and – certain sound effects data 3 03/17/12
  • 4. MIDI on the Web Very 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. 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. A PC-Based MIDI System 6 03/17/12
  • 7. Components of a MIDI System  Synthesizer: – It is a sound generator (various pitch, loudness, tone ). – A good (musician's) synthesizer often has a microprocessor, keyboard, control panels, memory, etc. 7 03/17/12
  • 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. 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. 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. 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. 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. 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. Classification of MIDI messages: 14 03/17/12
  • 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. 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. 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. 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. 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. 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. Digital Audio, Synthesis, Midi and Compression -- 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. Questions ? 22 03/17/12
  • 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