Skip to content

SiPi1/Vitalizer

Repository files navigation

Vitalizer

A vital preset optimizer

Process

  1. main.py is launched.
  2. main.py calls gui.py
  3. gui.py finishes and returns the User Input variables to main.py
  4. main.py loops through all the files in original_presets and extracts the Processing variables
  5. main.py either sends a dictionary (https://pastebin.com/czG8igxq) for all of the files, or sends them one at a time, containing both User Input variables and Processing variables to processing.py
  6. processing.py processes the files and either returns the to main.py or sends them off to optimized_presets

Processing variables

file_path // string // The file path of the preset

disabled_prefixes // list // A list of the disabled prefixes

file_data // dict // The entire preset file data in dictionary form

User Input variables

Stick to using these for all user inputs so our programs can work together

round_amount // int // The amount each parameter/knob is rounded too.

pretty_file // bool // Will pretty print the new JSON file for easy reading if true

round_lfos // bool // Will round LFO's if true

delete_unused // bool // Enables deleting of all unused data from prefixes in disabled_prefixes if true

Directory Info

Folders

original_presets

Where you put the presets you want optimized, currently contains the april 2021 free patch sharing thread bank

optimized_presets

Where the presets go after optimization

data

Contains general use data, such as a list of available prefixes

Files

main.py

The heart of the opperation

gui.py

Contains the GUI of the program and is the only part that the user ineracts with

processing.py

Contains the guts and actual functionality of the program.

About

A vital

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages