Playing sound from keyboard

Jun 18, 2012 at 7:44am

Playing sound from keyboard

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.

#46122
Jun 18, 2012 at 9:35am

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.

#166145
Jun 18, 2012 at 9:27pm

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!

#166146
Jun 19, 2012 at 2:38am
#166147

You must be logged in to reply to this topic.