You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Splits macOS system sound into separate files for up/down events
Allows user to choose a different sound for up/down events (or none)
Customizable volume
Live preview when changing sound selection or volume
Allows user to add/remove their own sound files in Finder. The 00550 wcls, etc listings aren't there normally, just the two defaults, but I wanted to show how custom sound files would be displayed.
Localizable interface strings
Questions:
And... it's very common comment in open source world though, it would be really appreciate if you can use same coding format as the one used on master.
Can you elaborate what you mean by this comment?
I'm sure there are other things that could be cleaned up (like deleting the old system sound player), but I wanted to open this PR for your feedback, as I feel like it's now feature complete. I tried to leave edits to upstream as minimal as possible, and keep all of the new functionality as self-contained as possible.
And sorry for the late reply. Before taking a code review, I want to answer and comments for the previous comments in #9.
It would be better to separate default sounds in terms of UI also may be implementation (how to store the generated separated sound files.)
I’m suggesting to have a separate menu item that allows users to select Default, Custom, (and probably None as well) as a primary option, then in Custom, allows them to select custom sound files per events, because this customization menu is a bit complicated and for advanced usage.
In terms of user interface design, that would be better to be in the next level to not surprise users.
Also, I think Default sounds a part of application so want to hide it from the users so that it can be always under managed. Because of that, I think it would be better to store default sound files should in somewhere temporary or not user customizable area like ~/Library/Application Support, but ~/Library/Caches or in memory.
Code format style
I don’t have written documents yet there are a few formatting rules I’m using in the code base as a standardize code format. TL; DR, next style.
Put { and } for methods in a new line, not following the line, however, not for if or other statements.
Don’t align arguments by :, instead, put it in a single line.
Give NS_ASSUME_NONNULL_BEGIN and NS_ASSUME_NONNULL_END for both headers and implementations to make nonnull default, then give only nullable or _Nullable for nullable properties, arguments.
Thanks! I think that's all pretty reasonable. I'll throw together a UI mockup and send a screenshot to make sure I understand what you're thinking before I start my revisions.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements feature discussed in #9:
00550 wcls, etc listings aren't there normally, just the two defaults, but I wanted to show how custom sound files would be displayed.Questions:
Can you elaborate what you mean by this comment?
I'm sure there are other things that could be cleaned up (like deleting the old system sound player), but I wanted to open this PR for your feedback, as I feel like it's now feature complete. I tried to leave edits to upstream as minimal as possible, and keep all of the new functionality as self-contained as possible.