Commit graph

36169 commits

Author SHA1 Message Date
Robin Gareus
f3cb657179
Implement MIDI region opaqueness (part 1)
This honors transparent/opaque property of MIDI regions.
Previously all MIDI regions played as if they were unconditionally
transparent.

Further work is needed for backwards compatibility (and default
setting).
2022-09-09 18:37:34 +02:00
Robin Gareus
5adb6eadaf
Fix region coverage display, take audible opacity into account 2022-09-09 17:31:20 +02:00
Robin Gareus
e62f1093ea
Add playlist APIs to find audible regions
This traverses the layered region stack at a given time,
taking both mute and transparency into account.
2022-09-09 17:31:20 +02:00
Paul Davis
9781c1baca triggerbox: prevent downstream crashes if a tempo map or other change invalidates MidiTrigger iter
The iterator into the model can become incorrect in the sense that it is no longer the correct
next event to play. This can happen at least with a tempo map change, and possible under other
conditions. Catch this when it happens, and act as if we reached the end of the trigger
2022-09-09 09:21:43 -06:00
Paul Davis
bb4b07cca6 initial functioning version for library mgmt 2022-09-08 18:19:20 -06:00
Paul Davis
76f44c6025 library mgmt API tweaks 2022-09-08 18:19:20 -06:00
Robin Gareus
5c52112319
Clean up top-level source folder 2022-09-08 17:02:59 +02:00
Robin Gareus
3a06fd85f1
Update Mixbus content URL (use local server) 2022-09-08 17:02:18 +02:00
Paul Davis
07e2518166 steps towards downloading loop libraries 2022-09-08 07:47:14 -06:00
Paul Davis
355685d8b9 2 second time out for library description fetch, to (maybe) avoid threading 2022-09-08 07:47:14 -06:00
Robin Gareus
57430f33c2
Fix file-archive, curl API 2022-09-08 15:46:06 +02:00
Robin Gareus
288c58c5de
Fix/add missing Lua enums 2022-09-08 05:34:05 +02:00
Robin Gareus
d54585b8fb
Remove old SAE file 2022-09-08 02:29:40 +02:00
Robin Gareus
5579cf3289
Remove ancient unused check for FLAC/OGG support
Our build-systems do not even have sndfile-info, and we use
pkg-config now
2022-09-08 02:22:21 +02:00
Paul Davis
922970e338 remove old SAE file 2022-09-07 18:11:39 -06:00
Paul Davis
16e9b5aaca remove useless directory 2022-09-07 18:11:07 -06:00
Paul Davis
73331ae46a libpbd: fix decl of remove_extra_whitespaces 2022-09-07 17:56:52 -06:00
Paul Davis
583bfa8878 remove some library mgmt related code that should not have been committed 2022-09-07 17:27:51 -06:00
Paul Davis
ff2f8f4066 add copyright notices to new files 2022-09-07 17:14:32 -06:00
Paul Davis
5461bfb218 add a new global window for reviewing and (soon) downloading loop libraries 2022-09-07 17:03:08 -06:00
Paul Davis
10ac1901dd push2: temporarily comment display of jump loop actions due to cairo oddity 2022-09-07 17:03:08 -06:00
Paul Davis
fabd111b1f library downloading: continue to improve backend API and implementation 2022-09-07 17:03:08 -06:00
Paul Davis
5563117a1b add remove_extra_whitespace() to libpbd 2022-09-07 17:03:08 -06:00
Paul Davis
bd9fe31778 tweaks to library & downloader API 2022-09-07 17:03:08 -06:00
Paul Davis
78d96ed0c6 library fetcher: API changes and implementation improvements including threaded download 2022-09-07 17:03:08 -06:00
Paul Davis
d388a50579 loop libraries: tentative steps towards fetching and installing ardour.org loop libs 2022-09-07 17:03:08 -06:00
Paul Davis
26b5700957 filearchive: extend API 2022-09-07 17:03:08 -06:00
Robin Gareus
888d91d599 Add action to locate to loop start/end 2022-09-07 19:15:36 +02:00
Robin Gareus
fabb080672
Consistent progress bar text (no dots) 2022-09-07 00:24:33 +02:00
Robin Gareus
2a7d528c5d
Update and consolidate gettext.h
This fixes compilation with --no-nls on modern systems
2022-09-07 00:09:54 +02:00
Alexandre Prokoudine
2912577420 Fix a few typos more 2022-09-04 23:32:25 +03:00
Robin Gareus
109e7d6ea0 When editig sends, show the send's polarity control on mixer-strip 2022-09-04 20:25:51 +02:00
Robin Gareus
db5cb4ec94 Expose Send polarity_control directly 2022-09-04 20:14:09 +02:00
Robin Gareus
72faae2ba9
Update method to disable X11 screensaver
On modern systems `xdg-screensaver reset` does not necessarily
reset the timer. It depends on DPMS, and according to spec turns off
the screensaver (unlock the screen), via `xset dpms force on`.

Explicit window suspend/resume make use of DBus
org.freedesktop.ScreenSaver.Inhibit, which is not be supported
but all systems, so we fall back to good old `XResetScreenSaver`
which does reset the activation timer.
2022-09-04 17:32:16 +02:00
Paul Davis
1eab84b7da push2: remove unconditional setting of canvas item names 2022-09-03 17:48:03 -06:00
Robin Gareus
4863e6b45e Fix mac and windows builds (resolve namespace ambiguities) 2022-09-04 01:37:48 +02:00
Robin Gareus
183604a66b Add polarity invert switch to sends
This allows to invert polarity of the signals of all channels on the
send path. There is intentionally no per channel control.

see https://discourse.ardour.org/t/send-phase-swtich/107564
2022-09-04 01:35:24 +02:00
Robin Gareus
44515cb513 Properly describe polarity invert controls 2022-09-04 01:35:24 +02:00
Robin Gareus
a307a367cc Remove special-case for send-level display name
These days, `describe_parameter()` handles this fine and returns "Send".
This is in preparation for adding a polarity-invert control to sends.
2022-09-04 01:35:24 +02:00
Paul Davis
97540dafde push2: update cue layout when tracks are added 2022-09-03 16:46:41 -06:00
Paul Davis
2d4042abd7 push2: fix handling of pads-as-note-entry during selection changes 2022-09-03 16:46:41 -06:00
Paul Davis
b3b6e94297 push2: fix canvas level meter object so that it draws 2022-09-03 16:46:41 -06:00
Paul Davis
b7d86cb118 push2: track mix layout needs to be setup even if not currently visible 2022-09-03 16:46:41 -06:00
Paul Davis
f13c4d1264 canvas: NOOP - meter, whitespace adjustment 2022-09-03 16:46:41 -06:00
Paul Davis
e5bf2b7ee8 canvas: style, using braces with conditional 2022-09-03 16:46:41 -06:00
Paul Davis
2313e3d333 canvas: meter bounding box does not rely on being on a canvas 2022-09-03 16:46:41 -06:00
Paul Davis
b2ce5f0616 canvas: do not strip layout-sensitivity when adding items to a container 2022-09-03 16:46:41 -06:00
Paul Davis
384530984a canvas: make "debug_render" into a per-canvas member variable
This allows us to debug rendering in specific canvases, rather
than all of them.
2022-09-03 16:46:41 -06:00
Paul Davis
36663210c9 canvas: improve debug trace output during Box::reposition_children() 2022-09-03 16:46:41 -06:00
Robin Gareus
9697187037 Fix erractic timecode detection when extracting LTC from video
Some music using square waves can inadvertently be interpreted as valid
LTC frame. However the encoded data is not a valid timecode, which can
lead huge A/V offsets, or other issues.
2022-09-03 21:39:26 +02:00