hdavid / Launchpad95

Improved Novation Launchpad scripts for Ableton Live
http://motscousus.com/stuff/2011-07_Novation_Launchpad_Ableton_Live_Scripts/
GNU General Public License v3.0
352 stars 82 forks source link

User options / read only #4

Closed thomasf closed 10 years ago

thomasf commented 10 years ago

I want to add is user options to make some values read only. My scenarios is that since I use another controller for track volume/pan (nanoKontrol) I want to make them read only in lp95 so that my physical faders and knobs always are the showing the correct state.

My idea of how it should work is by having launchpad95.ini file in the script directory where read only mode can be set for some track parameter.. If it is easy to generalize this concept without adding lots of code It could be enabled for many parameters. I'll guess that it should mostly matter for the regular stuff like volume/pan/sends so that is my goal for a first version.

I think that I might have some time for this soon.

hdavid commented 10 years ago

Hi, i like the idea of the ini file to configure some options. in a similar vein, i had the idea to save some configuration items (like last selected scales etc), directly inside ableton project. but i doubt this is possible (any comment on that ?)

back to the ini file, i think the features you mention are quite (of not very;)) specific to you case. i am okay with as long as the code change is somewhat small and does not make the project hard to maintain.

cheers,

henri

thomasf commented 10 years ago

It should be a very minor change, if the bundled python has the ini-reader/writer I will use that, otherwise I'll probably use create a settings.py. There is also the more involved way that Push does it where there are several classes (Settings/Setting/OnOffSetting/EnumerableSetting/... ) and each individual setting instance also emit events when the values change and so on, I dont think that t

I haven't anything that saves values inside a live project.. However, if it is possible to find the path of a project one could just save a ini-file or similar alongside the project file.

I will implement this in a while, as a learning project I'm creating a remote script for arturia beatstep from scratch.

thomasf commented 10 years ago

I did implement this a while ago but I decided that I'm only going to use my launchpads for clip stuff and some times as a step sequencer so I haven't really visited the volume pages at all for a long time.. Closing this issue..