summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-31Add support for PreSonus Faderport2 (2018 model)Ben Loftis
This is a cleaned-up, foward-ported version of Ben's Mixbus patch (d6694c5b31).
2018-07-31Cleanup trigger_script_by_name() debug/error messagesRobin Gareus
2018-07-30Expose Config and Cache dirs to LuaRobin Gareus
usage example: print (ARDOUR.user_config_directory(-1), ARDOUR.user_cache_directory("")) print (ARDOUR.LuaAPI.build_filename(ARDOUR.user_config_directory(-1), "test.txt"))
2018-07-30Fix "session dirty" flicker during session-setup.Robin Gareus
Loading a session includes setting the sync-source, this is queued to happen during process(), which may or may not be while Session::Loading is still set. This change only catches the common case: internal transport, no slave.
2018-07-30Ignore state-changes during deletionRobin Gareus
Closing a session removes tracks, which triggers set_dirty(). There is no need to inform the UI or change the session's state.
2018-07-30Ruler visibility is not really a session-prop.Robin Gareus
This fixes an issue with the session being marked as dirty without any actual change. Also this method indirectly called during session-load when the UI state is restored, a potential race with "Session::Loading" being unset.
2018-07-30Fix processor invalidation issue with substiuted routesNikolaus Gullotta
2018-07-30Amend VST "MasterUpdateDisplay", allow UI(s) to idle-update.Robin Gareus
2018-07-30Fix VST callback and crash for some pluginsRobin Gareus
Apparently "MasterUpdateDisplay" is for plugins to notify the host about state changes -- and not notficy the plugin's own UI. see also http://mixbus.harrisonconsoles.com/forum/thread-6229-post-37127.html
2018-07-27add group_name fallback for adding routes to groupsNikolaus Gullotta
2018-07-27whitespace editing and comments + add ability to substitute routes at willNikolaus Gullotta
2018-07-27Allow to disable smart ruler changes.Robin Gareus
2018-07-27NO-OP: clean up whitespace, separate methodsRobin Gareus
2018-07-27new_grid: The Return of the snap_to_X functions.Ben Loftis
We no longer assume that Snap always uses the visible ruler lines. If you want to snap to the grid, and ignore the users zoom scale, use SnapPref::SnapToGrid_Unscaled This fixes 2 (known) oversights: "snap region(s) to grid" and "regions whose start are left of the canvas edge".
2018-07-27Prepare types for new gridRobin Gareus
2018-07-27new_grid: fix some thinkos in ruler math, to better match sensible grid lines.Ben Loftis
Tweak enums to better match the Grid values they represent.
2018-07-27new_grid: Add options for rulers_follow_grid and grid_follows_internalBen Loftis
2018-07-26Fix crash when testing invalid MIDI file.Robin Gareus
smf_delete() does not handle NULL pointers. This fixes a crash when checking if a MIDI source is valid.
2018-07-25get rid of ugly concatenation in favor of string.format(), and add small ↵Nikolaus Gullotta
readout for what the script will do to your session allowing user to pick and choose
2018-07-25Fall back to default Session export dir, if export path does not exist.Robin Gareus
2018-07-25Don't allow invalid export Locations (when using the GUI)Robin Gareus
2018-07-25Reset export-config maps before each new export (2/2)Robin Gareus
2018-07-25Reset export-config maps before each new export (1/2)Robin Gareus
2018-07-25Add an API to reset export-handler configs.Robin Gareus
config_map.erase() is only called in ExportHandler::finish_timespan(). When an export fails (throw) or is aborted, the export-handler's config remains as is and the next export will run it again. The export-handler is global, per session and ExportHandler::add_export_config() only ever inserts or ignores insert. This is in preparation to fix: 1) export to invalid path -> fail, error is thrown 2) correct path -> new config is inserted in the map 3) try to export again, first runs the not-completed export from (1) -> constant errors.
2018-07-25Clarify error message when file cannot be created,Robin Gareus
The default error is "Not a valid SNDFILE* pointer." which is rather obscure to end-users.
2018-07-24GUI tweaks for unset midi banks.Robin Gareus
Some MIDNAM files use Patch-Banks that do *not* have a common midi bank (CC0, CC32) but the Patchbank is instead just a collection of patches. There may be more than 127 patches in a patch-bank and each of those may be in a different midi-bank (e.g. Roland SC-88 Pro). Midnams like these are now properly supported via dropdowns (in the patch add/modify dialog and timeline), but ignored by the grid (patch-widget). More work is needed.
2018-07-24Distinguish unset MIDI Patch and bank 0Robin Gareus
2018-07-23mark_tracks() now accepts a bool that tells it to work of a selected ↵Nikolaus Gullotta
routelist() or get_routes()
2018-07-23Don't cut-off grid-type.Robin Gareus
Now that the zoom buttons are right-aligned, a variable spaced grid selector is less of an issue (except perhaps on 1024px wide screens)
2018-07-23Hardcode pitch-shift algorithm (for now)Robin Gareus
This fixes an issue with pitch-shift using the most recently used time-stretch algorithm, which may be "resample.." (effective NO-OP). Also leave a ToDo note regarding rubberband crispness levels for later.
2018-07-23Revert "Add timestretch debug printf"Robin Gareus
This reverts commit c2e520fab056834a7181e08a1cd0fa3e14796b1e.
2018-07-23Fix timestretch "resample without preserving pitch"Robin Gareus
2018-07-23Add timestretch debug printfRobin Gareus
2018-07-21Fix log-scale rangesteps and log-control numeric spinboxesRobin Gareus
2018-07-19Fix Ctrl-Surface UI/Edit button sensitivityRobin Gareus
Only enable button if the surface has an editor-GUI.
2018-07-18Fix generic UI sliders w/rangestepsRobin Gareus
Leave the user in control while the slider is being dragged. Previously there was a feedback loop: User-drags slider -> value changes -> value is rounded -> slider is updated with rounded value (while the user still drags)
2018-07-18Fix and tweak LV2:RangeStepRobin Gareus
Explicit cast to float (rangestep is unsigned int) when calculating interface steps. Also prefer to round to nearest value-point (rather than round-down).
2018-07-17move new_playlist Lua script from mixbus and add some garbage collectionNikolaus Gullotta
2018-07-17Move track_organizer Lua script to ardourNikolaus Gullotta
2018-07-17Create ardour-friendly version of reset_mb4_mixer Lua scriptNikolaus Gullotta
2018-07-17Lua DSP LTC decoder pluginRobin Gareus
2018-07-17Add LTC Decoder Lua BindingsRobin Gareus
2018-07-17Refactor LTC File decoder, prepare for Lua bindingsRobin Gareus
2018-07-16make sandbox = false, for scripts called by Editor::trigger_script_by_name()Nikolaus Gullotta
2018-07-16add route:name() to output file, and use this to catch routes who's ids ↵Nikolaus Gullotta
don't match, but their names do
2018-07-16check if rv != nil, so it can still be run again if the user bails.Nikolaus Gullotta
2018-07-14Fix typosBen Loftis
2018-07-14auto-backup: gtk2_ardour part. (from mixbus)Ben Loftis
2018-07-14auto-backup: libardour part. (from mixbus)Ben Loftis
2018-07-14Aborted attempt to further optimize the editor-summary. Commented for ↵Ben Loftis
future generations.