Page 1 of 1

simple (?) Python scripting

Posted: Tue Nov 07, 2017 3:57 pm
by peeddrroo
I'm trying to get into Python scripting.
So, here's what I want to do :
I want to retrieve the value of a specific device parameter to use it within the script. I'd also like to get the class name of the device.

So for instance, if I load an autofilter on track 1, and when I change its 1st parameter (frequency) on Live's UI, the value will be updated inside the script and I'll be able to monitor it inside the log.txt using log_message(value).
Also, it would display the name "Autofilter" at some point.
I don't want the parameter to spit out any MIDI, I just want the data inside the script.

Can anyone help ? At least point me in the right direction ?
I've studied Julien Bayle's documentation and did a lot of search on the web, but didn't get any luck so far.