Вы находитесь на странице: 1из 26

1

U N I N
S S G T
I T I E
C R T R
A U A F
L M L A
E C
N E
T
2

¿QUÉ NO ES MIDI?
3

¿QUÉ ES MIDI?

 LENGUAJE QUE COMUNICA ENTRE DISPOSITIVOS MIDI


4

¿QUÉ ES MIDI?

 LENGUAJE QUE COMUNICA ENTRE DISPOSITIVOS MIDI


5

PROTOCOLO MIDI

 EVENT-BASED PROTOCOLE
 El dispositivo receptor “recuerda el último estado”.
6

PROTOCOLO MIDI
Omni on/off
Mensajes MIDI
Mode Poly/Mono

Channel Local

Note on/off

Voice Control change

Pitch bend y otros.

System

Real Time

System Exclusive

System Common
7

PROTOCOLO MIDI

 Bit = Binary Digit


8

PROTOCOLO MIDI

 Bit = Binary Digit

 ¿1 Byte = 8 bits?
9

PROTOCOLO MIDI

 Bit = Binary Digit

 ¿1 Byte = 8 bits?

 En MIDI: 1 Byte = 10 bits


10

PROTOCOLO MIDI
 MIDI Byte
Most Significant Bit Least Significant Bit
(MSB) (LSB)

1 0

Stop Bit Start Bit

 Sistema hexadecimal: 16 dígitos del 0 al 9 y de A a F.


 9dec = 1001bin = 9hex
 15dec = 1111bin = Fhex

 1001 1111 = 9Fhex


11

PROTOCOLO MIDI

Formato de mensaje MIDI:

 Status

 Status + Data0

 Status + Data0 + Data1


12

MENSAJES DE CANAL
 Byte de estado (Status Byte)
mmmm c c c c
 Los primeros 4 bits definen el tipo de mensaje.
 Los últimos 4 bits definen el canal.

 Byte de datos (Data Byte)


0 d d d d d d d
 MSB=0 indica byte de datos.
 El resto son bits de datos.
13

MENSAJES DE CANAL DE VOZ


 Note On (9n Hex):
 Primer byte: Status byte

Bin. 1 0 0 1 c c c c
Hex. 9 n
 1001 o 9 : “note on”
 cccc o n: canal del mensaje, cada “c” es 0 o 1, n pude ir entre
0 y F en sistema hexadecimal.
14

MENSAJES DE CANAL DE VOZ


 Note On (9n Hex):
 Segundo byte: Data byte, nota (Pitch)

Bin. 0 d d d d d d d

 0 : indica byte de datos


 ddddddd : representación binaria para el pitch (0 - 127)
 Normalmente Do central = 60
15

MENSAJES DE CANAL DE VOZ


 Note On (9n Hex):
 Tercer byte: Data byte, Dinámica (Velocity)

Bin. 0 d d d d d d d

 0 : indica byte de datos


 ddddddd : representación binaria para la dinámica o velocity
(0 – 127, 0 = note off)
16

MENSAJES DE CANAL DE VOZ


 Note Off (8n Hex):
Status Data 0 Data 1
1000cccc (8n Hex) Velocidad de liberación (0-127)
Número de nota (0-127)
n = 0-F (ch. 1-16) 127 = libera la nota inmediatamente

 Control change (Bn Hex): Rueda de MOD, Pots, deslizador de


volumen, botones, pedal, etc
Status Data 0 Data 1
1011cccc (Bn Hex)
Controlador (0-127) Valor (0-127)
n = 0-F (ch. 1-16)

 Pitch bend (En Hex):


Status Data 0 Data 1
1110cccc (En Hex)
Bend LSB (00-7F) Bend MSB (00-7F)
n = 0-F (ch. 1-16)
Valor: (0-16383)-8192 = -8192 a 8191
Posición central: 4000 hex
17

MENSAJES DE CANAL DE MODO


Status Byte Data Byte 0 Data Byte 1 (& 2) Descripción

00000000 (0) = off


1011nnnn 01111010 (122) Local Control
01111111 (127) = on

1011nnnn 01111011 (123) 00000000 (0) All Notes OFF

1011nnnn 01111100 (124) 00000000 (0) Omni Mode OFF

1011nnnn 01111101 (125) 00000000 (0) Omni Mode ON

0mmmmmmm Mono Mode


1011nnnn 01111110 (126)
(m=number of channels) ON/Poly OFF

Poly Mode
1011nnnn 01111111 (127) 00000000 (0)
ON/Mono OFF
18

MENSAJES DE SISTEMA
 Se envían a todos los dispositivos en el sistema y
afecta todos los canales.

 Status byte:
Bin. 1 1 1 1 t t t t
Hex. F n

 1111 o F : cada mensaje del sistema comienza con este


nibble.
 tttt o n: tipo del mensaje, cada “t” es 0 o 1, n pude ir entre 0
y F en sistema hexadecimal.
19

MENSAJES DE SISTEMA
 Real-time: Timing clock -> Envía 24 ‘clocks’ por cuarto de nota.
Start/Stop. Active sensing -> envía un status byte cada 300 ms.
Reset. No utiliza data bytes.

 System common: generalmente controlan instrumentos como


secuenciadores o drum machines (físicos o virtuales) que
pueden tener secuencias pregrabadas de MIDI.

 System exclusive: funciones exclusivas que dependen del


fabricante, ej. Back-up
20

MENSAJES DE SISTEMA
Status Byte Data Byte 1 Data Byte 2 Description

system commom
Song Position Pointer
11110010 0lllllll 0hhhhhhh
(l=least significant bit, h=most significant bit)
11110011 0sssssss Song Select (s=song number)
11110110 none Tune Request
11110111 none EOX (end of system exclusive mssage)
system real time
11111000 none Timing Clock
11111010 none Start (song)
11111011 none Stop
11111110 none Active Sensing
11111111 none System Reset
21

CONEXIÓN
DIN de 5 pines

USB Type B Male

USB Type A Male


22

ARCHIVOS MIDI

 Archivos estándar midi, Extensión .mid

 Se reproduce en reproductores midi ya sea software o


hardware.

 Creación y edición de archivos.

 Qué tan buena es la interpretación, depende de cómo fue


creado, de la precisión de los dispositivos, de instrumentos
virtuales, etc.
23

SÍNTESIS Y SAMPLEO
24

CONTROLADOR MIDI

 Cualquier hardware o software cuya función principal


o secundaria es enviar valores de “MIDI performance”
a otro dispositivo o software.
25

CONTROLADORES
 Instrumento
 m-audio keyboards
 Aerophone AE 10
 Jamstik
 MIDI Guitar 2

 Superficies de control
 Akai
 Sensel Morph

 Virtuales
 AC 7 core
 V control
26

Вам также может понравиться