This is where the problems started to unfold. Once all buttons were found I had to come up with a way of connecting them so that they would activate when combined with the guitars strummer and linked the combinations to individual 'sfplay' objects that would load and play a sound clip when a certain button combo was selected. To do this I had to create a 'spray' object and enter a number of outputs to find all the controllers buttons by connecting them to number objects thorugh trial and error. Once this step was complete and the guitar controller was found it was a case of finding out which button was which.
I needed to use the 'HI' object so that I could choose from the available input devices connected to the computer. The first was to get the controller to be recognised by Max/Msp. I needed to use a selection of functions to make the sampler idea work. All in all I feel this is a solid simple sampler. If I had more time and more knowledge of Max/Msp I would like to have created a more indepth sampler with quicker response and the option to add VST effects to overlay samples, in particular using a sweeping effect like wah wah or phaser using the controllers whammy bar. I ended up loading various segments of 'Purple Haze' by Jimi Hendrix to different combinations, but the trouble is to play it back requires speed and button precision. The only complaints I have about it is the speed in which some of the files load, as well as the accuracy they play back. The program itself works very well in picking up different combinations of buttons and allowing a variety of different sounds to be produced.
The finished project wasn't as exactly as I planned from the beginning and in fact was simplified some what due to software demo(s) expiring and complications etc.
Overall for a first attempt at creating an audio sampler, and using Max/Msp for the first time I am fairly pleased with the outcome I got.