Max Examples – Index

[Each Max patch image is linked to a file of JSON code containing the actual Max patch.  Right-click on an image to download the .maxpat file directly to disk, which you can then open in Max.]

A
– ADSR
— ADSR Amplitude Envelope
— ADSR Filter Envelope

– Algorithmic Composition
— Algorithmic Composition with Math Functions

– Amplitude
— ADSR Amplitude Envelope
— Amplitude Modulation and Frequency Modulation
— Adjusting Audio Amplitude
— Audio Amplitude Control
— Linear Amplitude Panning
— Linear Mapping of MIDI to Amplitude

– Automata
— Oscillators Controlled by Cellular Automata

B
– BPM
Two Ways to Get BPM Timing

– Buffer~
— Consecutive Recordings Concatenated in the Same buffer~
— Basic RAM Recording Into buffer~
— Basic Stereo Recording into buffer~

C

D
– Delay
— Delay with Feedback
— Delay with Tempo-Relative Timing
— Delaying MIDI notes
— Ducking When Changing Delay Time
— Rhythmic Delays In Time with a Musical Tempo
— Simple Delay of Audio Signal

– Doppler Shift
— Calculating Doppler Shift for Moving Virtual Sound Sources

– Ducking
— Ducking When Changing Delay Time

E
– Envelope
— ADSR Amplitude Envelope
— ADSR Filter Envelope

F
– Fade
— Linear Fade-In/Out of Audio

– Filter
— ADSR Filter Envelope
— Biquad~ Filter
— Comb Filter
— Resonant Bandpass Filter
— Resonant Lowpass Filter
— The Simplest Lowpass Filter

– Flanger
— Simple Flanging

G
– Groove~
— Playing a Sample with Groove~

H

I

J

K

L
– Line
Line Segment Control Functions

M
– Mapping
Linear Mapping of Ranges

– MIDI
— Delaying MIDI notes
— Drawing with MIDI Notes
— Generate MIDI Notes
— Linear Mapping of MIDI to Amplitude
— MIDI and Audio via ReWire
MIDI Objects
— Routing MIDI Data Flow
— Routing MIDI to Other Applications

– Mixing
— Mixing Multiple Audio Processes

– Modulation
Amplitude Modulation and Frequency Modulation

– Movie
— Attributes of jit.qt.movie
Movie Attributes
— Play a QuickTime Movie

N
– Noise
— Rhythmic Filtered Noise Bursts

– Note
— Linear Note Movement
— Random Note Choices

– Number Generation
Some Object for Generating Numbers
Controlling the Range of a Set of Numbers

O
– OSC
TouchOSC Data via Wireless UDP

P
– Panning
— Calculating Doppler Shift for Moving Virtual Sound Sources
— Constant Power Panning Using Square Root of Intensity
— Constant Power Panning Using Table Lookup
— Linear Amplitude Panning
— Stereo Balance and Panning

– Phase Cancelltion
— Phase Cancellation

– Phasor~
— Repeatedly Reading a Function with Phasor~
— The Phasor~ Object
— Triggering Events with Each Cycle of a Phasor~
— Using Phasor~ Directly as a Control Signal

– Play
— Getting a Sound Sample from RAM
— Open a Sound File and Play It
— Playing a Sound File
— Playing a Sample from RAM
— Playing a Sample with Groove~
— Preload and Play Sound Cues
— Random Access of a Sound Sample
— Repeatedly Reading a Function with Phasor~
— Sample Playback Driven by a Signal

– Presentation Mode
— Presentation Mode
Using Presentation Mode

Q
– QuickTime
— Play a QuickTime Movie

R
– Recording
— Consecutive Recordings Concatenated in the Same buffer~
— Basic RAM Recording into buffer~
— Basic Stereo Recording into buffer~

– Routing
— MIDI and Audio via ReWire
— Routing Audio Data Flow
Routing MIDI Data Flow
— Routing MIDI to Other Applications
— Using Gate to Route Messages
— Using Matrix~ for Audio Routing and Mixing

S
– Score Following
Score Following with the Follow Object

– Scrubbing
— DJ-Like Sample Scrubbing

– Sequencer
— A 16-Stage Note Sequencer

– Slideshow
Stop-Action Slideshow (Backward)

– Stereo
— Calculating Doppler Shift for Moving Virtual Sound Sources
— Stereo Balance and Panning

– Switching
— A-B Video Switcher
— Simplest Possible A-B Video Switcher
— Smooth Audio Switching to Bypass an Audio Effect

– Synthesis
— Simple Wavetable Synthesis

T
– Tempo
— Delay with Tempo-Relative Timing
— Two Ways to Get BPM Timing
— Tempo-Relative Timing with the Transport Object

– Triggering
— Trigger Repeated Actions Metronomically
— Trigger sound cues with the mouse or from the computer keyboard
Trigger sound cues from the computer keyboard
— Triggering Events with Each Cycle of a Phasor~

U
– UDP
— TouchOSC Data via Wireless UDP

V
– Video Switcher
Simplest Possible A-B Video Switcher
A-B Video Switcher

W
– Windowing
— Windowing an Audio Signal

X

Y

Z