Skip to content

feat(preset): add "sparks" sound preset #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ There are also different presets available:
| `musicbox` | plays random notes like a music box |
| `ducktilo` | quack quack 🦆 |
| `drumkit` | dum, tss, cha! 🥁 |
| `spark` | high voltage high current typing experience ⚡ |

To list the presets:

Expand Down
18 changes: 18 additions & 0 deletions config/daktilo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,24 @@ key_config = [
], strategy = "sequential" },
]

# Sparks
# For a high voltage high current typing experience
[[sound_preset]]
name = "sparks"
key_config = [
{ event = "press", keys = "Backspace", files = [
{path = "derase.mp3"},
], strategy = "random" },
{ event = "press", keys = ".*", files = [
{ path = "dspark1.mp3" },
{ path = "dspark2.mp3" },
{ path = "dspark3.mp3" },
{ path = "dspark4.mp3" },
{ path = "dspark5.mp3" },
{ path = "dspark6.mp3" },
], strategy = "random" },
]

# Here is how you can define your custom preset:
# [[sound_preset]]
# # Custom sound preset named "custom"
Expand Down
Binary file added sounds/derase.mp3
Binary file not shown.
Binary file added sounds/dspark1.mp3
Binary file not shown.
Binary file added sounds/dspark2.mp3
Binary file not shown.
Binary file added sounds/dspark3.mp3
Binary file not shown.
Binary file added sounds/dspark4.mp3
Binary file not shown.
Binary file added sounds/dspark5.mp3
Binary file not shown.
Binary file added sounds/dspark6.mp3
Binary file not shown.