
Originally Posted by
GeekGod
I have been looking for a reason to get started with your midimasher lua software and this might be the perfect start...
this kind of stuff is a lot simpler... this example is going to look like giberish - but its the only code needed to create a shift button that toggles and create a virtual yfader on a set of buttons that is used to control the overall level for deck A (with feedback from traktor) and when the toggle is pressed (toggled
) it then switches to displaying the monitor level (on a launchpad - but is a generic):
Code:
toggle_modifier("lp", "vol", 4, lp_hi_yellow, lp_lo_red, "lp_vu_toggle")
virtual_yfader("lp", 7, 3, 4, "traktor", "volume_fader_a", 0, 8, lp_hi_yellow, lp_lo_red, 0, 127, true, "traktor", "monitor_deck_afl_mono_a", 0, "lp_vu_toggle")
probably not the best first example - but does show how much u can do with very little code in a config file.
also reminds me i need to write some/any actual documentation for the core functions sometime...
Bookmarks