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

Whammy Pitch Modulation #812

Closed
wants to merge 99 commits into from
Closed

Conversation

jbienz
Copy link
Contributor

@jbienz jbienz commented Jul 1, 2024

Added pitch bending whammy support back in.

KFfitLK6Ac

I have updated this PR to move the Whammy settings under Experimental Features. This means that the following PR would need to be merged before this one can be merged:

#815

I submitted another PR for YARG.Core to support these changes and I will open a discussion in this feature request:

#786

Here are the changes I implemented to restore this feature:

  1. Added WhammyPitch (float) to StemSettings

  2. Added OnWhammyPitchChange to StemSettings

  3. In StemChannel subscribed to OnWhammyPitchChange at the same location volume change is called

  4. In GlobalAudioHandler added Get/SetWhammyPitchSetting

  5. In StemState added SetWhammyPitch.

  6. In SettingsManager.Settings uncommented UseWhammyFx setting and UseWhammyFxChange.

  7. In SettingsManager.Settings uncommented WhammyPitchShiftAmount setting and WhammyPitchShiftAmountChange.

  8. In GameManager.Audio added ChangeStemWhammyPitch

  9. In FiveFretPlayer added SetStemWhammyPitch

  10. In FiveFretPlayer called SetStemWhammyPitch in override for OnInputQueued when WhammyFactor is updated.

  11. In GlobalAudioHandler changed WHAMMY_FFT_DEFAULT to 512 to try and reduce latency between guitar track and other tracks when pitch change is enabled.

…rimental Preview with notice text. Added localization for text.
…ting. When enabled, adds the Experimental tab under All Settings. Added an icon for this tab if ever shown at the top.
…ded missing localizations for setting descriptions. Added warning text about possible desync.
@jbienz
Copy link
Contributor Author

jbienz commented Jul 2, 2024

I have updated this PR to move the Whammy settings under Experimental Features. This means that the following PR would need to be merged before this one can be merged:

#815

…ble under All Settings. Added dialog shown when entering Experimental Features. This dialog is shown once per launch and can also be marked to not show again. Added new localized strings for the dialog and title. Removed old localized strings for the previous setting to show and hide the Experimental section.
# Conflicts:
#	Assets/Script/Settings/SettingsManager.cs
#	Assets/Settings/Localization/Settings Shared Data.asset
#	Assets/Settings/Localization/Settings_en-US.asset
@jbienz
Copy link
Contributor Author

jbienz commented Jul 3, 2024

Updated to incorporate changes made in #815.

@jbienz jbienz changed the title Feature/whammy Whammy Pitch Modulation Jul 3, 2024
# Conflicts:
#	Assets/Settings/Localization/Main Shared Data.asset
#	Assets/Settings/Localization/Main_en-US.asset
#	Assets/Settings/Localization/Settings Shared Data.asset
#	Assets/Settings/Localization/Settings_en-US.asset
# Conflicts:
#	Assets/Settings/Localization/Settings Shared Data.asset
#	Assets/Settings/Localization/Settings_en-US.asset
# Conflicts:
#	Assets/Script/Settings/SettingsManager.Settings.cs
#	Assets/Script/Settings/SettingsManager.cs
TheNathannator and others added 7 commits July 4, 2024 03:17
Still shows the library as if the sort swapped to By-Name, but the underlying sort type will stay as Playable Songs
+ Move Instrument set check to GetPlayableSongs() function.
+ Replace GetSortedCategory()'s `_playable` usage with a GetPlayableSongs() call.
+ Privatize GetPlayableSongs()
+ Fix Playable Songs sort not appearing as an option with zero active players
* Move "Insensity" instrument icon shortcut to Right-Click

Temporary measure until a better sorting/filtering system is in place

Replaces Left-Click with prior broad filter behavior

* Address incorrect intensity overrides

+ Won't force a cache update, but a clear cache is required to apply the fix.
sonicfind and others added 27 commits August 1, 2024 14:24
* Hotfix: Allow changing library sort when only one sort header is present, prevent *Go To* instead when there aren't enough headers

* Simplify HasSortHeaders logic
Instead of inserting at the start and shifting everything over, add views in direct order.

Why we didn't do this before... couldn't tell ya.
* Found an unrelated missing quote in the localization file

* Setting to disable SP phrases in practice mode

* Fixed display of Vocals lyric color when SP is disabled

* Correct setting description
@jbienz jbienz mentioned this pull request Aug 10, 2024
@jbienz
Copy link
Contributor Author

jbienz commented Aug 10, 2024

Replacing this PR with #846

@jbienz jbienz closed this Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants