summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-20Remove extra midnam file for Roland JV-1080.David Robillard
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-20Remove junk data from Roland JV-1080 and JV-2080 midnam files.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Make patch changes stand out a little better while also being more ↵David Robillard
monochromatic. The colour on the text doesn't seem to be what it should be, though. I think Gtkmm2ext::convert_bgra_to_rgba might be broken... git-svn-id: svn://localhost/ardour2/branches/3.0@13916 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Allow PC flags to be editing with the draw tool as well.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13915 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Tidy.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13914 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Add General MIDI drum note names and patch names.David Robillard
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-20Fix completely wrong MidiRegionView::get_patch_key_at().David Robillard
This fixes the note name displayed at a given time to be based on the correct program at that time, and not one in the future. git-svn-id: svn://localhost/ardour2/branches/3.0@13912 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Fix MIDI note number off by one error.David Robillard
Bloody one-based indices... git-svn-id: svn://localhost/ardour2/branches/3.0@13911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Fix midnam warning messages.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Fix ever expanding bank selector in add patch change dialog when changing ↵David Robillard
channel number. git-svn-id: svn://localhost/ardour2/branches/3.0@13909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Support note names from midnam files (tested with the DM5).David Robillard
Do this via a simple MasterDeviceNames::note_name() function. The same really needs to be done for program names, this stuff is absolutely brutal to use. Store note names in a vector indexed by number instead of a list with string "numbers" for reasonable lookup time. Make some references const that should be. git-svn-id: svn://localhost/ardour2/branches/3.0@13908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Update patchfiles/README and remove executable bit from all midnam files.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13907 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Add midnam file for Roland JV-2080.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Merge Standard MIDI and General MIDI midnam files.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Gracefully handle errors parsing midnam documents instead of crashing.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Set MIDI device mode to the first by default if unset.David Robillard
Give up trying to hide mode selector when it's useless. Fix display of program names for default mode. Abstract out (non-crashy) MidiTimeAxisView::get_device_names(). git-svn-id: svn://localhost/ardour2/branches/3.0@13903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Use a std::set for MIDI device models so the combo is sorted and the user ↵David Robillard
can find things. git-svn-id: svn://localhost/ardour2/branches/3.0@13902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Add instructions for adding midnam files.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Set MIDI device model to "Generic" by default (previously was unset).David Robillard
Perhaps it should be "Standard MIDI" though? git-svn-id: svn://localhost/ardour2/branches/3.0@13900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19fix MIDI track channel selector etc. visibility after show_all()=>show() ↵Paul Davis
changes in recent commit git-svn-id: svn://localhost/ardour2/branches/3.0@13899 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19completely revisit how track name editing works in the editorPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13898 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19fix midnam-related crash introduced around 13892Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13897 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19slightly more informational debug messagePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Add standard MIDI midnam file and remove hard coded equivalent.David Robillard
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-19Unfortunately it seems that MIDINameDocument can not express control groups, ↵David Robillard
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-19Fix undefined return value.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13893 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Replace a bunch of potential crashes with graceful handling of the situation.David Robillard
We really need some kind of more sophisticated assert macro that can be switched to non-fatal logging mode for release builds. A log message, which is often all that would happen, is a lot better than a trainwrecked performance... git-svn-id: svn://localhost/ardour2/branches/3.0@13892 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Avoid some copy overhead and sprinkle in some const for good measure.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13891 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Reflow ridiculously wide code.David Robillard
Sorry. git-svn-id: svn://localhost/ardour2/branches/3.0@13890 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Hide MIDI device mode selector unless there is actually more than one mode.David Robillard
Since this is usually not the case, showing this all the time as before was so confusing everyone thought it was broken (myself included). Changing that show_all() to a show() might have consequences, but it seems to work fine and we really shouldn't be using show_all() anyway. git-svn-id: svn://localhost/ardour2/branches/3.0@13889 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Clean up midnam author data.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13888 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Ram all midnam files through xmllint --format and get something halfway ↵David Robillard
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-19Fix invalid XML. All midnam files now pass validation by xmllint.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13886 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Use consistent naming scheme for midnam files.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13885 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Use civilized line endings.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13884 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Use the standard doctype for this motley crew of midnam files.David Robillard
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-19Valid midnam file for Moog MinitaurDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13882 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19new take on getting SVN revision numberPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13881 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-18more debugging output for failed LXVST opens, and drop use of NULLPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-18fix crash when copy-n-pasting plugins, caused by work done to allow ↵Paul Davis
copy-n-paste of aux sends: non-send processors do not have a "role" node in their XML state git-svn-id: svn://localhost/ardour2/branches/3.0@13879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-18fix restore of snap mode (confusion caused by existence of ↵Paul Davis
internal/preinternal snap modes) git-svn-id: svn://localhost/ardour2/branches/3.0@13878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17fix issue with color and position of mixer strip plugin control sliders (#5275)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17cache cairo_pattern_t's for PixFader so that we don't generate one per ↵Paul Davis
fader, but rather one per size+color combination git-svn-id: svn://localhost/ardour2/branches/3.0@13874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17fix size of FaderOption's faderPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17fix problem with size of patterns used by pixfaders when they get ↵Paul Davis
re-size-allocated git-svn-id: svn://localhost/ardour2/branches/3.0@13871 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17a few small fixes that help pitchbend control of things, notably the shuttle ↵Paul Davis
controller. but note that basically, teh shuttle controller is completely and hopelessly broken through excess complexity and incorrect design git-svn-id: svn://localhost/ardour2/branches/3.0@13870 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17fix up Location::first_location_(after|before) to do the right thing when ↵Paul Davis
marks + ranges are interleaved (functions renamed) git-svn-id: svn://localhost/ardour2/branches/3.0@13869 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17prevent button1/2 clicks on pixfaders from being used to drive event ↵Paul Davis
processing in parent containers (#5272) git-svn-id: svn://localhost/ardour2/branches/3.0@13868 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17fix up various issues with sizing now that we have the basic idea that ↵Paul Davis
pixfaders can dynamically resize themselves (#5273) git-svn-id: svn://localhost/ardour2/branches/3.0@13867 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17fix up handling of size allocation + settingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13866 d708f5d6-7413-0410-9779-e7cbd77b26cf