Skip to content

Commit

Permalink
feat: Change default config
Browse files Browse the repository at this point in the history
BPM: 360 -> 180
Duration: 4 -> 8
  • Loading branch information
r4ai committed Apr 11, 2023
1 parent f5ed9c5 commit 3f07ed5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "tinnitus-reducer-ACRN",
"version": "0.2.3"
"version": "0.3.0"
},
"tauri": {
"allowlist": {
Expand Down
4 changes: 2 additions & 2 deletions src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const INITIAL_FREQUENCY = 8000; // 0 to 15 [kHz]
export const MIN_FREQUENCY = 0;
export const MAX_FREQUENCY = 15000;

export const INITIAL_BPM = 90 * 4; // According to the paper, the cycle repetition rate was 1.5 Hz. (T = 0.66 s)
export const INITIAL_BPM = 90 * 2; // According to the paper, the cycle repetition rate was 1.5 Hz. (T = 0.66 s)
export const MAX_BPM = 90 * 6;
export const MIN_BPM = 60;

Expand All @@ -42,7 +42,7 @@ export const MAX_REST_LENGTH = 16 * 4;
/**
* The duration of the note in the sequence.
*/
export const DEFAULT_DURATION: Duration = "4n"; // 4n = 1/4
export const DEFAULT_DURATION: Duration = "8n"; // 4n = 1/4
export const MIN_DURATION: Duration = "128n"; // 16n = 1/16
export const MAX_DURATION: Duration = "1n"; // 1n = 1/1

Expand Down

0 comments on commit 3f07ed5

Please sign in to comment.