Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Thread Tools Display Modes
Old 12-20-2016, 04:58 PM   #1
Human being with feelings
Join Date: Dec 2016
Location: Hungary
Posts: 1
Default Instrument definition file (.ins) parser bugs (FIXED)


I would like to report 2 bugs that affect both bank/program select dialog and ReaControlMIDI VST so I think it's a general parser error.

1. The parser completely ignores the BankSelMethod directive in the Instrument Definitions sections. More precisely it always assumes BankSelMethod=0 so treats Bank numbers as MSB+LSB addresses.
However there are 4 possible (0-3) BankSelMethod values and each represents a different bank addressing scheme. I have not met all of them but
BankSelMethod=1 (GS style MSB only addressing) occurs frequently.
The modes:
0 Normal - bank select MSB and LSB matter
1 Only the MSB is used and defined
2 Only the LSB is used and defined
3 Only program changes are used and defined


2. Ins files resembles windows ini files and in ini files the official comment sign is ';' and not '#'. So in ins files e.g. [Roland GS Var #1] is a completely valid section name. In spite of this Reaper's parser ignores everyting after the '#' sign.

Although AFAIK no official documnetation is available you can test in Cakewalk products.

I have attached a test ins file that can reproduce both bugs in Reaper.
Attached Files
File Type: zip Roland_MS-SoftSynth_GS.zip (2.0 KB, 43 views)
Falcosoft is offline   Reply With Quote
Old 12-20-2016, 05:55 PM   #2
schwa's Avatar
Join Date: Mar 2007
Location: NY
Posts: 9,700

Improving this, thanks!
schwa is offline   Reply With Quote
Old 12-20-2016, 07:08 PM   #3
Human being with feelings
zappsunzorn's Avatar
Join Date: Feb 2008
Location: Virginia Beach VA
Posts: 2,266

Welcome to the Reaper forums! I think you are in the running for the honorary description of the month award!
zappsunzorn is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 08:21 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.