View Issue Details

IDProjectCategoryView StatusLast Update
0008246ardourfeaturespublic2020-08-12 15:30
Reportersapista Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformArchOSLinuxOS Version(any)
Product Version6.0 
Summary0008246: OSC messages to query current panner mode
DescriptionIn Ardour there are several panner control widgets depending on the strip number of channels and user-selected panner settings. To simplify it, I will only focus on mono and stereo strips. In such case, we can have three possible panner modes:

1. Mono panner for a single input strip: the stereo width parameter is there but is always set to 1 and the panner only operates the stereo position control.
2. Stereo Balance. This is very similar to the previous but for strips with two inputs.
3. Equal power Stereo. This is a really powerful panner available for a two inputs strip which allows setting the stereo width.

The problem is that from a control surface point of view there is no way to know which of the three modes is used. I'm using a touchscreen in my control surface to draw a widget for the panner and it would be nice knowing which mode is used for a given strip so a more appropriate widget can be drawn in each case.

I suggest adding an osc command to query this information from Ardour.
TagsNo tags attached.

Activities

ovenwerks

2020-07-01 16:49

reporter   ~0024554

Query or just add feedback? With query, the controller asks and the server responds but if the panner type is changed then the controller doesn't know about this. With feedback, when the controller first finds out about a strip (either when first started or when banked) it sends all it knows about the strip which could include panner type and if panner type changes (which OSC code already monitors, though it doesn't know what the type is) could send a feedback message at that time. I personally feel the whole idea of querying volatile controls does not really make sense. Setting a surface up with a loop that queries a control on a regular basis just adds traffic. I feel the addition of querying to the OSC spec in the never released 1.1 version, was a mistake.

sapista

2020-07-05 13:52

reporter   ~0024605

Completely agree. In fact, feedback is much better here. However, maybe query could be useful to guarantee an OSC controller finds all initial settings of Ardour mixer. Then, the OSC surface can rely on feedback to keep the setting updated.

ovenwerks

2020-08-12 15:30

reporter   ~0024925

Panner type feedback has been added as of commit: 7ab67c42dcd6b80bfbd0381f95e9ea22bd819e4e

The initial state would be sent to the control surface with either a strip/list, banking and a set_surface. The panner type may change with banking, a panner change in the GUI, etc. The panner types will be listed as Ardour sees them internally:
none (midi with no instrument)
panner_1in2out
panner_1in1out
panner_balance
panner_2in2out
etc. (greater than stereo will also be shown)
Hopefully this will be enough for creating custom widgets for each panner

Issue History

Date Modified Username Field Change
2020-06-15 16:52 sapista New Issue
2020-07-01 16:49 ovenwerks Note Added: 0024554
2020-07-05 13:52 sapista Note Added: 0024605
2020-08-12 15:30 ovenwerks Status new => closed
2020-08-12 15:30 ovenwerks Resolution open => fixed
2020-08-12 15:30 ovenwerks Note Added: 0024925