-
/* \envelope_map Creates an UMap for indexing an envelope. index: the index (0-1, modulatable) env: an Env or EnvM object, containing time and level values. The 'env' arg range is mapped to that of the parameter to which the UMap is connect ...
-
... structured by scenes, and one uses the mapCCS (scene, name, action) method for mapping. The layout is: kn01 kn02 kn03 kn04 kn05 kn06 kn07 kn08 kn09 kn10 kn11 kn12 kn13 kn14 kn15 kn16 see also PFKtl , MIDIKtl , NanoKtl first example // make ...
-
... true, addScale); } applyToEvent { arg event, unmap = false, addScale=false; var mapping = if(unmap) {Êunmaps } {Êmaps }.at(name); var degree; event.use { degree = ~degree; if(degree.isNumber) { // disable scale step remapping, // it is prob ...
-
... he label of the slot key_ ( ) Set the label of the slot (done internally when a mapping is added with the method add of SWDataNetwork) type ( ) The type of the slot. 0 is number (float), 1 is string (see the subclass SWDataStringSlot ). - D ...
-
PFKtl : MIDIKtl { classvar <>verbose = false; var <>softWithin = 0.05, <lastVals; var <valRange, <minval, <range; init { super.init; orderedCtlNames = ctlNames.keys.asArray.sort; lastVals = (); this.valRange = [0, 127]; } norm { |val| ^val ...
-
DualNumberEditorGUI : NumberEditorGui { var <fractsl; slider { arg layout, x=100,y=15; var r; slv = GUI.slider.new(layout, Rect(0,0,100,15)); slv.setProperty(\value,model.spec.unmap(model.int)); slv.action_({arg th; model.activeValue_(model ...
-
DualNumberEditorGUI : NumberEditorGui { var <fractsl; slider { arg layout, x=100,y=15; var r; slv = GUI.slider.new(layout, Rect(0,0,100,15)); slv.setProperty(\value,model.spec.unmap(model.int)); slv.action_({arg th; model.activeValue_(model ...
-
/* gplv3 hjh */ /* Intended flow: - Syn is the driver. - When a Syn releases (n_end), it broadcasts didFree. - Dependants should include: - All Plug subclasses. - The AutoReleaseBus? (Yes. Plugs may in theory end early.) Plug:asPluggable ta ...
-
>> vol 1 midicc_(19) == radpost == MIDIdef.cc('hid1', {arg ...args; {|val| ("Ndef('track1').set('volume', " ++ val ++ ")").radpostcont.interpret; }.({|val| val.round(0.1)}.([-90.0, 6.0, 'db'].asSpec.map(args[0].linlin(0, 127, 0, 1.0))) )},1 ...
-
IdxItemsSpec { var <items, <warp, <default, <spec, size; *new { |items, warp = 0, default| ^super.newCopyArgs( items, warp, default ).init; } init { size = items.size; spec = [ -0.5, size - 0.5, warp, 1].asSpec; // default is in mapped rang ...