Map a midi keyboard controller to play my own sound files

Nichola Scrutton's icon

Hello lovely folk.

I want to be able to play my own sound files through a keyboard controller - is this a complicated mapping task? Any pointers or examples I could learn from please?

Many thanks in advance.

Nic

brendan mccloskey's icon

Hi Nichola
Not complicated at all: look at the help files for the following objects and you'll be on your way: midiiin, midiparse, (or notein), select, sfplay, ezdac. Any problems and I'll put together a simple example patch.

Brendan

brendan mccloskey's icon
Max Patch
Copy patch and select New From Clipboard in Max.

. . . this is simple and inelegant, but works:

Copy file to Clipboard, then in Max go File/New From Clipboard