Page 9 of 18

Re: Note Mode for the APC40 - Python Scripts

Posted: Tue Jul 13, 2010 6:53 am
by flippo
Semuta wrote:The behavior I've observed is that ableton updates like control numbers only after input on the controller has stopped. I've seen this behavior on automapped controls as well as manually mapped controls. I think it's to prevent loops if a controller has thru turned on.

S

it makes motorized faders a little bit useless unfortunately :(

Re: Note Mode for the APC40 - Python Scripts

Posted: Tue Jul 13, 2010 3:19 pm
by rossi680
Thank you for this brilliant work and please keep it up!
I've bought the nativekontrol patch CL1 last year, but now i'm only using your remote script (because of the midi-mapable clip-matrix user modes )
GREAT!
Hanz_Petrov wrote: - do you mean that you would want to have the Track Control encoders mapped as a set of 8 volume controls (1 per track) in place of the User Mode? (If so, this would not be difficult to do, and I tend to agree that Track Control User Mode is only marginally useful...)
Oh no!
please don't replace the "user mode" of the track controls!!!
For me it's necessary, cause i normaly use the "pan" as my "user mode" cause i never used them for panning ..
I've always mapped my 8 essential controls of the whole song to this 8 knobs.
(e.g.: from track 1-hipass of Bassdrum ,from track 2 decay of Hihats,from track 3 filter cutoff of bassline ... etc.)
So i can use this controls at the same time as the selected device on the device controls.
I know no other possibility to map controls, regardless of what track is selected, to the apc without loosing the function of sends a-c or device control..

With you script it doesn't work to map any of the track controls manualy without loosing the other functions, exept of the "user mode"..

i hope you know what i try to explain, otherwise try thinking about..
...something like a "user mode" is VERY IMPORTANT for playing live..


best regards
rossi

Re: Note Mode for the APC40 - Python Scripts

Posted: Tue Jul 13, 2010 9:58 pm
by Captain Johnson
WOAH!!! This has blown my socks off!!! Didn't realise you didn't need M4L or Bomes crap!! Giving this a whirl asap!!! :D

Can you control two separate devices on two different tracks at the same time with this stuff?????

Best

Re: Note Mode for the APC40 - Python Scripts

Posted: Tue Jul 13, 2010 11:26 pm
by Markemark
Captain Johnson wrote:WOAH!!! This has blown my socks off!!! Didn't realise you didn't need M4L or Bomes crap!! Giving this a whirl asap!!! :D

Can you control two separate devices on two different tracks at the same time with this stuff?????

Best
You sure can!!!! :D

Re: Note Mode for the APC40 - Python Scripts

Posted: Wed Jul 14, 2010 12:02 am
by Captain Johnson
Please tell an idiot like me how please??? All I can do right now is mirror one tracks device!!!!


oooohhhh This is amazing already though!! Take that M4L and Bomes!! All we need now is a step sequencer and we are there!! :wink:

Re: Note Mode for the APC40 - Python Scripts

Posted: Wed Jul 14, 2010 2:20 am
by Markemark
Captain Johnson wrote:Please tell an idiot like me how please??? All I can do right now is mirror one tracks device!!!!


oooohhhh This is amazing already though!! Take that M4L and Bomes!! All we need now is a step sequencer and we are there!! :wink:
1. Select the first device you would like to control.
2. Press Shift + Send A to enter device/mirror mode.
3. Now lock the device to the Track Control section by pressing the Pan button.
4. Select the second device you would like to control.
5. Press Shift + Tap Tempo, that will lock that device to the Device Control section.

You can now move around to different tracks and the master, but your two devices stay on the controls. Don't forget the best part, you can still access different banks of the device in the Track Control sections by pressing the Send B and Send C buttons :D :D Send A turns the device on/off!!! Hanz has added features that are very consistent and intuitive.

Re: Note Mode for the APC40 - Python Scripts

Posted: Wed Jul 14, 2010 7:42 am
by Captain Johnson
AWESOME!!! also how do you draw in note mode??? to live record patterns etc... :oops:

Re: Note Mode for the APC40 - Python Scripts

Posted: Wed Jul 14, 2010 9:36 am
by Markemark
Captain Johnson wrote:AWESOME!!! also how do you draw in note mode??? to live record patterns etc... :oops:
Well, first go into the preferences and make sure your apc has "track" turned on for input/output. Then make sure your midi track has "all ins" selected, or just the apc. Then simply arm the track, create say a 2 bar clip and start it looping. Then go into one of the drum/note modes, turn on midi overdub and tap some pads!!! If you mess up just press "Shift + Nudge -" to undo, if you mess up again please turn on rec quantization :mrgreen: :mrgreen:

Re: Note Mode for the APC40 - Python Scripts

Posted: Wed Jul 14, 2010 11:21 pm
by Captain Johnson
Sorted!! :D Best thing ever!!

Hanz is the man!

Best

Re: Note Mode for the APC40 - Python Scripts

Posted: Fri Jul 16, 2010 2:09 am
by Hanz_Petrov
Hey all,

APC40_22 revision 2 is up at my blog, on the support files page. Turns out that the new Axiom DirectLink scripts found in 8.1.5b1 hold the key to eliminating the encoder LED lag. The LEDs now update in "real time", when device parameters are being controlled by another control element (such as a slider in User Mode, or a different encoder, or a different control surface).

Enjoy.

Hanz

PS: @Markemark - I've been thinking about implementing your Volume encoder idea - maybe as a sub-mode accessible from User Mode (Shift + Send C), via one of the four buttons. The other three User Mode buttons could then be used to select among 3 user-assignable sub-modes for mapping the 8 encoders (if we haven't run out of MIDI channels by then ;). Quite a bit of new code would be required, however, so I may not get around to it for a while.
PPS: I modified the Subject Line of the thread, to better represent the current state of the scripts; hope nobody minds... ;)

Re: APC40 - Note Mode, 2nd Device Control, EQ Mode & User Modes

Posted: Mon Jul 19, 2010 4:45 pm
by Captain Johnson
Ooooh baby!!! This looks like a stayer for me!!! I like having shift+C functioning as user mode, as I make full use of it!!!!

Is there a user mode in matrix funtions, kinda like the launchpad has or is there one already and I'm being stupid again!! :oops: :wink:

P.s - I love you Hanz Mwah!! Xxx

Re: APC40 - Note Mode, 2nd Device Control, EQ Mode & User Modes

Posted: Tue Aug 10, 2010 2:39 pm
by bobymicroby
Hello Hanz,

I tried to rewrite the functionality of the shift + Send A mode for the track control to follow the device after the current selected one but
without success. I haven't written python before but so please can you take a look at the code ?

EncoderDeviceComponent.py

...


def on_selected_track_changed(self):
if self.is_enabled():
if self._is_locked != True:
track = self.song().view.selected_track
selected_device = track.view.selected_device
next_index = 1+ list(track.devices).index(selected_device)
if next_index>len(track.devices):
self._alt_device.set_device(selected_device)
self._setup_controls_and_buttons()
else:
self._alt_device.set_device(track.devices[next_index])
self._setup_controls_and_buttons()

...

Re: APC40 - Note Mode, 2nd Device Control, EQ Mode & User Modes

Posted: Wed Aug 11, 2010 2:50 am
by Hanz_Petrov
@bobymicroby: I'll try to find time to take a look, but it would certainly help if you'd apply the Code style to the lines of code in your post (right beside the Quote button in the forum post editor), so that you don't lose the indentation. Also, what does the log file say? It should be giving you a good idea as to where the errors lie.

Hanz

Re: APC40 - Note Mode, 2nd Device Control, EQ Mode & User Modes

Posted: Wed Aug 11, 2010 3:05 am
by Hanz_Petrov
Hey all,

A new revision to the APC40_22 script (revision 3) is now up at my blog, on the Support Files page. You can now press & hold the Pan button, to switch between Pan Control Mode and Volume Control Mode for the track controls (i.e. use the track encoders as volume controls).

Best,

Hanz

PS: Let me know if you find anything broken. ;)

Re: APC40 - Note Mode, 2nd Device Control, EQ Mode & User Modes

Posted: Wed Aug 11, 2010 9:25 am
by Markemark
Hanz_Petrov wrote:Hey all,

A new revision to the APC40_22 script (revision 3) is now up at my blog, on the Support Files page. You can now press & hold the Pan button, to switch between Pan Control Mode and Volume Control Mode for the track controls (i.e. use the track encoders as volume controls).

Best,

Hanz

PS: Let me know if you find anything broken. ;)
Hi Hanz,
Great to see your still coding away on this project. I like how you implemented the volume mode directly without using the shift modes. Do you need the delay(hold) though? I think a simple toggle would be more natural. This is also kinda petty but I do appreciate your attention to detail when coding so I'll mention it. When you shift through the track control modes "user mode" and now "volume mode"(not pan) do not become active until the shift button is released, this is not the case with the other modes they will become active as soon as there mode button is pressed regardless if shift is released. One definite bug is when you either delete or add a track the faders do not realize the change until you press shift. Maybe the later will fix the former or vice versa!!! :mrgreen:

I think all would agree beers on us if your ever in the neighborhood, Thanks again!!!!! :lol: :lol:

p.s. I'm not expecting you to implement this anytime soon or at all, but did you ever look into if Live sends out its meter data? I mentioned a couple pages back to see the volumes output meters using the encoder leds. I'm curious because if this is possible they will probably implement it on future apc's/controllers. I'm sure you read there's now some speculation of screens, motorized faders, etc.