Re: controlling azr-3 drawbars from my keyboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 06, 2009 at 03:02:56PM +0200, David Adler wrote:
> On Tue, Oct 6, 2009 at 12:05 AM, Atte Andre Jensen
> <atte.jensen@xxxxxxxxx> wrote:
> > Arnold Krille wrote:
> >
> >> The first set is controllers 13 - 21. At least that's what my set up keyboard
> >> tells me...
> >
> > Ok, thanks.
> >
> > Are these configurable (other than in the source) or should I (sigh)
> > change this on my keyboard. Sigh, because this is done by pressing
> > strange things while holding other strange things with your nose :-(
> >
> AFAIK they are not configurable. Went through the pain of assigning
> controllers on the hardware once, since then I prefer simple Pd
> patches to change controller messages into whatever is required.
> Mididings or Qmidiroute are other options.
> A while ago I posted a list of azr3 midi bindings, they seemed to be
> undocumented elsewhere.
> http://lists.linuxaudio.org/pipermail/linux-audio-user/2009-May/060108.html
> 

They are configurable, if you feel like editing source code. Which, I have done for mine (attached).

Notice the comments in the matrix; makes it a lot easier to figure out which CC's are assigned to what.

I found the constant names for the various items to be pretty self-explanatory.

-ken
Index: azr3/azr3.cpp
===================================================================
RCS file: /sources/ll-plugins/azr3-lv2/azr3/azr3.cpp,v
retrieving revision 1.13
diff -u -b -B -w -p -u -b -B -w -p -r1.13 azr3.cpp
--- azr3/azr3.cpp	1 Jan 2008 21:34:21 -0000	1.13
+++ azr3/azr3.cpp	10 Apr 2008 06:41:02 -0000
@@ -1203,14 +1203,133 @@ unsigned char AZR3::received_program_cha
 }
 
 
-uint32_t AZR3::cc_map[128] = { 63, 49,  1,  2,  3,  4,  5, 10,  6,  7,  8,  9,
-			       11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
-			       23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
-			       35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
-			       47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
-			       60, 61, 62, 63, 63, 63, 63, 63, 63, 63, 63, 63,
-			       63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
-			       63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
-			       63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
-			       63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
-			       63, 63, 63, 63, 63, 63,  0, 63 };
+uint32_t AZR3::cc_map[128] = { 
+  63, // CC 0  nothing
+n_speed, // CC 1
+63, // CC 2
+63, // CC 3
+63, // CC 4
+63, // CC 5
+63, // CC 6
+n_master, // CC 7
+63, // CC 8
+63, // CC 9
+63, // CC 10
+n_vol1, // CC 11
+63, // CC 12
+63, // CC 13
+63, // CC 14
+63, // CC 15
+63, // CC 16
+63, // CC 17
+63, // CC 18
+63, // CC 19
+63, // CC 20
+63, // CC 21
+63, // CC 22
+63, // CC 23
+63, // CC 24
+63, // CC 25
+63, // CC 26
+63, // CC 27
+63, // CC 28
+63, // CC 29
+63, // CC 30
+63, // CC 31
+63, // CC 32
+63, // CC 33
+63, // CC 34
+63, // CC 35
+63, // CC 36
+63, // CC 37
+63, // CC 38
+63, // CC 39
+63, // CC 40
+63, // CC 41
+63, // CC 42
+63, // CC 43
+63, // CC 44
+63, // CC 45
+63, // CC 46
+63, // CC 47
+63, // CC 48
+63, // CC 49
+63, // CC 50
+63, // CC 51
+63, // CC 52
+63, // CC 53
+63, // CC 54
+63, // CC 55
+63, // CC 56
+63, // CC 57
+63, // CC 58
+63, // CC 59
+63, // CC 60
+63, // CC 61
+63, // CC 62
+63, // CC 63
+63, // CC 64
+63, // CC 65
+63, // CC 66
+63, // CC 67
+63, // CC 68
+63, // CC 69
+63, // CC 70
+63, // CC 71
+63, // CC 72
+63, // CC 73
+63, // CC 74
+63, // CC 75
+63, // CC 76
+63, // CC 77
+63, // CC 78
+63, // CC 79
+63, // CC 80
+63, // CC 81
+63, // CC 82
+63, // CC 83
+63, // CC 84
+63, // CC 85
+63, // CC 86
+63, // CC 87
+63, // CC 88
+63, // CC 89
+63, // CC 90
+63, // CC 91
+63, // CC 92
+63, // CC 93
+63, // CC 94
+63, // CC 95
+63, // CC 96
+63, // CC 97
+63, // CC 98
+63, // CC 99
+63, // CC 100
+63, // CC 101
+63, // CC 102
+63, // CC 103
+63, // CC 104
+63, // CC 105
+n_l_slow, // CC 106
+n_l_fast, // CC 107
+n_u_slow, // CC 108
+n_u_fast, // CC 109
+n_1_db1, // CC 110
+n_1_db2, // CC 111
+n_1_db3, // CC 112
+n_1_db4, // CC 113
+n_1_db5, // CC 114
+n_1_db6, // CC 115
+n_1_db7, // CC 116
+n_1_db8, // CC 117
+n_1_db9, // CC 118
+63, // CC 119
+63, // CC 120
+63, // CC 121
+63, // CC 122
+63, // CC 123
+63, // CC 124
+63, // CC 125
+63, // CC 126
+63, // CC 127
+};
Index: debian/changelog
===================================================================
RCS file: /sources/ll-plugins/azr3-lv2/debian/changelog,v
retrieving revision 1.2
diff -u -b -B -w -p -u -b -B -w -p -r1.2 changelog
--- debian/changelog	18 Dec 2007 12:43:39 -0000	1.2
+++ debian/changelog	10 Apr 2008 06:41:02 -0000
@@ -1,3 +1,15 @@
+azr3-jack (1.0.0-3) unstable; urgency=low
+
+  *  added a few more presets
+
+ -- ken restivo <ken@xxxxxxxxxxx>  Wed, 09 Apr 2008 23:35:26 -0700
+
+azr3-jack (1.0.0-2) unstable; urgency=low
+
+  * using my cc presets
+
+ -- ken restivo <ken@xxxxxxxxxxx>  Sun, 23 Mar 2008 21:22:28 -0700
+
 azr3-jack (1.0.0-1) unstable; urgency=low
 
   * Initial release
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux