13
0
Commit Graph

35891 Commits

Author SHA1 Message Date
6627d24c2b push2: add an (x,y) map for pads and use it 2022-08-27 15:53:03 -06:00
a5dd6c1128 push2: lots more clip control functionality and display 2022-08-27 12:55:16 -06:00
a1f69ee63b canvas: tweaks to Arc canvas item
Cairo uses 0 degrees to mean "east", so the "top" or "north" of
a circle is actually -90 degrees
2022-08-27 12:54:43 -06:00
b10a99dcad push2: clip stop ala Live 2022-08-27 08:32:15 -06:00
19db8f9c68 control protocols: fix design of trigger unbang method 2022-08-27 08:32:03 -06:00
3cffca9178 control protocols: add trigger unbang method 2022-08-27 08:26:08 -06:00
8ed8895439 push2: launch clips with pads 2022-08-27 08:15:40 -06:00
26c48aae1b control protocols: add trigger bang method to BasicUI 2022-08-27 08:15:17 -06:00
092fdb5b46 push2: turn off scene buttons when appropriate 2022-08-26 19:31:15 -06:00
1ecdeb25a7 push2: an ever-growing array of cue-related support 2022-08-26 19:23:43 -06:00
f835fb279a push2: don't like the clip button since it does nothing 2022-08-26 17:40:41 -06:00
f57669fbde push2: rename things to match the rest of ardour, and use Session button not Clip
the clip button is intended to "look at" a single clip and edit it
2022-08-26 17:40:04 -06:00
17b0764639 push2: clip view actually visible via button on surface 2022-08-26 16:39:36 -06:00
dd2442b0c2 push2: skeleton for new clip view layout 2022-08-26 16:15:32 -06:00
58d262384b fix error during rebase fixup 2022-08-26 14:49:29 -06:00
7670f87d0a Push2: Use condensed font to avoid overlap in scale menu 2022-08-26 14:10:40 -06:00
7883695ba9 Push2: Implement special "sequential" mode for in-key note grids
This makes "sequential" more or less mean an octave vertical interval,
but only for in-key mode.  For chromatic mode, "sequential" is still just a
naive wrap-around layout for every note.
2022-08-26 14:10:40 -06:00
a6cd0a3f6e Push2: Ensure every pad is set up once when the grid layout changes
This juggles the implementation slightly in a way that's more resilient to
mistakes: the representation of pads in the surfaces is always fully reset
before setting up the grid, and a state message is sent for every single pad
once after the scale algorithm sets things up.

This means that scale algorithms don't need to deal with hairy edge cases like
running off the end of the scale or the valid range of MIDI notes.
2022-08-26 14:10:40 -06:00
b6389bf274 Push2: Show both row and column interval explicitly in the same way
This hopefully makes the layout clearer to people who aren't familiar with what
all the settings mean.
2022-08-26 14:10:40 -06:00
e4e874bed0 Push2: Add "fixed" and "rooted" note grid option 2022-08-26 14:10:40 -06:00
ecd1a9660b Push2: Fix Db root button 2022-08-26 14:10:40 -06:00
380a24b837 Push2: Remove debug printing 2022-08-26 14:10:40 -06:00
e93b7e2507 Push2: Add UI for changing the vertical interval 2022-08-26 14:10:40 -06:00
d5ca05edff Push2: Implement a vertical interval for "tuning" the pads
The implementation is generic, but the actual call is hardcoded to 4ths here.
UI to follow.
2022-08-26 14:10:40 -06:00
b35796af75 Push2: Factor out set_pad_note_kind()
Factors button details out of the scale algorithm, to make it more clear.
2022-08-26 14:10:40 -06:00
2af9c2180a Push2: Mostly fix scale menu text rendering (#8599)
"Mostly" because there are still some issues with horizontal overlap between
entries, but I think that's something that needs to be addressed separately.

Like earlier issues, this was caused by using a screen-derived or default
cairo/pango context.  I also tinkered with some constants to make things look
sensible to me, and hopefully everywhere since it should always look the same
with the context fix.
2022-08-26 14:10:40 -06:00
2a31e0721d Push2: Invert splash screen
This looked janky and out of place to me, since everything else is on black and
the LCD doesn't seem to do light backgrounds very well in general.
2022-08-26 14:10:40 -06:00
c4632da2e7 Push2: Drop "using namespace std"
No functional changes, just makes some more context explicit like the previous
commit.
2022-08-26 14:10:40 -06:00
61088a1a01 Push2: Use consistent naming convention for private member variables
No functional changes, just makes code easier to read.
2022-08-26 14:10:36 -06:00
6379c28b76 remove debug output 2022-08-25 15:15:52 -06:00
13d10582f0 fix behavior of Region::mid_thaw() to match pre-nutempo behavior
We no longer have a distinct "position" property, because the "length" property
defines both extent and position. But we must not call ::recompute_at_start()
when the position has not changed, so here we use Region::last_length() to
simulate the position property.
2022-08-25 15:15:52 -06:00
00a1b7cb24 fix assignment of Region::_last_length in Region::set_length_internal()
this member is always supposed to give the previous length (before
the most recent change to either extent or position)
2022-08-25 15:15:52 -06:00
decd6e6f70
Allow VCAs to control A/PFL 2022-08-24 19:34:00 +02:00
Edgar Aichinger
5a0cc53a94 add a few translations missing in previous commit 2022-08-23 17:01:21 +02:00
Edgar Aichinger
d0da24ae18 update german translation 2022-08-23 16:22:33 +02:00
58c2de2d71
Fix typo 2022-08-23 16:01:18 +02:00
ebe0dd389e Update Russian translation 2022-08-23 10:28:37 +03:00
484ec35b10 Fix a typo 2022-08-23 09:40:28 +03:00
eb3d9f66d9 Fix a typo 2022-08-23 01:52:54 +03:00
e489b0c8de Fix a typo 2022-08-21 23:36:17 +03:00
John Emmas
30efdbe0f8 Some minor reverts to commit #63f94d29463 (from 25th May 2022)
These were preventing Ardour from compiling on Windows (Clang or MSVC)

Possibly would've been buildable with MinGW but I don't have that available to test.
2022-08-21 12:34:10 +01:00
027b6ee9cf Fix compilation with clang (vexing-parse) 2022-08-21 01:02:43 +02:00
ac27bbafcf midi combine: new region is same extent as the combined regions 2022-08-20 14:29:13 -06:00
ef34daedeb MIDI combine: extend new region end to next bar
Also remove debug output
2022-08-19 17:29:53 -06:00
340446b3fd remove checks/tests for JACK and QJackctl during installation
We discourage the use of JACK by first time users these days, and it's really not
our job to make sure it is installed correctly
2022-08-19 16:00:57 -06:00
Mads Kiilerich
121f80d459 surface us2400: fix bad button configuration
Tests showed
	ControlSurfacesTest: Tascam US-2400
	: [ERROR]: Unknown button ID "F7"
	: [ERROR]: Unknown button ID "F8"

This is trying to mitigate it blindfolded.

It doesn't seem like Tascam US-2400 has more than 6 buttons, so it seems
like the profile has been incorrect since it was introduced in 937efdb6.

(But as pointed out in e6de7957, it seems like the profile often isn't
installed and button assignment thus isn't used.)
2022-08-19 11:57:33 -06:00
20258ecb4c Kurzweil PC3A midnam file: remove XML comments not correctly handled by parsing code 2022-08-19 11:55:47 -06:00
Mads Kiilerich
4b8aa51093 artest: clarify that the tool in gtk2_ardour is testing libs/
Avoid confusingly general sounding
	-------------------------------------------
	Running tests for ardour...
	-------------------------------------------
2022-08-19 11:06:28 -06:00
Mads Kiilerich
9f69b8ccd9 tests: more helpful assertion failures from check_nodes
Tests would fail as:

  Test name: AutomationListPropertyTest::basicTest
  equality assertion failed
  - Expected: 4
  - Actual  : 5

It is slightly more informative when the size assertion is the last
check and it fails as:

  - Expected: state
  - Actual  : time-domain

The performance benefits from checking size first is not relevant.
2022-08-19 11:05:52 -06:00
Mads Kiilerich
58cc2aed87 tests: update automation list reference data
With this, all tests are passing for me.

While Ardour doesn't use TDD and has low test coverage, it is nice to
maintain that all active tests are passing.
2022-08-19 10:59:26 -06:00