Commit Graph

5045 Commits

Author SHA1 Message Date
Paul Davis
9254e80c39 refactor MIDISceneChange color property addition by moving it into SceneChange to anticipate other types of SceneChange objects (e.g. OSC) 2014-11-10 23:17:27 -05:00
Paul Davis
e27651d315 when creating a new MIDI scene change, check existing scene changes for equality and reuse their color (which may or may not be set) 2014-11-10 23:17:19 -05:00
Paul Davis
0f243d5f7c serialize/deserialize MIDISceneChange color; put out of bounds color into static const 2014-11-10 23:17:08 -05:00
Paul Davis
70960a5a00 add color property to MIDISceneChange 2014-11-10 23:16:59 -05:00
Paul Davis
3d0efb8bf7 add operator== to ARDOUR::MidiSceneChange 2014-11-10 23:16:53 -05:00
David Robillard
bb12c750bb Just rename problematic Variant::VOID type. 2014-11-07 17:21:43 -05:00
Robin Gareus
87cd481a7d VOID is a windows define (not MSVC specific) 2014-11-07 17:04:11 +01:00
Paul Davis
98b66b9f3d catch up with waves/tracks version of MIDI scene changer code 2014-11-05 19:45:23 -05:00
Paul Davis
4eac2a76da fix insane design for Location::next_available_name() so that it has no effective limit (other than UINT32_MAX) 2014-11-05 07:41:43 -05:00
John Emmas
f018f3d37a Add some newly introduced header files to our MSVC project (libs/ardour) 2014-11-04 15:44:27 +00:00
John Emmas
227732d15b When building with MSVC undef type VOID if we're declaring an enum called VOID 2014-11-04 15:42:04 +00:00
John Emmas
5e8c39ff47 When running an (MSVC built) VST scanner app, make sure we can utilise debuggable versions if we need to 2014-11-04 13:23:14 +00:00
David Robillard
a54f8141dc Use format string even for units we understand (print Hz units). 2014-11-03 20:52:14 -05:00
David Robillard
9f3f017736 Check whether frequency controls are audible or low and provide appropriate controls.
Always clamp set value to controller range.
2014-11-03 18:41:57 -05:00
David Robillard
ef16fdcd89 Fix parameter descriptors for one control leaking into another. 2014-11-03 18:40:17 -05:00
David Robillard
6e16f69c26 Add menu to set frequency controls in beats, and half or double current value.
Test with e.g. fomp:cs_phaser1_lfo LFO frequency.
2014-11-03 17:29:11 -05:00
David Robillard
7204702c3f Reduce coupling between Plugin and PluginInsert. 2014-11-03 13:40:50 -05:00
David Robillard
68507badd9 Fix compilation with old LV2. Maybe. 2014-11-03 11:54:35 -05:00
David Robillard
6e8e3856cb Show 3 decimal digits when printing values. 2014-11-02 18:47:22 -05:00
David Robillard
d02d8337a9 Support pretty display of arbitrary plugin parameter units.
Try e.g. fomp:cs_chorus1 which has Hz and ms controls.
2014-11-02 02:10:24 -05:00
David Robillard
47c4929bc2 Display gain and midiNote plugin parameters/properties nicely.
Show fancy values on generic GUI controls, automation lane controls, and automation lane verbose cursor.
Fix text display of midiNote values.
Make bigstep of midiNote parameters 12 (one octave).
Add ARDOUR::value_as_string() as a stateless one-stop-shop for value printing.
2014-11-02 02:10:24 -05:00
David Robillard
8a128b33d3 Automation of LV2 plugin properties.
Work towards ParameterDescriptor being used more universally to describe control characteristics.
2014-11-02 02:10:24 -05:00
David Robillard
6dfb11c2d0 Move ParameterDescriptor from Plugin to its own header.
This fixes circular dependency issues that arise when using ParameterDescriptor more widely.
2014-11-02 02:10:24 -05:00
David Robillard
bd6ba1717e Decouple ControlUI from port index. 2014-11-02 02:10:24 -05:00
John Emmas
d948e4cc91 Add a newly introduced header file to our MSVC project (libardour) 2014-11-01 13:53:55 +00:00
Robin Gareus
660e8c4425 don't print error when announcing property values for plugins that have none 2014-11-01 07:27:36 +01:00
David Robillard
c855d17e09 Fix compilation against older LV2. 2014-10-31 21:03:12 -04:00
David Robillard
5de6c21ec1 More generic RT-safe implementation of LV2 properties. 2014-10-31 20:46:43 -04:00
David Robillard
324ab35abc Use precise define names for LV2 version configure checks. 2014-10-31 20:46:09 -04:00
David Robillard
0a60077a61 Fix spelling error. 2014-10-31 20:46:09 -04:00
Robin Gareus
f02610b47c LV2 patch amends:
* fix Label (user readable key)
* check if patch range is a file Path
* free some lilv-nodes (plug small mem leak)
2014-10-31 19:42:28 +01:00
Robin Gareus
b8cea19b95 prototype [LV2]patch-change support for generic plugin UIs. 2014-10-31 03:26:47 +01:00
John Emmas
973d40e3ac Add support for USE_CAIRO_IMAGE_SURFACE when building with MSVC
(new preprocessor directive - greatly improves CPU loading)
2014-10-29 17:36:30 +00:00
Paul Davis
f900711136 port changes to ARDOUR::Location and ARDOUR::Locations APIs from Tracks to Ardour.
Fixes deadlocks caused by mutex on Locations list, and clarifies the purposes and uses of the class-level and
object-level change-related signals.
2014-10-24 12:18:46 -04:00
Robin Gareus
9a60bb58b2 skip unavailable backends early on. 2014-10-23 16:53:14 +02:00
Robin Gareus
d991bb10ca add 'available' interface to the AudioBackendInfo
If a backend can be loaded, it does not mean that it can be used;
e.g. weak-linked jack-backend if libjack is not available.
2014-10-23 16:53:14 +02:00
Robin Gareus
730e09ce65 another round of compiler warning fixes 2014-10-23 05:31:40 +02:00
Robin Gareus
c6a3d6bc48 small round of compiler warning fixes 2014-10-23 03:43:04 +02:00
Paul Davis
679356c5ee fix delivery of MMC events under split process cycle conditions 2014-10-22 17:07:11 -04:00
Paul Davis
a289947b4f fix timestamps for immediate MIDI events to deal with split process cycle conditions 2014-10-22 17:07:11 -04:00
Paul Davis
bd97450ef8 error/debug output when dropping MIDI event due to timing now shows MIDI bytes 2014-10-22 17:07:11 -04:00
Paul Davis
aafd1d77e9 remove unused code 2014-10-22 17:07:11 -04:00
Paul Davis
aa0effb4cb ignore negative value locates and MMC locate commands 2014-10-22 17:07:11 -04:00
Robin Gareus
3ddd797e46 remove obsolete jack includes in libardour 2014-10-22 16:56:12 +02:00
Robin Gareus
fbaae45eb1 stopgap solution for VST plugins that call audioMasterWantMidi during effOpen
audioMasterWantMidi needs plugin _info, but _info is currently only
available after instantiating the plugin in LXVSTPluginInfo::load().

vstfx_instantiate() -> effOpen -> [plugin] -> vst_callback(..,opcode=6,..) -> crash
2014-10-20 23:30:49 +02:00
Robin Gareus
825e2c823c add support for VST plugins without any parameters 2014-10-20 23:30:48 +02:00
Robin Gareus
ab445a0e28 windows: don’t popup message box when libjack is not found 2014-10-17 10:58:49 +02:00
Robin Gareus
d34bd9e6a0 fix midi automation sliders
Allow controls to work without a list. see also 34c1465 and b469cd2
2014-10-16 21:21:45 +02:00
Paul Davis
0477d11476 when cancelling an import, call DropReferences so that the Session forgets about the new sources.
Not doing this leaves the sources in the session list and then the session fails to open on next load
because the files are not there.

Arguably we should not announce the new files until they are complete, but this is a simpler fix for now.
2014-10-15 21:12:35 -04:00
Paul Davis
5d53335300 when flushing notifications/signals from an ARDOUR::Playlist, emit the RegionAdded/ContentsChanged signals first so that when LayersChanged is sent, the receivers know about all the new regions 2014-10-15 18:44:22 -04:00