Forums > MaxMSP

Playing sound from keyboard

June 18, 2012 | 7:44 am

hi friends…I am new here..could you ppl help me out to design a patch which can play sound as key board.
like i would like to connect key board to max interface and play a sound.then the key board which is in max should play a same note as i press in real key board….thanks pixelde.



jbl
June 18, 2012 | 9:35 am

Hi,

Are we talking about the kind of keyboard that I am using to type these words here or the kind of keyboard that sends midi notes?

To trigger stuff in your patcher from your computer keyboard, you need to look at the key object.

To use a midi keyboard, you need to look at the notein and midiin objects.

These objects will help you trigger your sounds but you need something to make sound with first. For example, to playback a sample you can look at groove~ and play~ objects.


June 18, 2012 | 9:27 pm

In h.elpers package (download: http://lowertone.net/software/helpers/) there is object h.midi_Key which converts computer keyboard into midi input.

Check it out!



Viewing 4 posts - 1 through 4 (of 4 total)