Skip to content

Commit

Permalink
Increase max volume
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinhenderson committed Nov 9, 2022
1 parent b5785a0 commit c76dc09
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/version-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ description: Find out about the latest changes to EyeCommander here

# Version History

### 1.4.2

- Lift the max volume of the click

### 1.4.1

- [Allow users to change volume of clicking sound.](https://github.com/AceCentre/EyeCommander/issues/82)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eyecommander",
"productName": "EyeCommander",
"version": "1.4.1",
"version": "1.4.2",
"description": "Detect blinks and convert them to switch output",
"main": ".webpack/main",
"scripts": {
Expand Down
Binary file added src/public/notif-louder.mp3
Binary file not shown.
2 changes: 1 addition & 1 deletion src/react-app/blink-training.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const BlinkTraining = ({ prevTask, forceReload }) => {
const [blinkCount, setBlinkCount] = useState(0);

const [allowNext, setAllowNext] = useState(true);
const [play] = useSound("./public/notif.mp3");
const [play] = useSound("./public/notif-louder.mp3");

const onBlink = useCallback(() => {
setBlinkCount((x) => x + 1);
Expand Down
4 changes: 3 additions & 1 deletion src/react-app/main-screen.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export const MainScreen = () => {

const [paused, setPaused] = useState(false);
const reloadTrigger = useReload([reloadPlaySound, reloadSoundVolume]);
const [play] = useSound("./public/notif.mp3", { volume: soundVolume || 0.5 });
const [play] = useSound("./public/notif-louder.mp3", {
volume: soundVolume || 0.5,
});
const [isFaceInFrame, setIsFaceInFrame] = useState(true);
const sendBlinkToBackend = useBlinkAction();
const openSettings = useOpenSettings();
Expand Down

0 comments on commit c76dc09

Please sign in to comment.