i am currently mapping my AKAI APC40 and the only thing i cant figure out is how to make my loop control on the same knob. currently i have it set up on two knobs one for smaller and one for expanding. any ideas or suggestions?
Posted Wed 12 Feb 14 @ 2:38 pm
you can do it two ways
this will go from 0.25 to 32
param_smaller 0% ? loop_select -1 : loop_select +1
if you want to go do smaller and larger sizes you can use
param_smaller 0% ? loop_select 0.625 ? nothing : loop 50% : loop_select 128 ? nothing : loop 200%
you can change the colored numbers to the sizes you want to stop at,
this will go from 0.25 to 32
param_smaller 0% ? loop_select -1 : loop_select +1
if you want to go do smaller and larger sizes you can use
param_smaller 0% ? loop_select 0.625 ? nothing : loop 50% : loop_select 128 ? nothing : loop 200%
you can change the colored numbers to the sizes you want to stop at,
Posted Wed 12 Feb 14 @ 2:45 pm
thank you. I have tried both and it ether just makes the loop bigger or just smaller I'm looking to do both on the same knob is it possible? I have also tried other ideas and still having the same issue.
Posted Sat 22 Feb 14 @ 9:08 pm
you must not have properly defined it. to do it properly you need to add the "zero" attribute to the encoder line.
this is from the wiki
- zero: set the cc value that represents zero. For a jog that sends 0x01 for forward movement and 0x7F for rewind, set this to "0" (default). For a jog that sends 0x41 for forward movement and 0x3F for rewind, set this to "0x40".
to get the information above you can use miditrace. it will show when you select the apc as the device it listens to on the right, then move the encoder.
you would modify the definition as follows
<encoder cc="0x00" zero="0x40" deck="1" name="myEncoder" />
If you don't define it properly this should work, but I recommend you do it the right way in the definition as it only takes a minute to fix.
param_smaller 50% ? loop_select 0.625 ? nothing : loop 50% : loop_select 128 ? nothing : loop 200%
this is from the wiki
- zero: set the cc value that represents zero. For a jog that sends 0x01 for forward movement and 0x7F for rewind, set this to "0" (default). For a jog that sends 0x41 for forward movement and 0x3F for rewind, set this to "0x40".
to get the information above you can use miditrace. it will show when you select the apc as the device it listens to on the right, then move the encoder.
you would modify the definition as follows
<encoder cc="0x00" zero="0x40" deck="1" name="myEncoder" />
If you don't define it properly this should work, but I recommend you do it the right way in the definition as it only takes a minute to fix.
param_smaller 50% ? loop_select 0.625 ? nothing : loop 50% : loop_select 128 ? nothing : loop 200%
Posted Sat 22 Feb 14 @ 9:16 pm
I downloaded someones definition for the apc I did not define it myself. I'm just mapping it.
Posted Sat 22 Feb 14 @ 9:26 pm
doesn't mean you can't modify it. just open it in notepad ;-)
Posted Sat 22 Feb 14 @ 9:28 pm
ahhh thank you thank you sooooo much!!!!!!!
Posted Sat 22 Feb 14 @ 10:00 pm
he had all of the encoders set as such
<slider cc="0x37" name="Track_Control_8" />
<slider cc="0x36" name="Track_Control_7" />
<slider cc="0x35" name="Track_Control_6" />
<slider cc="0x34" name="Track_Control_5" />
<slider cc="0x33" name="Track_Control_4" />
<slider cc="0x32" name="Track_Control_3" />
<slider cc="0x31" name="Track_Control_2" />
<slider cc="0x30" name="Track_Control_1" />
this is what he had for all of the endless knobs
<slider cc="0x37" name="Track_Control_8" />
<slider cc="0x36" name="Track_Control_7" />
<slider cc="0x35" name="Track_Control_6" />
<slider cc="0x34" name="Track_Control_5" />
<slider cc="0x33" name="Track_Control_4" />
<slider cc="0x32" name="Track_Control_3" />
<slider cc="0x31" name="Track_Control_2" />
<slider cc="0x30" name="Track_Control_1" />
this is what he had for all of the endless knobs
Posted Sat 22 Feb 14 @ 10:06 pm
may that be the reason why its not working? or will that definition work or do i need to go and redo the definition correctly?
Posted Sat 22 Feb 14 @ 10:08 pm
no worries, glad you got it sorted.
Posted Sat 22 Feb 14 @ 10:11 pm
<encoder cc="0x37" name="Track_Control_8" />
<encoder cc="0x36" name="Track_Control_7" />
<encoder cc="0x35" name="Track_Control_6" />
<encoder cc="0x34" name="Track_Control_5" />
<encoder cc="0x33" name="Track_Control_4" />
<encoder cc="0x32" name="Track_Control_3" />
<encoder cc="0x31" name="Track_Control_2" />
<encoder cc="0x30" name="Track_Control_1" />
this is what I have changed it to, is this correct?
<encoder cc="0x36" name="Track_Control_7" />
<encoder cc="0x35" name="Track_Control_6" />
<encoder cc="0x34" name="Track_Control_5" />
<encoder cc="0x33" name="Track_Control_4" />
<encoder cc="0x32" name="Track_Control_3" />
<encoder cc="0x31" name="Track_Control_2" />
<encoder cc="0x30" name="Track_Control_1" />
this is what I have changed it to, is this correct?
Posted Sat 22 Feb 14 @ 10:26 pm
which mapping are you using? "ReThink" or "niki the kid's"
Also from the looks of that definition Akai might handle the encoder part in the firmware and just let the users use it as an absolute knob.. They did the same thing on my mpd24. you need to open miditrace to see what messages the encoders send. if it's just one for either direction then you have an encoder. if it spits out lots of midi messages when you turn it, then you have a basic absolute slider.
In the case of a slider return the definition to the way it was and just change the mapping
what loop sizes do you want? largest and smallest size please, then I will do the mapping for you.
Also from the looks of that definition Akai might handle the encoder part in the firmware and just let the users use it as an absolute knob.. They did the same thing on my mpd24. you need to open miditrace to see what messages the encoders send. if it's just one for either direction then you have an encoder. if it spits out lots of midi messages when you turn it, then you have a basic absolute slider.
In the case of a slider return the definition to the way it was and just change the mapping
what loop sizes do you want? largest and smallest size please, then I will do the mapping for you.
Posted Sat 22 Feb 14 @ 10:37 pm
I'm using REthink. I will have to check that out. and for the loop length's i would like to be able to go to from min to max if possible.
Posted Sun 23 Feb 14 @ 1:30 am
what's min and max to you... VDJ has no limit of the size.. but if it's mapped to an absolute knob you don't want too many areas on the knob otherwise it will be hard to use, the default is a 1/4 to 32.
Posted Sun 23 Feb 14 @ 1:46 am
when I open miditrace this what is in the send tab "F0 7E 7F 06 01 F7" but I can't do anything with miditrace. is there anything special I'm supposed to do with miditrace I have never used it before last night. and for the loop sizes the max is fine at 32 I realized i never use loops bigger than 32 but for the min I do wind it up pretty tight.
Posted Sun 23 Feb 14 @ 12:51 pm
thank you again synthet1c. I know that I was a pain, but that is what i had in mind. but if I wanted to make another loop select go a little smaller. lets .200 or .150 how would I adjust the percents? or is there any charts that I could go by or are they random?
Posted Tue 25 Feb 14 @ 9:18 pm
I wrote a little bit of javascript to write the code for me.. I just enter the smallest and largest loop sizes in a function. if you tell me the smallest and largest sizes I'll do it for you and post it up here. you can keep halving from 1 to get your desired loop size. in a calculator you would use 1 * 0.5 and keep pressing enter. but remember that the smaller you go the smaller the individual sections of your knob and the harder it will be to select the correct size.
if you want to test it out in vdj you can map a button or key to "loop 50%", then put your deck on a one beat loop. After that you can press the button until you get to your desired size... just remember how many times you pressed the button and press enter the same amount of times in the calculator to get the smallest size.
if you want to test it out in vdj you can map a button or key to "loop 50%", then put your deck on a one beat loop. After that you can press the button until you get to your desired size... just remember how many times you pressed the button and press enter the same amount of times in the calculator to get the smallest size.
Posted Tue 25 Feb 14 @ 9:43 pm
that makes sense. but now that I have played around with it a bit I think i don't need to adjust it, but if so I will use the above advice.thank you again.
Posted Tue 25 Feb 14 @ 10:30 pm





