Skip to content

Commit 8440074

Browse files
authored
Implement metronome feature with sound options and UI improvements (#4)
* Initial working metronome * Add sounds with attribution * Update metronome * Improve metronome * Metronome in upper right corner * Remove plus and minus buttons * Switch to Control * Add icon
1 parent fb195af commit 8440074

18 files changed

+527
-28
lines changed

app/assets/ATTRIBUTION.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Attribution
2+
3+
The following resources were used in the creation of this project:
4+
5+
## Sounds
6+
7+
- [wood.wav](https://freesound.org/people/Druminfected/sounds/250552/) by Druminfected
8+
- [digital.wav](https://freesound.org/people/LudwigMueller/sounds/548519/) by LudwigMueller
9+
- [click.wav](https://freesound.org/people/xtrgamr/sounds/441644/) by xtrgamr
10+
- [bell.wav](https://freesound.org/people/unfa/sounds/243749/) by unfa

app/assets/images/metronome.svg

Lines changed: 96 additions & 0 deletions
Loading
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://dfe64iy37i1al"
6+
path="res://.godot/imported/metronome.svg-6ebc65015c42ac6f1bc08220b30d5e72.ctex"
7+
metadata={
8+
"vram_texture": false
9+
}
10+
11+
[deps]
12+
13+
source_file="res://assets/images/metronome.svg"
14+
dest_files=["res://.godot/imported/metronome.svg-6ebc65015c42ac6f1bc08220b30d5e72.ctex"]
15+
16+
[params]
17+
18+
compress/mode=0
19+
compress/high_quality=false
20+
compress/lossy_quality=0.7
21+
compress/hdr_compression=1
22+
compress/normal_map=0
23+
compress/channel_pack=0
24+
mipmaps/generate=false
25+
mipmaps/limit=-1
26+
roughness/mode=0
27+
roughness/src_normal=""
28+
process/fix_alpha_border=true
29+
process/premult_alpha=false
30+
process/normal_map_invert_y=false
31+
process/hdr_as_srgb=false
32+
process/hdr_clamp_exposure=false
33+
process/size_limit=0
34+
detect_3d/compress_to=1
35+
svg/scale=1.0
36+
editor/scale_with_editor_scale=false
37+
editor/convert_colors_with_editor_theme=false

app/assets/sound/bell.wav

47.7 KB
Binary file not shown.

app/assets/sound/bell.wav.import

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[remap]
2+
3+
importer="wav"
4+
type="AudioStreamWAV"
5+
uid="uid://p5vc1at61fw6"
6+
path="res://.godot/imported/bell.wav-44c544e3bc2ecacf68643bf376bc940e.sample"
7+
8+
[deps]
9+
10+
source_file="res://assets/sound/bell.wav"
11+
dest_files=["res://.godot/imported/bell.wav-44c544e3bc2ecacf68643bf376bc940e.sample"]
12+
13+
[params]
14+
15+
force/8_bit=false
16+
force/mono=false
17+
force/max_rate=false
18+
force/max_rate_hz=44100
19+
edit/trim=false
20+
edit/normalize=false
21+
edit/loop_mode=0
22+
edit/loop_begin=0
23+
edit/loop_end=-1
24+
compress/mode=0

app/assets/sound/click.wav

27.1 KB
Binary file not shown.

app/assets/sound/click.wav.import

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[remap]
2+
3+
importer="wav"
4+
type="AudioStreamWAV"
5+
uid="uid://7imd0reh7i2h"
6+
path="res://.godot/imported/click.wav-e8a30ec71317fecc836e787d9d63b4a3.sample"
7+
8+
[deps]
9+
10+
source_file="res://assets/sound/click.wav"
11+
dest_files=["res://.godot/imported/click.wav-e8a30ec71317fecc836e787d9d63b4a3.sample"]
12+
13+
[params]
14+
15+
force/8_bit=false
16+
force/mono=false
17+
force/max_rate=false
18+
force/max_rate_hz=44100
19+
edit/trim=false
20+
edit/normalize=false
21+
edit/loop_mode=0
22+
edit/loop_begin=0
23+
edit/loop_end=-1
24+
compress/mode=0

app/assets/sound/digital.wav

47.7 KB
Binary file not shown.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[remap]
2+
3+
importer="wav"
4+
type="AudioStreamWAV"
5+
uid="uid://ch513gii8byda"
6+
path="res://.godot/imported/digital.wav-3240fc317daf5a616f1cb6340a5cf8c7.sample"
7+
8+
[deps]
9+
10+
source_file="res://assets/sound/digital.wav"
11+
dest_files=["res://.godot/imported/digital.wav-3240fc317daf5a616f1cb6340a5cf8c7.sample"]
12+
13+
[params]
14+
15+
force/8_bit=false
16+
force/mono=false
17+
force/max_rate=false
18+
force/max_rate_hz=44100
19+
edit/trim=false
20+
edit/normalize=false
21+
edit/loop_mode=0
22+
edit/loop_begin=0
23+
edit/loop_end=-1
24+
compress/mode=0

app/assets/sound/wood.wav

104 KB
Binary file not shown.

0 commit comments

Comments
 (0)