Skip to content

Commit

Permalink
Merge pull request #212 from RoryUD/styling-rory
Browse files Browse the repository at this point in the history
  • Loading branch information
aghoy9 authored May 8, 2024
2 parents 0d7bae1 + 08015a6 commit 9bab8b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
Binary file removed src/Audio/Mii-Channel.mp3
Binary file not shown.
6 changes: 3 additions & 3 deletions src/Components/AudioPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ import {
audioIcon,
updateAudioIcon,
} from "./StateParent";
import BackgroundSound from "../Audio/BackgroundMusic.mp3";
import ButtonClick from "../Audio/Button-Click2-Trimmed.mp3";
import BackgroundSound from "../Audio/Burgers.mp3";
import SliderClick from "../Audio/Slider-Click.mp3";

// Audio players for SFX and background music
const backgroundMusic = new Audio(BackgroundSound);
const buttonSoundEffect = new Audio(ButtonClick);
const sliderSoundEffect = new Audio(SliderClick);
const backgroundMusic = new Audio(BackgroundSound);

//Sound effect played when buttons clicked
export function playButtonClick() {
Expand All @@ -22,7 +23,6 @@ export function playButtonClick() {
export function playSliderSet() {
sliderSoundEffect.play();
}

//Base music player
export function AudioPlayer() {
//Audio States
Expand Down

0 comments on commit 9bab8b0

Please sign in to comment.