Commit Graph

16344 Commits

Author SHA1 Message Date
Robin Gareus c11f62fd51
Fix VCA button event propagation
This prevents double-click on the VCA spill button from
to showing the add route dialog.
2023-03-30 19:04:36 +02:00
Robin Gareus 3a6e3c2c13
Add audition volume control to clip-picker 2023-03-29 01:48:25 +02:00
Robin Gareus 7ecbdd27a9
hide invisible plugin-control properties in generic ctrl UI 2023-03-29 01:08:36 +02:00
Edgar Aichinger 3f209c2ab4 update german translation 2023-03-28 01:44:49 +02:00
Alexandre Prokoudine 9725685416 Fix metadata in the Catalan translation 2023-03-28 01:42:20 +02:00
Xavi Ivars a3d6b16e5c gtk2_ardour appdata Catalan po 2023-03-28 01:39:36 +02:00
Robin Gareus f2c309d7de Use std pointers in objective C files 2023-03-25 00:07:56 +01:00
Robin Gareus 9232f41176
Remove debug output 2023-03-24 23:20:50 +01:00
Paul Davis 47416743fb license info: add clarification re: plugins to About dialog
Also, it's "pointer-to-const-char"
2023-03-24 14:19:16 -06:00
Paul Davis 0aea2a2ef8 tempo twisting: GUI improvements, including undo/redo logic 2023-03-24 14:19:16 -06:00
Paul Davis 0cf199ac48 remove another ancient binding set 2023-03-24 14:19:16 -06:00
Paul Davis 565fb90ccb remove old SAE keybindings 2023-03-24 14:19:16 -06:00
Paul Davis 10b845b1ca fix mapping begin/commit/abort logic in editor 2023-03-24 14:19:16 -06:00
Paul Davis 77cefd7721 new tempo mapping drag objects (API and implementation) 2023-03-24 14:19:16 -06:00
Paul Davis 6d5273e514 tempo marker drag: change type of stored bpm 2023-03-24 14:19:16 -06:00
Paul Davis 20349d868e fix various aspects of display of mapping cursor
This might all change in the future, or even go away.
2023-03-24 14:19:16 -06:00
Paul Davis 74225f07de nominally handle popup menu for mapping cursor item (unfinished) 2023-03-24 14:19:16 -06:00
Paul Davis ca8127c458 add canvas item type for mapping cursor 2023-03-24 14:19:16 -06:00
Paul Davis ab3fe29afd no need for a temporary ptr-to-tempo map 2023-03-24 14:19:16 -06:00
Paul Davis f96a0d0ddf editor: adding handling of mid-mapping tempo redisplay 2023-03-24 14:19:16 -06:00
Paul Davis 604984ae6f enums: add new enum for MappingCursorItem type 2023-03-24 14:19:16 -06:00
Paul Davis aa3cbd8791 editor: expand handling of tempo-redisplay in middle of drag 2023-03-24 14:19:16 -06:00
Paul Davis ece438d73d editor: refactor snap to bbt to allow specifying non-grid-setting grid type 2023-03-24 14:19:16 -06:00
Paul Davis 49439d2acf ensure that the ask-about-quit dialog is shown at mouse-position 2023-03-24 14:19:16 -06:00
Paul Davis 868d606d16 track mouse motion in the mapping bar
This does not yet snap to BBT positions
2023-03-24 14:19:16 -06:00
Paul Davis 5e01503a56 add a new canvas-based cursor for mapping 2023-03-24 14:19:16 -06:00
Paul Davis d61a741e4b mapping bar: some mouse handling 2023-03-24 14:19:16 -06:00
Paul Davis e9b83e0f1d it's only debug info but let's get it right 2023-03-24 14:19:16 -06:00
Paul Davis 18249f7395 ardour has a new ruler
The mapping bar is where tempo mapping operations will take place
2023-03-24 14:19:16 -06:00
Paul Davis 38bb89c110 more functional tempo mapping
TempoMarker drag modifies tempo (and thus beat-time positions
and durations).

BBTRuler drag modifies the map but not positions/durations
2023-03-24 14:19:16 -06:00
Paul Davis 21074b189a remove unnecessary virtual (no default value involved) 2023-03-24 14:19:15 -06:00
Paul Davis d25a615e20 API development for time domain flipping (GUI edition) 2023-03-24 14:19:15 -06:00
Paul Davis 28d244bd0a use cstdint instead of stdint.h 2023-03-24 14:19:15 -06:00
Paul Davis c304edd253 switch from glib atomic to std::atomic (gui edition) 2023-03-24 14:19:15 -06:00
Paul Davis b35518e212 switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr
This is mostly a simple lexical search+replace but the absence of operator< for
std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence
and ExportPortChannel.
2023-03-24 14:19:15 -06:00
Paul Davis 39ed528e25 std-ize: convert all boost shared/weak ptr includes to <memory>
Also fix stdint.h -> cstdint and alphabetically order std includes
2023-03-24 14:19:15 -06:00
Robin Gareus 6dadac73ab
Add context-menu options to disconnect plugin-pins 2023-03-20 23:14:06 +01:00
Paul Davis 2ea0bb5f37 try to prevent a crash when handling a freesound sample with a non-UTF8 filename 2023-03-17 14:24:08 -06:00
Ben Loftis 48ee85ea0c decrease the default opacity of "dragged region" (in all themes) 2023-03-17 11:56:08 -05:00
Ben Loftis 4de53fa600 make regions transparent during fade-handle drags
* during drag and trim operations, we use "dragging region" transparency
  so you can see the audio data beneath your region(s)

* we already do this for region-end-trim fade drags, which is a special
   kind of trim operation, accessed from the 'lower' drag handle

* now we also trigger transparency for regular fade trims.

   see discussion at:
https://discourse.ardour.org/t/regions-transparency-in-7-2/108060/31
2023-03-17 11:56:08 -05:00
Robin Gareus 6ff8fb7c5e
Fix silence at start/end of export
Previously that caused an assert() in audio_clock.cc:1964
current_duration(): Assertion `is_duration' failed.
Optimized builds always returned zero duration.
2023-03-14 00:35:13 +01:00
JungHee Lee 9dc523710c Update ko.po 2023-03-13 21:52:31 +01:00
Alexandre Prokoudine 44bfaa9235 Fix Korean translation
Remove duplicated entries
2023-03-08 03:44:11 +01:00
Alexandre Prokoudine f8d85a2f85 Fix the French translation
Remove a copy of itself appended to the end, as well as an extra '\n'
2023-03-08 03:19:33 +01:00
Olivier HUMBERT bc1ed2e256 Update French translation for 7.3.0 2023-03-03 17:17:49 +01:00
JungHee Lee 3b0a19d30e Update Korean translation 2023-02-24 02:00:10 +01:00
Paul Davis ef14fec4ec MIDI trace window: enable printing of new-ish MIDI tick message 2023-02-23 15:34:27 -07:00
Robin Gareus df577d79d4
Clarify scale-slider, label is not the current value 2023-02-23 22:52:56 +01:00
Paul Davis adb6467427 midi clock: move incoming BPM quantize option and add tooltip 2023-02-23 12:15:51 -07:00
Paul Davis dbd779bf85 NOOP: remove commented debug output 2023-02-23 12:14:39 -07:00
Paul Davis a7458d308b midi clock: allow user to "quantize" MIDI clock resolution (GUI edition) 2023-02-23 10:17:54 -07:00
luzpaz 44a869732c Fix various typos
Found via `codespell`
2023-02-20 17:35:24 -07:00
Robin Gareus 9df3058cd8 Add Graphics Acceleration heading to prefs on macOS 2023-02-17 15:57:32 +01:00
Paul Davis 2c7bfa9ead require use of BBT_Argument as both parameter and return type from most methods (GUI edition) 2023-02-15 16:02:56 -07:00
Paul Davis 8f248bd0ba update C++ preferences metadata object 2023-02-14 10:15:18 -07:00
Paul Davis 9107c6d70c lots more preferences metadata 2023-02-14 10:15:06 -07:00
Paul Davis 3dd9b2c201 rationalize single call to TempoMap::use() in AudioClock::set_bbt() 2023-02-14 10:14:39 -07:00
Paul Davis 72bc6ac43d some edits for preferences metadata 2023-02-14 10:13:26 -07:00
Alexandre Prokoudine 8a23015ffb Update Russian translation 2023-02-13 04:56:58 +03:00
Alexandre Prokoudine b8c4034af5 Fix a user-visible typo 2023-02-13 03:05:38 +03:00
Robin Gareus 168344a3f9
Indicate sample-rate mismatch in the status-bar 2023-02-12 16:23:42 +01:00
Robin Gareus adf1eb34fb
Fix drawing percussive hits (#9234)
* HitCreateDrag::start_grab does not need to do anything
  a hit cannot be past end of region. Drawing at or past
  the end of a region will create a new region (not an event)
* HitCreateDrag::finished now calculates the position like
  NoteCreateDrag::finished.
* the selection does not need to be cleared. Creating new
  notes/hits selectes the newly created ones.
2023-02-11 20:27:43 +01:00
Paul Davis f1d784afbb deep fix to the way automation control point drags are handled/computed
The old code could not snap to the grid, because it had a lot of confusion about pixels vs. time,
and between line-origin-relative time and absolute time
2023-02-10 11:11:51 -07:00
Paul Davis 03b32cb4a0 remove unused "beats" variable and computation from Editor::metric_get_bbt() 2023-02-10 11:11:51 -07:00
Robin Gareus 907b0bbfa0
Fix time-stretch dialog clock
This broke in 45e21de209, the clock is not yet visible,
so the value has to be forced.
2023-02-09 00:35:27 +01:00
Robin Gareus cd6d7a8074
Fix another -Wabsolute-value 2023-02-08 03:50:21 +01:00
Paul Davis ae66304194 missing API change from e883c39e7 2023-02-06 21:51:28 -07:00
Paul Davis fe64ab9d31 control point drag: set time domain to match the list being modified
Previously this used the editor's default time domain
2023-02-06 21:04:17 -07:00
Paul Davis c41de90abd drags: add API to set time domain of a drag
This can slightly improve efficiency of temporal computation
during the drag.
2023-02-06 21:04:17 -07:00
Paul Davis e883c39e7a control point drag: fix the way bounding-to-region is computed 2023-02-06 21:04:17 -07:00
Paul Davis 2de76147d2 automation line: fix pos/distance confusion that misplaces dragged control points 2023-02-06 21:04:17 -07:00
Paul Davis 3d96a318ac automation line: add dump() method to inspect GUI control points 2023-02-06 21:04:17 -07:00
Paul Davis 8c6fa19bcf use C++11 auto iterator 2023-02-06 21:04:17 -07:00
Robin Gareus 12ad052d98
Fix another class/struct mismatch 2023-02-07 03:07:22 +01:00
Robin Gareus 65d5d8162f
Add missing includes to satisfy linter 2023-02-07 03:06:51 +01:00
Robin Gareus 48efbb4cc5
One drag at a time (#9217)
When a drag is already active, do not allow to start
another one. e.g. start a middle-click (fixed time drag),
then left-click.
2023-02-07 02:57:58 +01:00
Robin Gareus 2b64c4afe4
Allow to move edit-cursor and PH in dropzone (#9222) 2023-02-07 02:14:38 +01:00
Robin Gareus 8c561b19a6
DisplaySuspender is a struct (not a class) 2023-02-07 01:50:04 +01:00
Robin Gareus e74cb666ed
Allow to set transparency to 100%
Despite what the docs say Gtk::HScale(0,1,s) with a step-size
s > 0 has a range [0, 1 - s]. GTKMM does allow for a step-size
of zero, which also works around this issue.
This works because gtkmm sidesteps gtk_hscale_new_with_range() which
would fail with g_return_val_if_fail (step != 0.0, NULL);

The reason for this is that gtkmm creates an Adjustment with a
page-size = step-size:

```
Adjustment* adjustment = manage(new Adjustment(min, min, max, step, 10 * step, step));
```
and `gtk_adjustment_configure` limits the range:
```
value = MIN (value, upper - page_size);
```
2023-02-06 01:27:24 +01:00
Paul Davis 3cb1410318 update preferences metadata object 2023-02-05 12:25:04 -07:00
Paul Davis 7c07c87088 add MIDI max note height to preferences GUI 2023-02-05 12:25:01 -07:00
Paul Davis a365a7ebf3 respond to MIDI max note height changes 2023-02-05 12:24:12 -07:00
Paul Davis 2756be4b62 add an option to control the maximum MIDI note height (not yet GUI exposed) 2023-02-05 11:36:24 -07:00
Paul Davis 0bce5d24de update preferences metadata object 2023-02-05 10:58:11 -07:00
Paul Davis 38b3e88582 more preferences metadata 2023-02-05 10:57:47 -07:00
Paul Davis e446e4c501 more preferences metadata 2023-02-05 10:41:03 -07:00
Robin Gareus 3105dcfbbc
Tweak new-plugins-active tooltip 2023-02-05 16:07:52 +01:00
Robin Gareus be1462357b
Expose preference to create sidechain ports by default 2023-02-05 16:07:13 +01:00
Robin Gareus f035a0baed
Remove prefs-search test-code 2023-02-05 15:36:43 +01:00
Robin Gareus 3cb89b7c6e
List custom resampler quality settings in prefernces 2023-02-05 03:38:35 +01:00
cooltehno b4169a0391
Update blueberry_milk-ardour.colors 2023-02-04 23:43:53 +01:00
Robin Gareus 380005f50f Update preference to set macOS render performance 2023-02-04 22:34:12 +01:00
Robin Gareus c707b056af
Add some preference search tags 2023-02-04 06:58:02 +01:00
Robin Gareus 51e93399ba
Update vari-speed availability, depending on port-resampler 2023-02-04 03:21:27 +01:00
Robin Gareus 19b8069720
Add preference to set port-resampler-quality 2023-02-04 03:20:47 +01:00
Robin Gareus 5316ac38e7
Export Dialog: remove redundant calls 2023-02-04 00:24:19 +01:00
Robin Gareus b421cd26bb
Export Dialog: correctly init export channels
The state has to be pushed to the manager during initialization,
otherwise channel_config remains unset.

This fixes an issue with files using the same filename
(missing channel name) during stem export.
2023-02-04 00:24:07 +01:00
Robin Gareus 14606ac655
Rec-stop only writes a pending (recovery) file (#9215)
This is consistent, since after handling the
`SaveSessionRequested` signal the session remains dirty
(which may be a bug). However since the signal is handled
by the GUI, rec-stop only saves the session if there is a GUI.

It is however somewhat dangerous. Record, quit + no-save (or
changing snapshots w/o saving first) will loose any references
to the recorded data (even though it is still on disk).

Note that "remove last capture" still saves the session
(to prevent references to non-existent sources).
2023-02-03 07:56:49 +01:00
Paul Davis 160ed4d056 tweak generation process for preferences metadata and start adding some 2023-02-01 18:14:33 -07:00
Paul Davis 1333f39621 searchable prefs: fix behavior after find failure 2023-02-01 18:10:56 -07:00