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

Release Resample Notes v1.0 #1481

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

jopoet
Copy link

@jopoet jopoet commented Jan 11, 2025

No description provided.

jopoet added 12 commits January 12, 2025 02:59
updated main script name (Resample Notes Main.lua > daodan_Resample Notes Main.lua)
updated main script name (Resample Notes Main.lua > daodan_Resample Notes Main.lua)
updated main script name (Resample Notes Main.lua > daodan_Resample Notes Main.lua)
updated main script name (Resample Notes Main.lua > daodan_Resample Notes Main.lua)
updated main script name (Resample Notes Main.lua > daodan_Resample Notes Main.lua)
updated main script name (Resample Notes Main.lua > daodan_Resample Notes Main.lua)
updated main script name (Resample Notes Main.lua > daodan_Resample Notes Main.lua)
updated main script name (Resample Notes Main.lua > daodan_Resample Notes Main.lua)
updated main script name (Resample Notes GUI.lua > daodan_Resample Notes GUI.lua)
@cfillion
Copy link
Member

cfillion commented Jan 13, 2025

A few issues:

  • Package name and action filenames should be in sentence case (Resample Notes -> Resample notes) to blend with native REAPER actions and other ReaScripts
  • Typo: "Dulpicate notes octave up (with fx).lua"
  • Are the preset files not meant to be added as actions in the Action List? If they are (eg. manually by the user), then they should have the author prefix ("daodan_").
  • The GUI script is added to both the MIDI Editor and Main section of the Action List but the Main script is only added to MIDI Editor. Is this intentional?

@jopoet
Copy link
Author

jopoet commented Jan 13, 2025

@cfillion Thanks for review.

* Package name and action filenames should be in sentence case (Resample Notes -> Resample notes) to blend with native REAPER actions and other ReaScripts

Ah, it meant to be like "real" name, "Resample Notes" like in "John Doe" (besides being description). But it's not that important, will fix it. Should I keep "Main" and "GUI" suffixes to keep separation from name? Will "daodan_Resample notes Main.lua" and "daodan_Resample notes GUI.lua" be OK?

* Are the preset files not meant to be added as actions in the Action List? If they are (eg. manually by the user), then they should have the author prefix ("daodan_").

They are not loaded so as not to clutter the action list, and yes, if the user wants, he can still load them and use them regular scripts. And since loading is optional and these same files are used as presets in the GUI, I decided not to add a prefix, because I thought that it would take up space in vain, cutting off the real name of the preset. But now I tried and it turned out not to be such a big problem. I'll rename it.

* The GUI script is added to both the MIDI Editor and Main section of the Action List but the Main script is only added to MIDI Editor. Is this intentional?

Yes. Reasons:

  • In case user wants to add button for GUI script to any toolbar instead of MIDI Editor's one
  • User forget or don't know that script uses MIDI Editor or forget to switch to MIDI Editor section in Action list. He still can type "resample notes" in main action list and run GUI. GUI script doesn't care if MIDI Editor is opened or not but if user click on "RUN" button when no MIDI Editor opened he will get message (from main script) that there should be selected notes from MIDI editor.
  • In future updates (maybe) there will be cases when opened MIDI Editor is not necessary for example such as set to use time selection and ignore note selection or inline midi editor used.

@cfillion
Copy link
Member

cfillion commented Jan 13, 2025

Ah, it meant to be like "real" name, "Resample Notes" like in "John Doe" (besides being description). But it's not that important, will fix it.

"Resample notes" being verb + noun, it reads more like a generic action to perform (same as eg. "save project") rather than the intended proper noun (which would be OK to capitalize)...

Should I keep "Main" and "GUI" suffixes to keep separation from name? Will "daodan_Resample notes Main.lua" and "daodan_Resample notes GUI.lua" be OK?

Perhaps "daodan_Resample notes.lua" and "daodan_Resample notes (GUI).lua" or "daodan_Resample notes - GUI.lua"? Implying that the primary one to use is the former and GUI is a variant.

Yes. Reasons:

OK!

@jopoet
Copy link
Author

jopoet commented Jan 13, 2025

@cfillion Done!
Can you please merge all commits to one named something like "correct file names, update files" so it doesn't look so messy?

@jopoet
Copy link
Author

jopoet commented Jan 13, 2025

Oops, checks failed. It seems I did something wrong. Can you please help?
upd. Yap, replaced the code, but forgot about noindex. Returned it back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants