Commit Graph

39 Commits

Author SHA1 Message Date
8f6dee5a52 New MIDNAM file from e.j.vd.hooven@gmail.com 2015-01-05 10:19:53 -05:00
2e62ca9631 Fix off-by-one MIDI note names.
Much like everything else in midnam, it's not specified whether the numbers are
0 or 1 relative, but everything out there seems to be 0 relative and this
matches the canvas, so go with that.
2014-12-29 20:20:16 -05:00
ee38c44109 Structure MIDI device selector by manufacturer.
Unfortunately we store the state of models as simply model, so if there's ever
duplicate model names, we're somewhat screwed, but this makes the (previously
unmanageably huge) menu usable, while retaining the "model name as global
identifier" state unmodified.
2014-12-13 00:37:34 -05:00
ad017365f7 Merge branch 'cairocanvas' 2014-10-16 05:12:52 -04:00
67db629a85 Add midnam files for Korg Volca series. 2014-07-14 01:26:21 -04:00
058986f77b finish unfinished work at basing all install paths on the program name 2014-04-28 21:11:08 -04:00
8d335fa88c Document controller values for Moog Minitaur. 2014-01-06 13:49:09 -05:00
f821c2a758 Add midnam files for Moog MF-104M and MF-108M. 2014-01-06 13:31:54 -05:00
8e73af245f Add a bunch more midnam files.
We are now well past the point where something smarter needs to be figured out for that selector...

git-svn-id: svn://localhost/ardour2/branches/3.0@14095 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-02-23 17:44:53 +00:00
5a568b0e31 Add several midnam files from Jonathan Stowe.
git-svn-id: svn://localhost/ardour2/branches/3.0@14017 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-28 01:58:23 +00:00
fc7b4b7f62 Comment out duplicate controls. I think there's an error in the manual?
git-svn-id: svn://localhost/ardour2/branches/3.0@13930 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20 18:22:02 +00:00
18613cd94d Fix incorrect controller numbers in Minitaur midnam file.
git-svn-id: svn://localhost/ardour2/branches/3.0@13929 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20 17:27:14 +00:00
f0184e4e6d Clean up midnam data, consistently name default mode "Default"
git-svn-id: svn://localhost/ardour2/branches/3.0@13920 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20 04:42:13 +00:00
586484abf0 Support loading MIDI note names in NoteGroup tags as well.
git-svn-id: svn://localhost/ardour2/branches/3.0@13919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20 04:27:12 +00:00
f85bf54e21 Remove extra midnam file for Roland JV-1080.
I can't really make sense of this, they seem to be conflicting and of different origins, but I doubt it's worth my time to figure it out.

Also clean up the other one a bit.

git-svn-id: svn://localhost/ardour2/branches/3.0@13918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20 04:18:22 +00:00
0a0113f18b Remove junk data from Roland JV-1080 and JV-2080 midnam files.
git-svn-id: svn://localhost/ardour2/branches/3.0@13917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20 03:53:39 +00:00
f7ada4b323 Add General MIDI drum note names and patch names.
Support loading note names per ChannelNameSet (like GM) in addition to per Patch (like DM5).


git-svn-id: svn://localhost/ardour2/branches/3.0@13913 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20 02:41:27 +00:00
448c156b4b Update patchfiles/README and remove executable bit from all midnam files.
git-svn-id: svn://localhost/ardour2/branches/3.0@13907 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 21:42:54 +00:00
13d34afa01 Add midnam file for Roland JV-2080.
git-svn-id: svn://localhost/ardour2/branches/3.0@13906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 21:35:08 +00:00
aaef1f13cb Merge Standard MIDI and General MIDI midnam files.
git-svn-id: svn://localhost/ardour2/branches/3.0@13905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 21:32:27 +00:00
ca41354e46 Add instructions for adding midnam files.
git-svn-id: svn://localhost/ardour2/branches/3.0@13901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 19:21:57 +00:00
b1bc353f0d Add standard MIDI midnam file and remove hard coded equivalent.
Accordingly, make "generic" MIDI truly generic, just numbered controllers.
Break up MIDI name UI stuff into manageable functions of reasonable size.
Add convenient method to MIDINameDocument for getting the names for a device.
Tolerate comments in MIDINameDocument ControlNameList.

Can't remove the MIDI name code just yet, since it's still erroneously used by
Automatable::describe_parameter().  This is the cause of a bug where the name
on the automation lane does not match that in the menu.

The plan is to make a very simple pure abstract interface for getting MIDI
names, and make it possible to set one for Automatable (or perhaps pass it to
describe_parameter()).  Thus we'll be on the way to supporting names from
sources other than midnam files, namely plugins.


git-svn-id: svn://localhost/ardour2/branches/3.0@13895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 10:02:00 +00:00
05a397b20c Unfortunately it seems that MIDINameDocument can not express control groups, so remove this.
We will have to embrace and extend the format to provide that.  I think it's the only feasible way to present up to 127 controllers in the UI in a decently usable way, so it's probably a good idea to do so.

git-svn-id: svn://localhost/ardour2/branches/3.0@13894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 09:31:37 +00:00
458b5c1d48 Clean up midnam author data.
git-svn-id: svn://localhost/ardour2/branches/3.0@13888 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 02:49:59 +00:00
341082ba7d Ram all midnam files through xmllint --format and get something halfway respectable out the other side.
... and voila, decent data.  Good grief, what a mess that was.

git-svn-id: svn://localhost/ardour2/branches/3.0@13887 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 02:37:06 +00:00
078145252b Fix invalid XML. All midnam files now pass validation by xmllint.
git-svn-id: svn://localhost/ardour2/branches/3.0@13886 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 02:33:28 +00:00
1f5c686979 Use consistent naming scheme for midnam files.
git-svn-id: svn://localhost/ardour2/branches/3.0@13885 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 01:52:51 +00:00
c4a68db0d2 Use civilized line endings.
git-svn-id: svn://localhost/ardour2/branches/3.0@13884 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 01:23:01 +00:00
79babd3ee6 Use the standard doctype for this motley crew of midnam files.
By "standard" I mean "actually hosted by the MMA at midi.org".  Where the heck
this broken DTD link to sonosphere.org came from is anyone's guess.  Either
midi.org wasn't doing things correctly back in the day, or somebody is insane.
Probably both.

As a hint to the legacy of this data, some of these documents referred to
version 0.7, and some have mac newlines.  Mac newlines!  Remember those?


git-svn-id: svn://localhost/ardour2/branches/3.0@13883 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 01:19:57 +00:00
fb03c5d5fd Valid midnam file for Moog Minitaur
git-svn-id: svn://localhost/ardour2/branches/3.0@13882 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 01:14:46 +00:00
e092fe33af Preliminary support for named MIDI controllers via midname files.
Add midnam file for Moog Minitaur controller names.


git-svn-id: svn://localhost/ardour2/branches/3.0@13852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 08:24:31 +00:00
Hans Baier
684121c951 patchfiles/Yamaha-PSR-S900.midnam: Add Patchbanks by voice type
git-svn-id: svn://localhost/ardour2/branches/3.0@13407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-09 09:37:49 +00:00
Hans Baier
62ce39de7e Yamaha-PSR-S900.midnam: correct organ flutes, duplicate settings generated from faulty data sheet
git-svn-id: svn://localhost/ardour2/branches/3.0@13225 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 05:33:49 +00:00
Hans Baier
f2909e7858 program changes must be zero-based in the MIDNAM file, but they are one-based in the manual, where this midnam file is generated from
git-svn-id: svn://localhost/ardour2/branches/3.0@13224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 05:08:56 +00:00
Hans Baier
dec0e3d6da Add patchfile for Yamaha PSR-S900, add unit test for it, remove camel case from test method names
git-svn-id: svn://localhost/ardour2/branches/3.0@13218 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-09 03:13:38 +00:00
87d36b04f4 added General MIDI midname file (missing drum info)
git-svn-id: svn://localhost/ardour2/branches/3.0@12696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-13 11:54:36 +00:00
Carl Hetherington
969f45876c Trim <PatchBank>s with unresolved <UsesPatchNameList>s
to stop errors on startup (#4900).


git-svn-id: svn://localhost/ardour2/branches/3.0@12552 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-03 15:47:28 +00:00
95feef6ae4 remember to install MIDNAM files for waf install
git-svn-id: svn://localhost/ardour2/branches/3.0@12352 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 09:25:36 +00:00
ec24aebfca add 44 MIDNAM files for various h/w synths, originally from digicake.com/midnams but cleaned and fixed up
git-svn-id: svn://localhost/ardour2/branches/3.0@11731 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 17:00:30 +00:00