WiiDrum is an virtual drum. It uses MIDI messages to control the drums sounds, but it’s design to be used with the Wii Drum Controller from Guitar Hero 5, because of the lack of pads compared to an real electric drum set. For example, the opened and closed Hi-Hat case!
This it’s only my fist test, and the project will evolve eventually.
The delay isn’t an issue and the feel is very good, since the Wii Drum Controller is a toy!
Download it here: http://www.ruicaldas.com/downloads/WiiDrumsV2.3.zip
How did this project use Max?
Max reads the MIDI input at channel 10 and uses the Note On and Velocity information to trigger the sounds.
The sound player for each drum and pedal pads has 8 sfplay~ objects that plays sequentially, to avoid interruptions. In the Hi-Hat cymbal pad, I've used 8 + 8 + 2 sfplay~ objects, to work with closed, opened and closing sounds. The Raid/Crash cymbal pad, uses only 8 + 8 sfplay~ objects!
All these players are linked to an master sflist~object.
The velocity information is used to "choose" the audio file played, once there are more than one for each pad, with different intensities... this is better than level control!
Two sfrecord~ are used to record, on the stereo recorder and on the track recorder.