Age | Commit message (Collapse) | Author |
|
|
|
|
|
and
mixer_settings_recall.lua
also changed a lot of dialog formatting and configure global and local
paths
|
|
|
|
|
|
|
|
|
|
|
|
This is a cleaned-up, foward-ported version of Ben's
Mixbus patch (d6694c5b31).
|
|
|
|
usage example:
print (ARDOUR.user_config_directory(-1), ARDOUR.user_cache_directory(""))
print (ARDOUR.LuaAPI.build_filename(ARDOUR.user_config_directory(-1), "test.txt"))
|
|
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.
|
|
Closing a session removes tracks, which triggers set_dirty().
There is no need to inform the UI or change the session's state.
|
|
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.
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
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".
|
|
|
|
Tweak enums to better match the Grid values they represent.
|
|
|
|
smf_delete() does not handle NULL pointers. This fixes a crash when
checking if a MIDI source is valid.
|
|
readout for what the script will do to your session allowing user to pick and choose
|
|
|
|
|
|
|
|
|
|
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.
|
|
The default error is "Not a valid SNDFILE* pointer." which is rather
obscure to end-users.
|
|
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.
|
|
|
|
routelist() or get_routes()
|
|
Now that the zoom buttons are right-aligned, a variable spaced grid
selector is less of an issue (except perhaps on 1024px wide screens)
|
|
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.
|
|
This reverts commit c2e520fab056834a7181e08a1cd0fa3e14796b1e.
|
|
|
|
|
|
|
|
Only enable button if the surface has an editor-GUI.
|
|
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)
|
|
Explicit cast to float (rangestep is unsigned int) when calculating
interface steps.
Also prefer to round to nearest value-point (rather than round-down).
|
|
|
|
|
|
|
|
|
|
|