Hi everbody!
i´m looking for a good way to create a special sample player.
the player gets his input via java-midi (or any midi controler). the idea is simple, i´ve got 10 samples of music, all about 2 seconds long, and i want them to be played in a loop until there is a note off command. so for example i press down the c on my midi-keyboard (note 60) and the sample 5 starts playing over and over until i release the key. i´ve got the ctlin to work to listen so a specific controler, eg [ctlin 50 6] gives me the output of controller 50 von chanel 6, that works fine, but i cant get [notein 0 60] to just give me the output for the velocity (to control the volume of an infinit loop of sample 5). has anybody got a quick and dirty idea how i can create a simple pd patch to make an easy keyboard sampler?
thanks in advance!
Jan