Example for MIDI custom instrument
All,
Can anyone give me an example of creating a custom instrument in instruments.xml to use Roland specific MIDI?
I know I need to program an MSB of 87 and LSB of 64, with a program change of (1-12) to select the specific piano. What I don't know is the XML option to select that.
I grepped through it looking for MSB / LSB and didn't see any examples. I do see some with 'controller' set... is that the combination of the MSB/LSB?
For local audio, I'll duplicate the Yamaha Grand soundfont, but in my workaround for the overlapping tones issue, I'd like to try some of the capabilities of the DP I'm using... as well as using something more appropriate than the "Bright Acoustic Piano" for the SATB parts for the more somber pieces.
Yes,I realize for the tone overlap workaroudn I could select another instrument (strings, maybe), but I expect the choir and director will expect a piano playing their part... and if their rears are trained to listen the piano notes, I don't want to confuse the issue by switching their notes from piano to strings and back, depending on how we're practicing.
+1 to the developer who put the instruments in an XML file. Very easy to modify and expand by the user.
Thanks,
G.B.
Comments
Would it be like the below?
[A dozen edits later... don't know how to flag something as code here: replace the [] with <>]
[Channel]
[controller ctrl="0" value="87"/]
[controller ctrl="32" value = "64"/]
[program value="1/]
[/Channel]
In reply to Would it be like the by gwapobass
export to midi file
edit with a midi sequencer software. (for example: free open source midi editor: sekaiju)
CC0:87 (MSB)
CC32:64 (LSB)
PC:0 (Program Change)
for other sequencers (like cakewalk):
calculation for .ins file:
(MSB * 128) + LSB = bank number value
first calculate MSB : 87 * 128 = 11136; then add LSB number: 11136 + 64 = 11200 <---value
In reply to export to midi file edit with by Ziya Mete Demircan
Thank you for the reply and suggestion... but is this the only option? To post process the MIDI files with another tool?
I generate ~7 files or so on every export. Manually editing each one via a GUI would be cumbersome. If I had, *had* to do it this way... I'd look at some CLI or script tool to automate it, but that's more complicated than what I want to do.
I'll do it if I have to, but with the all the options I see in the Instruments XML file for customization, I'm surprised. There are only 128 standard MIDI instruments, after all, and I can see having different sound options for "Grand Piano", "Electric Piano", etc., but that seems unnecessarily limiting.
Thanks,
G.B.