|
Post by mcdtracy on Jun 28, 2019 3:20:49 GMT
Would anyone be interested in scripting this use case?
Notes within defined ranges would be mapped to specific drum set note with these DEFAULTS: C3-C5 notes to a drum set ride cymbal note. (General MIDI Drum map NOTE = 51) C0-C2 notes mapped to a gentle kick drum note. (General MIDI Drum map NOTE = 35) C#2-B2 notes mapped to a brush snare drum note (No General MIDI standard but a "Maracas" is close NOTE = 70)
Ranges should not be configured as non-overlapping but proximity to the edges could effect velocity attenuation. Allowing overlapping ranges will likely mean adding more RANGES will be easy to figure out for improvements.
Improvements to follow might add parameters for randomness to create a more sparse drum-set track. If it works out there are a lot of improvements that others could add to the basic script.
This would make a drummer that follows the jazz piano player without needing to think about sync and clock headaches. Most drum apps now follow the clock and the performer has to match the drums. This makes the drums match the performer with respect to timing.
A lot of General MIDI synths have a Preset that simply adds a Ride Cymbal layer to an acoustic bass so playing a walking bass-line helps simulate a jazz combo with a piano keyboard split.
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Jun 28, 2019 7:10:31 GMT
Hi mcdtracy, Here's a 3 line script that does your default mapping. Drum velocity set by note velocity and drum notes on channel 10. This one adds the drum notes rather than remapping. If you want a pure remap, remove the +C flags. NX 3C-54 = X9 33 +C NX 18-30 = X9 23 +C NX 31-3B = X9 46 +CMaybe that is all you need? Regards, Nic.
|
|
|
Post by mcdtracy on Jun 28, 2019 9:44:14 GMT
Yes. I feel quite foolish. I was mentally capturing note, and then using logic to place them in a range category and firing off the proper drum notes. StreamByter saves a lot of effort.
I'll play with this and see if it comes close to sounding like a good drummer playing along.
|
|
|
Post by mcdtracy on Jun 28, 2019 18:46:04 GMT
This is really promising in action.
I'd like to allow the user to set the upper-lower note ranges using GUI controls and set the specific notes that are generated. It would also ne a nice touch to allow the user to set the MIDI output channel. So 10 NOTE/Channel variables tied to GUI controls with labels.
I'll leave it to the interested coder to offer implementation comments or provide sample code for these 10 Vairiable GUI enhancements around the basic MIDI conversions I'd like to have:
NX 3C-54 = X9 33 +C NX 18-30 = X9 23 +C NX 31-3B = X9 46 +C
.
|
|