Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make MIXED and CUSTOM also inputs #6

Open
whatmusicreallyis opened this issue Jan 13, 2019 · 0 comments
Open

Make MIXED and CUSTOM also inputs #6

whatmusicreallyis opened this issue Jan 13, 2019 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@whatmusicreallyis
Copy link
Owner

MIXED and CUSTOM inputs

Turn the MIXED and CUSTOM fields also in inputs (currently working only as outputs).
Adjust the behavior of their additional input-fields/check-boxes.

MIXED:

  1. output:
  • The mult text input should be empty by default. (Output of MIXED will remain unpopulated until user inputs the mult.) Orange border could indicate need for user input.
  • User inputs a ratio coming from ASC or DESC. Algorithm finds where it came from, then divides all values from the detected series by the inputted value.
  • Changing the mult text input will only affect output of MIXED, without re-writing all other fields. (Only when MIXED is modified by user will other fields re-write.)
  1. input:
  • When user inputs series of fractions in MIXED, algorithm will fill the mult text input automatically, no matter current state/value:
  • output of mult is done by place value. It is my arbitrary choice to use values from the ascending series. (Example: if user inputs 3/4, 1/1, 3/2 in the MIXED field, algorithm outputs ASC 1/1, 4/3, 2/1 and chooses 4/3 to fill in the "mult", because this is the 2nd value from left in ASC which corresponds to 1/1 being 2nd from left in MIXED.)

CUSTOM:

  1. output:
  • RefRat, Value and Asc/Desc/Mixed should have no value / be unchecked by default. (Output of CUSTOM will remain unpopulated until user inputs RefRat & Value and chooses between Asc/Desc/Mixed.) Orange border could indicate need for user input.
  • Output algorithm currently works as desired. (Calculations are done properly. Changing the RefRat, Value and Asc/Desc/Mixed only affects output of CUSTOM, without re-writing all other fields. This behavior should remain unchanged.)
  1. input:
  • When user inputs series of numbers (with up to 3 decimals) in CUSTOM, algorithm will perform the same operations as when ASCI is used for input. Also it will fill/check the RefRat, Value and Asc/Desc/Mixed automatically, no matter current state/value:
    Output of RefRat will always be set to the value 1/1.
    Output of Value will be set to the first (lowest) term inputted in CUSTOM.
    Output of Asc/Desc/Mixed will be set to Asc.
@whatmusicreallyis whatmusicreallyis added bug Something isn't working help wanted Extra attention is needed labels Jan 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants