CMSCDHN1114/CMSCD1011 Introduction to Computer Audio

Slides:



Advertisements
Similar presentations
MUSC1010 – WEEK 4 MIDI. MIDI (Musical Instrument Digital Interface) MIDI is associated with cheap and nasty sounds due to the fact that most computer.
Advertisements

Tamara Berg Advanced Multimedia
Musical Instrument Digital Interface. MIDI Basics First introduced in 1983.
Adobe’s Real Time Messaging Protocol
Microprocessor and Microcontroller
I Power Higher Computing Multimedia technology Audio.
SWE 423: Multimedia Systems Chapter 3: Audio Technology (2)
MIDI. Musical Instrument Digital Interface Specification for physically connecting different devices, and for communicating between them. Designed for.
EE2F2: Music Technology - Revision Two exam questions Music Recording Technology Mixing & multi-track recording Effects MIDI & Sequencers Virtual Studio.
Csc333 Data communication & Networking Credit: 2.
1 CMSHN1114/CMSCD1011 Introduction to Computer Audio Lecture 9: Computer audio applications Dr David England School of Computing and Mathematical Sciences.
1 Digital Audio Storage Formats. 2 Formats  There are many different formats for storing and communicating digital audio:  CD audio  Wav  Aiff  Au.
Musical Instrument Digital Interface. MIDI Musical Instrument Digital Interface Enables electronic musical instruments, such as keyboard controllers,
Spring 2002EECS150 - Lec13-proj Page 1 EECS150 - Digital Design Lecture 13 - Final Project Description March 7, 2002 John Wawrzynek.
Music Processing Roger B. Dannenberg. Overview  Music Representation  MIDI and Synthesizers  Synthesis Techniques  Music Understanding.
Wireless Data Acquisition for SAE Car Project by: J.P. Haberkorn & Jon Trainor Advised by: Mr. Steven Gutschlag.
EE2F2 - Music Technology 5. MIDI. A Musical Interface Early synthesisers were often modular designs Sounds were built up by patching together several.
Input Devices Image Capture Devices, Sound Capture Devices, Remote Controls PREPARED & PRESENTED BY: FAHAD AHMAD KHAN.
5. Multimedia Data. 2 Multimedia Data Representation  Digital Audio  Sampling/Digitisation  Compression (Details of Compression algorithms – following.
The OSI Model A layered framework for the design of network systems that allows communication across all types of computer systems regardless of their.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
Introduction to Information and Computer Science Networks Lecture e This material (Comp4_Unit7e) was developed by Oregon Health and Science University,
MIDI One choice for adding sounds to multimedia applications is the use of digital audio soundfiles This can become very memory intensive, however, for.
COMPONENTS OF THE SYSTEM UNIT
M I D I Musical Instrument Digital Interface The MIDI protocol — a “language” that lets synthesizers, computers and other devices talk to each other.
Making a MIDI Keyboard Bob Wayne Bell, Jr. Nov. 15, 2002 EE281.
Welcome to The Music Jungle By Dean Smith And Cathy Ritter.
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
Midi files Here we look at another way of dealing with sound on a computer the use of Midi files. The the Midi file differs from the “wav” file, because.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 14 Multimedia Networking.
MIDI. A protocol that enables computers, synthesizers, keyboards, and other musical devices to communicate with each other. Instead of storing actual.
Multimedia Technology Digital Sound Krich Sintanakul Multimedia and Hypermedia Department of Computer Education KMITNB.
MIDI and YOU Orchestra in a Box. What is MIDI?  Musical Instrument Digital Interface  MIDI is a protocol - a standard by which two electronic instruments.
COMP Representing Sound in a ComputerSound Course book - pages
THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE CS 1202 Lectur3 part2.
CHAPTER SEVEN SOUND. CHAPTER HIGHLIGHTS Nature of sound – Sine waves, amplitude, frequency Traditional sound reproduction Digital sound – Sampled – Synthesized.
 An ISO is a multi national body dedicated to worldwide agreement on international standards.  An ISO standard that covers all aspects of network communications.
Computer and Information Science Ch1.3 Computer Networking Ch1.3 Computer Networking Chapter 1.
Multimedia Technology and Applications Chapter 2. Digital Audio
Chapter 15 Recording and Editing Sound. 2Practical PC 5 th Edition Chapter 15 Getting Started In this Chapter, you will learn: − How sound capability.
MODULE I NETWORKING CONCEPTS.
Digital Audio IV MIDI Overview. Sending MIDI Information I. Serial Transmission A. Single cable to move data B. Slower than parallel, but is less expensive.
Physics 1251 The Science and Technology of Musical Sound Unit 4 Session 41 MWF MIDI.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Audio / Sound INTRODUCTION TO MULTIMEDIA SYSTEMS Lect. No 3: AUDIO TECHNOLOGY.
MIDI Musical Instrument Digital Interface. MIDI A data communications protocol that describes a means for music systems and related equipment to exchange.
By Cheyenne Morgan Unit 1- Set up and operate a DAW.
Theme: Multimedia Sound ProductionUFCFY Multimedia Sound Production.
Network Protocols and Standards (Part 2). The OSI Model In 1984, the International Organization for Standardization (ISO) defined a standard, or set of.
©2008 R. Gupta, UCSD COSMOS Summer 2008 Peripheral Interfaces Rajesh K. Gupta Computer Science and Engineering University of California, San Diego.
DIGITAL LANGUAGE
Component 4: Introduction to Information and Computer Science Unit 7: Networks & Networking Lecture 5 This material was developed by Oregon Health & Science.
Unit 3 Physical Layer.
Glencoe Introduction to Multimedia Chapter 8 Audio 1 Section 8.1 Audio in Multimedia Audio plays many roles in multimedia. Effective use in multimedia.
MIDI. MIDI, which means: Musical Instrument Digital Interface, is a digital communications protocol. In August of 1983, music manufacturers agreed on.
Sequencing Systems & Techniques MIDI Setup. Learning Outcomes Define 2 or more examples of MIDI CC data and explain their purpose. Setup a computer and.
27656 (v1) Demonstrate and apply introductory knowledge of music technology equipment and techniques MUSIC Level 1Credits 4.
MIDI Musical Instrument Digital Interface Musical sound can be generated, unlike other types of sounds. The Musical Instrument Digital Interface standard.
Understanding Midi Audio Processing Describe the Midi Audio Processing.
Garage Band For MAC. What is it? A digital audio workstation that can record and play back multiple tracks of audio. Is a software application for OS.
XP Practical PC, 3e Chapter 14 1 Recording and Editing Sound.
MIDI Musical Instrument Digital Interface A digital communication protocol allowing devices to send and/or respond to instructions.
By Kyle Tatum.  MIDI (or Musical Instrumental Digital Interface) is an industry-standard protocol, first defined in 1982 by Gordon Hall, that enables.
Chapter 15 Recording and Editing Sound
An introductory seminar by Austin Orth
Creating Simple Music By Keith Lynn
Multimedia: making it Work
The MIDI Standard A.
Digital Audio Application of Digital Audio - Selected Examples
Presentation transcript:

CMSCDHN1114/CMSCD1011 Introduction to Computer Audio Semester 2 2000/2001 CMSCDHN1114/CMSCD1011 Introduction to Computer Audio Lecture 6: The MIDI standard (Part I - Protocols) Dr David England School of Computing and Mathematical Sciences http://java.cms.livjm.ac.uk/homepage/staff/cmsdengl/ Teaching/cmscd1011.htm Email: d.england@livjm.ac.uk Lecture notes 6: Intro to MIDI Part 1

In this session... What is MIDI? The MIDI standard General MIDI channels, events and messages General MIDI Note about Tutorials You must attempt the built-in tutorials for Cakewalk as advised by email (1st March)

What is MIDI? MIDI is an acronym for Musical Instrument Digital Interface It was created in 1983 as a means for the real-time control of music devices MIDI is used to capture the performance aspects of music as opposed the actual digital audio MIDI does not explicitly encode the sound timbre The MIDI standard specifies a set of performance commands that can be sent to MIDI devices which then synthesise the original performance The receiving device decides how to reproduce it

Uses for MIDI The use of MIDI to supplement digital audio is now widespread in multimedia applications and computer games Most games use MIDI for background music The Sony PlayStation™ also uses MIDI for some music This is thanks in part to affordable, good quality wavetable synthesisers in modern soundcards MIDI files are extremely small (compared to raw digital audio) and therefore offer the multimedia developer additional benefits Savings in storage space, network transmission time, etc.

The MIDI interface MIDI devices generally include three connectors IN, OUT and THRU To control one device (the SLAVE) from another (the MASTER) you would connect the OUT from the MASTER to the IN of the SLAVE OUT IN MASTER controller SLAVE

MIDI channels Although there is only one physical OUT connector, MIDI information can be transmitted on any of 16 logical channels The master can usually transmit (TX) on any of the 16 channels while slaves are set to receive (RX) on one or more of these channels A device that can receive and play on more than one channel is known as a multitimbral device In the previous slide, if the keyboard is set to transmit on channel 10 and the drum machine is set to receive on channel 10, the keyboard can be used to control the drum machine

Connecting MIDI devices THRU IN OUT MASTER controller IN THRU IN The THRU port can be used to pass all messages through the device. Any devices later in the chain will then also pick up those messages.

MIDI transmission MIDI is a serial protocol (its messages are sent as a series of individual bits) Information is sent in 10-bit packets (words) made up of: A start bit (whose value is always zero) 8 bits of data (the contents) A stop bit (whose value is always one) One or more words comprise a MIDI message The start and stop bits are only needed for communication purposes and are stripped off by the actual device

MIDI messages At the highest level, MIDI messages are classified as being either: Channel Messages (they apply to a specific channel) System Messages (they apply to the system as a whole and not to a channel) Channel messages can be further split into: Channel Voice Messages (these carry musical performance data) Channel Mode Messages (these affect the way a receiving instrument will respond to the channel voice messages) Every MIDI message is preceded by a status byte to show what type it is

Channel voice messages The channel voice messages are: Note Events (Note On, Note Off) Program Changes (changing the sound used to play a particular piece) Controller Changes (various controllers such as Volume, Pan, Foot controller, Modulation, etc) Pitch Bend (bending notes up or down) Channel and Polyphonic Aftertouch (pressing further down on a key after it has been pressed)

Channel mode messages Channel mode messages are used to tell an instrument how to respond to voice messages These messages are: Turn all sound off Turn all notes off Reset all controllers (sliders, etc) Local control on and off Omni modes: This controls how the device responds to multichannel data

System messages System messages allow you send system specific messages to connected devices These include: System Exclusive data (this allows you to send non-MIDI information to a device) Sequencer commands Song Select, Song Start, Song Stop, Song Continue Active sensing System reset

Note events Every note event (both Note On and Note Off) specifies what note was played and what velocity it was played at Note pitch values are stored in 7 bits, therefore there are 27 = 128 possible notes C0 is note 0 (8.17 Hz) C5 (known as middle C) is note 60 (261.63 Hz) The velocity is how hard you hit the key and again is a 7-bit value (i.e. it has the range 0 - 127) Every note on should have a corresponding note off event

Status and data bytes The stream of MIDI data is divided into two types of bytes: status bytes and data bytes A status byte has a 1 in the leftmost bit A data byte has a 0 in the leftmost bit The status byte can be split into two nibbles A nibble is four bits Status byte Note On Event Channel 1 (0 - 15 = 1 - 16) Key value 64 Velocity value 80 Data byte 10010000 01000000 01010000

Running status Having to send 3 bytes for every note event can consume a lot of the MIDI bandwidth in very dense musical passages (more on this next week) Running status is a technique that can be used to reduce this overhead Under running status, if the next event is the same type as the previous event, it will not send the status byte again This causes problems since every note on has a note off event which has a different status byte This can be overcome by sending a note on with a velocity of zero (silence) instead of a note off thereby ensuring that the running status value is maintained

General MIDI The General MIDI Specification (which was created well after the birth of MIDI) specifies the relationship between program numbers and actual sound timbres A program change message can be sent on any channel to tell the MIDI device which instrument to use It specifies: Sound timbre groups, names and number Channel allocations Channels 1 - 9 and 11 - 16 are for chromatic sounds Channel 10 is for drum and percussion sounds

Summary MIDI is used to capture musical performances MIDI devices are responsible for generating the actual sound based on the MIDI instructions This can lead to wide variations in the actual performance not unlike real musicians interpreting a musical score The MIDI protocol specifies what messages are to be understood by MIDI devices and what form these messages should take The handouts for this lecture contain much more information which you should read for next time!

Next lecture... We will continue looking at the MIDI standard by discussing the various types of MIDI hardware that is available and seeing how to set up MIDI equipment and instruments