summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-21 18:08:18 +0000
committerDavid Robillard <d@drobilla.net>2008-09-21 18:08:18 +0000
commita43d53e3b92b02f4c35b4935509bf523f7630d94 (patch)
treef6289ef64f48cdedb37b24830698950c00ab668c /libs/ardour/ardour
parentca12fe973324cbc000bf2aa46d9c378022a14fa2 (diff)
- Call channel pressure channel pressure, not aftertouch (that's key specific).
- Add context menu items to add a bender or pressure automation track to a MIDI track. - Now just need to figure out creation of program change events and you can create everything MIDI ardour understands from the GUI... git-svn-id: svn://localhost/ardour2/branches/3.0@3782 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/parameter.h4
-rw-r--r--libs/ardour/ardour/types.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/ardour/parameter.h b/libs/ardour/ardour/parameter.h
index 9ffeb98995..5c390c1039 100644
--- a/libs/ardour/ardour/parameter.h
+++ b/libs/ardour/ardour/parameter.h
@@ -93,7 +93,7 @@ public:
break;
case MidiCCAutomation:
case MidiPgmChangeAutomation:
- case MidiChannelAftertouchAutomation:
+ case MidiChannelPressureAutomation:
Evoral::MIDI::controller_range(min, max, normal); break;
case MidiPitchBenderAutomation:
Evoral::MIDI::bender_range(min, max, normal); break;
@@ -108,7 +108,7 @@ public:
std::string symbol() const;
inline bool is_integer() const {
- return (_type >= MidiCCAutomation && _type <= MidiChannelAftertouchAutomation);
+ return (_type >= MidiCCAutomation && _type <= MidiChannelPressureAutomation);
}
inline operator Parameter() { return (Parameter)*this; }
diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h
index 06c055bbe6..ce76a247cb 100644
--- a/libs/ardour/ardour/types.h
+++ b/libs/ardour/ardour/types.h
@@ -89,7 +89,7 @@ namespace ARDOUR {
MidiCCAutomation = 0x20,
MidiPgmChangeAutomation = 0x21,
MidiPitchBenderAutomation = 0x22,
- MidiChannelAftertouchAutomation = 0x23,
+ MidiChannelPressureAutomation = 0x23,
FadeInAutomation = 0x40,
FadeOutAutomation = 0x80,
EnvelopeAutomation = 0x100