Presentation is loading. Please wait.

Presentation is loading. Please wait.

ISE 582 Making Music (with MIDI) November 6, 2003 Arpi Mardirossian.

Similar presentations


Presentation on theme: "ISE 582 Making Music (with MIDI) November 6, 2003 Arpi Mardirossian."— Presentation transcript:

1 ISE 582 Making Music (with MIDI) November 6, 2003 Arpi Mardirossian

2 2:10 Musical Instrument Digital Interface  Introduced in 1983  MIDI data is a very efficient method of representing musical performance information.  The MIDI protocol is an entire music description language in binary form.  MIDI files tend to be significantly smaller than audio files.  Each word describing an action of musical performance is assigned a specific binary code.

3 3:10 Musical Instrument Digital Interface  MIDI stores:  MIDI Messages (status bytes)  Timestamp for each message  Stores info about:  Tempo  Time and key signatures

4 4:10 Status ByteData BytesMessage 0x8nNOTE,VELNote Off 0x9nNOTE,VELNote On 0xAnNOTE,PRESUREKey Aftertouch 0xBnCTRL,VALUEControl Change … Musical Instrument Digital Interface Channel Voice Messages:

5 5:10 Using Java Packages  A package is a group of related Java classes.  Classes in the same package can access each other's protected members.  javax.sound.midi  Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.

6 6:10 Classes/Interaces in Package  Open Sequencer  Instantiate Sequence  Sequence contains the data  Create a track in the sequence  Each track represents one musical part  Create ‘messages’ to place in the track  Note On  Note Off  Instrument http://java.sun.com/j2se/1.4.1/docs/api/

7 7:10 Visualization ticks


Download ppt "ISE 582 Making Music (with MIDI) November 6, 2003 Arpi Mardirossian."

Similar presentations


Ads by Google