Created
April 17, 2023 19:16
-
-
Save tin2tin/4cb6248b8746b7c132382a438f54be38 to your computer and use it in GitHub Desktop.
eq ui
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if mod.type == 'SOUND_EQUALIZER': | |
box.use_property_decorate = False | |
box.use_property_split = False | |
flow = box.grid_flow(row_major=True, columns=0, even_columns=True, even_rows=False, align=False) | |
for i in range(len(mod.graphics)): | |
soundEq = mod.graphics[i] | |
box = flow.column() | |
box.template_curve_mapping(soundEq, "curve_mapping", | |
type='NONE', levels=False, brush=True, use_negative_slope=True, show_tone=False) | |
row = box.row(align=True) | |
row.prop(soundEq.curve_mapping, "clip_min_x", text="Start") | |
row.prop(soundEq.curve_mapping, "clip_max_x", text="End") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment