raganmd
12/14/2017 - 1:33 PM

td-recalling-presets5.py

mono_defaults       = mod( op( 'text_defaults' ) ).mono_defaults
level_defaults      = mod( op( 'text_defaults' ) ).level_defaults

for keys, values in mono_defaults.items():

    #reset mono defaults for A 
    op( 'mono_a' ).pars( keys )[ 0 ].val = values   

    # debut print so you can see what this is actually doing
    # print( "op( 'mono_a.par' )." + keys + " = " + str( values ) )

for keys, values in level_defaults.items():

#   #reset level defaults for A 
    op( 'level_a' ).pars( keys )[ 0 ].val = values