Skip to content

Commit

Permalink
Final touches to audio engine (#108)
Browse files Browse the repository at this point in the history
* Add update check on startup (#91)

* Created update checker, runs on startup

* Add current version and update notification to main menu

* Update version back to 0.8.2

* Moved engine constants to `Constants`

* Awesomeness Detection (#89)

* Awesomeness detection

EXTREMLY IMPORTANT

* Awesomeness Detection

Very important!

* Pretty awesome if you ask me

* Add native bass library folders + READMEs for installation

* IAudioManager interface and BASS implementation

* Add ManagedBass to NuGet packages

* Change Play and AbstractTrack to use new audio engine

* Deleted old audio code and added StreamingAssets folder

* Add gitignore to ignore BASS libraries

* Adding generation of currentsong.text (#93)

This is mainly for OBS to show on twitch streams.
More stuff can be added but let's see if this works right first, ya? :)

* Added reverb to player stems when star power is active

* "ThirdParty" folder

* Fix lefty flip on 4 and 5 lane drums (#96)

* 4 lane drum lefty flip fix

* 5 lane drum lefty flip fix

* Updated credits

* Add PlasticBand-Unity for input mappings, and HIDrogen for Linux HID support (#95)

* Add PlasticBand-Unity package

* Switch Pro Guitar support to PlasticBand's

* Update input actions
Guitar actions now use PlasticBand
Removed most guitar UI actions, as they are covered by usages in PlasticBand

* Add HIDrogen package for HID support on Linux

* Fix lefty flip drum inputs (#99)

* fixed lefty flip drum inputs

* fixed bot drum lefty flip

* Re-enable incremental garbage collection (#101)

* Improve HO/PO overstrum forgiveness (#100)

* Allow anchoring chord HO/POs (togglable)

* Improve HO/PO overstrum forgiveness

* Small fix

* Add clap and starpower deploy sfx

* Add clap sfx to code

* Reverb keys stems and all drums stems

* Stem gain on SP and volume control settings

* Update and add new starpower SFX

* meta file update?

* Weird curly brace problem and 2 update checkers? Whats happening

* Add note miss sfx

* Add sfx volume and use star power fx controls. Play note miss on combo >= 10

---------

Co-authored-by: EliteAsian <lavasnakegaming@gmail.com>
Co-authored-by: TheFatBastid <tfb@sof.ws>
Co-authored-by: Rodrigo Oliveira <39157156+santorfo@users.noreply.github.com>
Co-authored-by: Nathan <nathanhurst03@gmail.com>
Co-authored-by: Raphael Goulart <contact@raphaelgoul.art>
  • Loading branch information
6 people authored Apr 16, 2023
1 parent 173778e commit 92a3af0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions Assets/Script/Audio/AudioHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ public static class AudioHelpers {
};

public static readonly IList<double> SfxVolume = new[] {
0.7,
0.3,
0.5,
0.3,
0.4,
0.1,
0.5,
0.4,
0.5,
0.12,
};

public static IEnumerable<string> GetSupportedStems(string folder) {
Expand Down
8 changes: 4 additions & 4 deletions Assets/Script/Audio/BassAudioManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,9 @@ private static string GetBassDirectory() {
// Checks if running on 64 bit and sets the path accordingly
#if !UNITY_EDITOR && UNITY_STANDALONE_WIN
#if UNITY_64
pluginDirectory = Path.Combine(pluginPath, "x86_64");
pluginDirectory = Path.Combine(pluginDirectory, "x86_64");
#else
pluginDirectory = Path.Combine(pluginPath, "x86");
pluginDirectory = Path.Combine(pluginDirectory, "x86");
#endif
#endif

Expand All @@ -387,9 +387,9 @@ private static string GetBassDirectory() {
#if UNITY_EDITOR_WIN
pluginDirectory = Path.Combine(pluginDirectory, "Windows/x86_64");
#elif UNITY_EDITOR_OSX
pluginDirectory = Path.Combine(path, "Mac");
pluginDirectory = Path.Combine(pluginDirectory, "Mac");
#elif UNITY_EDITOR_LINUX
pluginDirectory = Path.Combine(path, "Linux/x86_64");
pluginDirectory = Path.Combine(pluginDirectory, "Linux/x86_64");
#endif

return pluginDirectory;
Expand Down
20 changes: 10 additions & 10 deletions Assets/Script/Settings/SettingsManager.Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void RhythmVolumeChange() {
}

[SettingShowInGame]
[SettingLocation("general", 17)]
[SettingLocation("general", 18)]
[SettingType("Volume")]
public float bassVolume = 1f;

Expand All @@ -153,7 +153,7 @@ public void BassVolumeChange() {
}

[SettingShowInGame]
[SettingLocation("general", 18)]
[SettingLocation("general", 19)]
[SettingType("Volume")]
public float keysVolume = 1f;

Expand All @@ -163,7 +163,7 @@ public void KeysVolumeChange() {
}

[SettingShowInGame]
[SettingLocation("general", 19)]
[SettingLocation("general", 20)]
[SettingType("Volume")]
public float drumsVolume = 1f;

Expand All @@ -177,7 +177,7 @@ public void DrumsVolumeChange() {
}

[SettingShowInGame]
[SettingLocation("general", 20)]
[SettingLocation("general", 21)]
[SettingType("Volume")]
public float vocalsVolume = 1f;

Expand All @@ -189,7 +189,7 @@ public void VocalsVolumeChange() {
}

[SettingShowInGame]
[SettingLocation("general", 21)]
[SettingLocation("general", 22)]
[SettingType("Volume")]
public float songVolume = 1f;

Expand All @@ -199,7 +199,7 @@ public void MusicVolumeChange() {
}

[SettingShowInGame]
[SettingLocation("general", 22)]
[SettingLocation("general", 23)]
[SettingType("Volume")]
public float crowdVolume = 0f;

Expand All @@ -209,7 +209,7 @@ public void CrowdVolumeChange() {
}

[SettingShowInGame]
[SettingLocation("general", 23)]
[SettingLocation("general", 24)]
[SettingType("Volume")]
public float sfxVolume = 0f;

Expand All @@ -219,7 +219,7 @@ public void SfxVolumeChange() {
}

[SettingShowInGame]
[SettingLocation("general", 24)]
[SettingLocation("general", 25)]
[SettingType("Toggle")]
public bool useStarpowerFx = true;

Expand All @@ -229,7 +229,7 @@ public void UseStarpowerFxChange() {
}

[SettingShowInGame]
[SettingLocation("general", 25)]
[SettingLocation("general", 26)]
[SettingType("Volume")]
public float vocalMonitoring = 0.75f;

Expand All @@ -240,7 +240,7 @@ public void VocalMonitoringChange() {

[SettingSpace]
[SettingShowInGame]
[SettingLocation("general", 26)]
[SettingLocation("general", 27)]
[SettingType("Toggle")]
public bool amIAwesome = false;
}
Expand Down
Binary file modified Assets/StreamingAssets/sfx/note_miss.ogg
Binary file not shown.

0 comments on commit 92a3af0

Please sign in to comment.