Presentation is loading. Please wait.

Presentation is loading. Please wait.

Music and Audio Computing I 216-306A Prof. Marcelo M. Wanderley Week 8.

Similar presentations


Presentation on theme: "Music and Audio Computing I 216-306A Prof. Marcelo M. Wanderley Week 8."— Presentation transcript:

1 Music and Audio Computing I 216-306A Prof. Marcelo M. Wanderley mwanderley@acm.org Week 8

2 Oct 25 01 - week 8 306A - Music and Audio Computing2 Week 8 This week's topics: More debugging with capture More MIDI in MAX: Parsing and formatting MIDI data Using SysEx messages, Extra precision pitch bend data Port definition MAX as a sequencer - part 1 Control of external objects (cdplayer) and QuickTime video/audio Timeline - the MAX "scheduler"

3 Oct 25 01 - week 8 306A - Music and Audio Computing3 More debugging… Object: capture receives any type of message Limited buffer to 512 decimal numbers Options: hexadecimal (x), ASCII (a)… Displays values in a text window (double click) that can be copied to a table object

4 Oct 25 01 - week 8 306A - Music and Audio Computing4 More debugging… Hands on Object: capture Open patches week8-capture and week8-re-assign&capture Try out the different possibilities using capture - note ons/off, bend, integers… Copy the data in capture and paste it to the table object.

5 Oct 25 01 - week 8 306A - Music and Audio Computing5 MIDI parsing and formatting Objects: midiparse and midiformat midiparse sorts raw MIDI data and sends it out its outlets midiformat prepares data into MIDI messages with appropriate status bytes! (note on/off: pitch and velocity as lists!)

6 Oct 25 01 - week 8 306A - Music and Audio Computing6 SysEx in MAX SysEx (System Exclusive) MIDI messages are specific to each manufacturer. Start with a specific byte (240) indicating it is a SysEx message, followed by a byte indicating who the manufacturer is, X bytes indicating type of message and data (depending on each manufacturer), and always ends with a specific byte (247) Objects: sysexin, sxformat (no sysexout! One must use midiout)

7 Oct 25 01 - week 8 306A - Music and Audio Computing7 Extra precision pitch bend Normal pitch bend messages allow 128 values Extra precision pitch bend allows 16,384! Depends on the synthesizer (not all accept extra precision pitch bend massages) Objects: xbendin, xbendin2, xbendout, xbendout2 (either output or receive one word or two bytes)

8 Oct 25 01 - week 8 306A - Music and Audio Computing8 Ports in OMS Devices connected to the computer (or to the MIDI interface connected to the computer) can be assigned to different virtual ports in OMS. Each port has 16 MIDI channels. Ports are referred to in OMS as letters (a to z) or as an offset of multiples of 16 (e.g. 33 means port 3, channel 1)

9 Oct 25 01 - week 8 306A - Music and Audio Computing9 Ports in OMS Assigning MIDI inputs and outputs: Double click on the objects Use omsinfo for collecting information on all MIDI devices. This information may be automatically stored in a menu object. Check patch week8-MidiChoice

10 Oct 25 01 - week 8 306A - Music and Audio Computing10 MAX as a sequencer Objects that play back MIDI performances: seq, mtr (+ follow and detonate) seq is a basic one track sequencer that records and plays back MIDI files mtr is a multi-track sequencer not limited to MIDI messages but able to record and playback any type of MAX messages. E.g. automated mixing.

11 Oct 25 01 - week 8 306A - Music and Audio Computing11 Control of multimedia applications MAX is able to control the cd audio with the Apple CD-ROM drive of the Macintosh! play, ff, rewind, pause… Video playing with the movie object (plays QuickTime videos and aiff audio files) in a separate window or inside a patch.

12 Oct 25 01 - week 8 306A - Music and Audio Computing12 Scheduling processes with Timeline timeline object allows scheduling processes in multiple tracks. Three different patches: The original patch containing one or more timeline objects The timeline window, where actions are scheduled The action patch, where actions are described

13 Oct 25 01 - week 8 306A - Music and Audio Computing13 References Composing Interactive Music: Techniques and Ideas using MAX - Todd Winkler, MIT Press 1998. Todd_Winkler@Brown.edu MAX manuals (in pdf, available from the cycling74 home at www.cycling74.com)www.cycling74.com Reference, Tutorials and Topics, Getting Started, What's new in MAX 4


Download ppt "Music and Audio Computing I 216-306A Prof. Marcelo M. Wanderley Week 8."

Similar presentations


Ads by Google