Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should APC40 description have much flatter hierarchy? #283

Open
adcxyz opened this issue Dec 2, 2016 · 1 comment
Open

Should APC40 description have much flatter hierarchy? #283

adcxyz opened this issue Dec 2, 2016 · 1 comment

Comments

@adcxyz
Copy link
Contributor

adcxyz commented Dec 2, 2016

The current desc file for the APC40 has a very deep and somewhat confusing hierarchy of elements. It would make sense to replace this with (or add as alternative) a desc file with a very flat hierarchy, which makes access to elements shorter.

Opinions from APC40 users please!

// deep hierarchy as is
MKtlDesc.loadDescs("*apc40").first.postElements;
-> 
\bt,
	\clip, 
		\1, 
			1-8, on/off
	\clipS, 
		\1, 
			1-8, on/off
...

// example for very flat hierarchy: 
clip 
	1, 
		1..8
	.. 
	5, 
		1..8

stop 
	(1..8) ++ \all

trak
	sel 
		1..8
	activ 
		1..8
	solo 
		1..8
	rec 
		1..8
sl 
	(1..8) ++ \master

cue 

trCtl
	kn 
		1..8
	pan, sendA, sendB, sendC,

shift

bank
	left, right, up, down

tap

nudge 
	minus, plus

dvCtl
	kn
		1..8
	cltrk, onoff, left, right

detail
quant
ovdub
metro
play
stop 
rec
xfader
@adcxyz adcxyz added this to the Release 0.9.5 milestone Dec 2, 2016
@gilfuser
Copy link

gilfuser commented Dec 5, 2016

Hi Alberto.
I just sent you a flatter version by email. Take a look if its everything OK.
There's an issue regarding paging. I explain in the email but I'm copying here in case someone out there have an idea of what to do.

The problem is that there's nothing to send a message to change the pages from the controller. There's a row of pads that simply change the midi channels of the elements in the "device control" (a set of eight knobs and four buttons).
For instance if I 'trace' and press the second button in that row, this is what I get:
MKtl('apc40') midi, 'dvCtl_d_2_1' > 0, raw: 0,
msg: 'control', ccNum: 16, chan: 1, type: knob
MKtl('apc40') midi, 'dvCtl_d_2_2' > 0.0157, raw: 2,
msg: 'control', ccNum: 17, chan: 1, type: knob
MKtl('apc40') midi, 'dvCtl_d_2_3' > 0, raw: 0,
msg: 'control', ccNum: 18, chan: 1, type: knob
MKtl('apc40') midi, 'dvCtl_d_2_4' > 0.0236, raw: 3,
msg: 'control', ccNum: 19, chan: 1, type: knob
MKtl('apc40') midi, 'dvCtl_d_2_5' > 0.0157, raw: 2,
msg: 'control', ccNum: 20, chan: 1, type: knob
MKtl('apc40') midi, 'dvCtl_d_2_6' > 0.0236, raw: 3,
msg: 'control', ccNum: 21, chan: 1, type: knob
MKtl('apc40') midi, 'dvCtl_d_2_7' > 0, raw: 0,
msg: 'control', ccNum: 22, chan: 1, type: knob
MKtl('apc40') midi, 'dvCtl_d_2_8' > 0, raw: 0,
msg: 'control', ccNum: 23, chan: 1, type: knob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants