CSC 320 – Music Instrument Digital Interface (MIDI) and Digital Audio, Spring 2017 April 2017 Dr. Dale Parson.

Slides:



Advertisements
Similar presentations
Tamara Berg Advanced Multimedia
Advertisements

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.
Chapter 7 Principles of Analog Synthesis and Voltage Control Contents Understanding Musical Sound Electronic Sound Generation Voltage Control Fundamentals.
Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Musical Instrument Digital Interface. MIDI Musical Instrument Digital Interface Enables electronic musical instruments, such as keyboard controllers,
Sound: Audio & Music B.Sc. (Hons) Multimedia ComputingMedia Technologies.
Spring 2002EECS150 - Lec13-proj Page 1 EECS150 - Digital Design Lecture 13 - Final Project Description March 7, 2002 John Wawrzynek.
Chapter 2 Fundamentals of Data and Signals
EET 450 Chapter 18 – Audio. Analog Audio Sound is analog Consists of air pressure that has a variety of characteristics  Frequencies  Amplitude (loudness)
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Chapter 9 Audio.
Chapter 14 Recording and Editing Sound. Getting Started FAQs: − How does audio capability enhance my PC? − How does your PC record, store, and play digital.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
Seminar on Sound Card Presented by:- Guided by:-
MIDI, Operating Systems, and Software Inter-application.
MIDI One choice for adding sounds to multimedia applications is the use of digital audio soundfiles This can become very memory intensive, however, for.
M I D I Musical Instrument Digital Interface The MIDI protocol — a “language” that lets synthesizers, computers and other devices talk to each other.
Radio production worktext.  Analog to Digital  Analog signal – continuously variable electrical signal whose shape is determined by the shape of the.
Signaling and Switching Chapter 6. Objectives In this chapter, you will learn to: Define modulation and explain its four basic versions Explain the different.
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
CSCI-235 Micro-Computers in Science Hardware Part II.
Audio. Why Audio Essential tool for – Interface – Narrative – Setting & Mood.
Media Representations - Audio
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music.
Creating Web Documents alt attribute Good and bad uses of ‘multimedia’ Sound files Homework: Discuss with me AND post announcement of Project II. Forms.
Multimedia Technology and Applications Chapter 2. Digital Audio
Music Tech.  What is the definition of sound?  What is a wave?
Chapter 15 Recording and Editing Sound. 2Practical PC 5 th Edition Chapter 15 Getting Started In this Chapter, you will learn: − How sound capability.
Sound element Week - 11.
Unit 1 – setup and operate a digital audio workstation.
Physics 1251 The Science and Technology of Musical Sound Unit 4 Session 41 MWF MIDI.
Audio / Sound INTRODUCTION TO MULTIMEDIA SYSTEMS Lect. No 3: AUDIO TECHNOLOGY.
MULTIMEDIA INPUT / OUTPUT TECHNOLOGIES INTRODUCTION 6/1/ A.Aruna, Assistant Professor, Faculty of Information Technology.
MIDI Musical Instrument Digital Interface. MIDI A data communications protocol that describes a means for music systems and related equipment to exchange.
Engineering and Physics University of Central Oklahoma Dr. Mohamed Bingabr Chapter 1 Introduction ENGR 4323/5323 Digital and Analog Communication.
By Cheyenne Morgan Unit 1- Set up and operate a DAW.
Theme: Multimedia Sound ProductionUFCFY Multimedia Sound Production.
CSCI-100 Introduction to Computing Hardware Part II.
Interactive Multimedia Sound Mikael Fernström. Data sources Microphones and transducers –Sample acoustic reality Synthesis –Simulate reality (and beyond.
Encoding How is information represented?. Way of looking at techniques Data Medium Digital Analog Digital Analog NRZ Manchester Differential Manchester.
Final Year Project Eoin Culhane. MIDI Guitar Guitar with 6 outputs 1 output for each string Each individual string output will be converted to MIDI.
Pulse Code Modulation (PCM) Analog voice data must be translated into a series of binary digits before they can be transmitted. With Pulse Code Modulation.
Types of Synthesizers and How They Work
MIDI Musical Instrument Digital Interface Musical sound can be generated, unlike other types of sounds. The Musical Instrument Digital Interface standard.
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.
Sound and music.
Chapter 15 Recording and Editing Sound
Image and Sound Representation
Multimedia: Digitised Sound Data
Digital Communications
PCM (Pulse Code Modulation)
Pulse Code Modulation (PCM)
Analogue & Digital.
Multimedia: making it Work
ECE Computer Engineering Design Project
The MIDI Standard A.

Chapter 10. Digital Signals
Modulation Modulation => Converts from digital to analog signal.
Data Acquisition (DAQ)
Pulse Code Modulation (PCM)
Analog to Digital Encoding
Digital Audio Application of Digital Audio - Selected Examples
Chapter 9 Audio.
Presentation transcript:

CSC 320 – Music Instrument Digital Interface (MIDI) and Digital Audio, Spring 2017 April 2017 Dr. Dale Parson

Musical Instrument Digital Interface MIDI stores, transmits, and receives information to control electronic musical instruments, including hardware and software synthesizers. MIDI messages are packets of data, sent or received by a synthesizer or MIDI controller device. MIDI is not Digital Audio. Digital Audio is a sequence of binary numbers representing measurements of sound pressure levels (SPLs). MIDI numbers do no represent sound. They represent control of instruments.

MIDI Short Messages See javax.sound.midi.ShortMessage. http://docs.oracle.com/javase/7/docs/api/index.html See the MIDI specification. http://midi.teragonaudio.com/ See NOTE_ON to start a note, NOTE_OFF to stop it, PROGRAM_CHANGE to change the instrument voice, CONTROL_CHANGE for audio effects. There are many distinct messages. http://midi.teragonaudio.com/tech/midispec.htm

Chords & Instrument Voices Polyphonic synthesizers can play many notes at a time. Monophonic synths play 1 at a time. A MIDI channel 0..15 (1..16 on most user interfaces) represents one instrument. Thus a given synth supports addressing up to 16 simultaneous instruments, each of which may be polyphonic.

Program Change & Control Change A Program Change message enables a channel to play a new instrument, 0..127. Bank switching may support > 128 instruments. A Control Change applies an effect to a channel in the amount 0..127 or 0..16383. Not all synthesizers support all combinations of NOTE_ON ranges, Programs & Controllers.

Hardware & Soft Synths A synthesizer may be a hardware device connected via a MIDI cable, or software connected to a controller via a soft bus. There are 3+ basic approaches to synthesizing sound: Harmonic synthesis combines overtones by adding or subtracting component sine waves. It models sounds. Sampling uses recorded instrument sounds and pitch shifting as the basis for sound reproduction. Physical modeling uses software that models the acoustic properties of physical instruments. There are other, less heavily used approaches.

ConcentricCirclesIntervals We will go over my ConcentricCirclesIntervals sketch, posted on the course page, that takes advantage of some of these additional MIDI features.

Pulse Code Modulation PCM is a digital representation of Sound Pressure Level (SPL). It is the primary digital representation of audio signals (sound). It is not instrument-control data like MIDI. PCM converts a series of measurements of analog SPLs to a sequence of binary numbers, where the magnitude of a number represents the SPL strength during a brief interval of time.

http://www. electronicshub http://www.electronicshub.org/modulation-and-different-types-of-modulation/

There are two categories of resolution in PCM. Samples per second gives the rate at which PCM takes measurements of sounds. The lowest standard rate is 44,100 samples per second. Bits per samples gives the resolution of each sample in terms of how many bits store each measurement. 16 bits per sample is a common minimal amount, giving numbers in the range 0..65536 or -32768..32767. Some old systems use 8-bit samples (0..255). 24-bit samples are common (0..16,777,215), Sample rates go to 192,000 samples per second.

SoundToWavePixels We will go over my SoundToWavePixels sketch, posted on the course page, that converts PCM-encoded audio signal data into pixel waveform displays. This requires using polarized_shuffle.mp3. Will will also go over PShape3DGroups, previously posted on the course page, that shows using a PImage as a PShape texture. This requires using Window250x250.png.