View Single Post
Old 05-14-2011, 05:05 AM   #22
rhancox
Human being with feelings
 
rhancox's Avatar
 
Join Date: Mar 2011
Location: San Antonio, TX
Posts: 13
Default

I figured it out, after a lot of studying and research.

First off, I've selected the "rockband_drums.txt" script. Next, I've selected the "PSP (for bfd)" script mode.

In the script, the code section I modified used to look like this:

(buttons & pads_hit) && !(buttons & select_button) ? (
(buttons & pad1) && !(lastbuttons & pad1) ? (
event($x90,note2,vel2);
event($x80,note2,0);
);
(buttons & pad2) && !(lastbuttons & pad2) ? (
event($x90,note3,vel3);
event($x80,note3,0);
);
(buttons & pad3) && !(lastbuttons & pad3) ? (
event($x90,note4,vel4);
event($x80,note4,0);
);
(buttons & pad4) && !(lastbuttons & pad4) ? (
event($x90,note5,vel5);
event($x80,note5,0);
);
);

What I thought was odd was that the first statement was including the select button as part of what would make the whole statement execute. So I made the code look like this:

//(buttons & pads_hit) && !(buttons & select_button) ? (
(buttons & pad1) && !(lastbuttons & pad1) ? (
event($x90,note2,vel2);
event($x80,note2,0);
);
(buttons & pad2) && !(lastbuttons & pad2) ? (
event($x90,note3,vel3);
event($x80,note3,0);
);
(buttons & pad3) && !(lastbuttons & pad3) ? (
event($x90,note4,vel4);
event($x80,note4,0);
);
(buttons & pad4) && !(lastbuttons & pad4) ? (
event($x90,note5,vel5);
event($x80,note5,0);
);
//);

Notice the first and last line are commented out. Now each of the drum pads work. And with current assignments in the script, I get the snare on the left-most pad, the high-hat on the next pad, a tom on the next pad and a cymbal on the right-most pad.

It would be easy to change the assignments to use different instruments, but for now, I'm happy. I got it figured out.

I might add, too, that I'm not using anything external to map a pad to a keyboard character, like Joy2Key, and I don't need to make sure the virtual keyboard is visible to get the drum kit to work.

I hope others coming along can benefit from my discovery.
__________________
Recording gear:
Focusrite Saffire 6 USB
MXL 990/991 condenser mics
rhancox is offline   Reply With Quote