Skip to content

Commit 065d001

Browse files
authored
Merge branch 'main' into llelievr/connection-lost-page
2 parents e02f557 + 808dd0f commit 065d001

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

gui/src/sounds/sounds.ts

+7-8
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ import { ResetType } from 'solarxr-protocol';
22
import Xylophone from './xylophone';
33

44
const tones = [
5-
['C4', 'E4', 'G4'],
6-
['E4', 'G4', 'C5'],
7-
['G4', 'C5', 'E5'],
8-
['C5', 'E5', 'G5'],
9-
['E5', 'G5', 'C6'],
10-
['G5', 'C6', 'E6'],
5+
['E3', 'G3', 'B3'],
6+
['G3', 'B3', 'D4'],
7+
['B3', 'D4', 'F#4'],
8+
['D4', 'F#4', 'A4'],
9+
['F#4', 'A4', 'C#5'],
1110
];
1211

1312
const xylophone = new Xylophone();
@@ -25,7 +24,7 @@ export async function playSoundOnResetEnded(resetType: ResetType, volume = 1) {
2524
}
2625
case ResetType.Full: {
2726
xylophone.play({
28-
notes: ['C4', 'E4'],
27+
notes: ['E3', 'G3'],
2928
offset: 0.15,
3029
type: 'square',
3130
volume,
@@ -34,7 +33,7 @@ export async function playSoundOnResetEnded(resetType: ResetType, volume = 1) {
3433
}
3534
case ResetType.Mounting: {
3635
xylophone.play({
37-
notes: ['C4', 'E4', 'G4'],
36+
notes: ['G3', 'B3', 'D4'],
3837
offset: 0.15,
3938
type: 'square',
4039
volume,

0 commit comments

Comments
 (0)