Skip to content
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

feat(config): add drumkit preset #18

Merged
merged 3 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 @@ -59,6 +59,7 @@
| `basic` | an alternative and more basic typewriter effect |
| `musicbox` | plays random notes like a music box |
| `ducktilo` | quack quack 🦆 |
| `drumkit` | dum, tss, cha! 🥁 |

Check warning on line 62 in README.md

View workflow job for this annotation

GitHub Actions / Lint

"dum" should be "dumb".

To list the presets:

Expand Down
17 changes: 17 additions & 0 deletions config/daktilo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,23 @@
] },
]

# Drumkit
# Dum, tss, cha!

Check warning on line 77 in config/daktilo.toml

View workflow job for this annotation

GitHub Actions / Lint

"Dum" should be "Dumb".
[[sound_preset]]
name = "drumkit"
key_config = [
{ event = "press", keys = ".*", files = [
{ path = "kick.mp3" },
{ path = "hat.mp3" },
{ path = "snare.mp3" },
{ path = "kick.mp3" },
{ path = "hat.mp3" },
{ path = "kick.mp3" },
{ path = "snare.mp3" },
{ path = "hat.mp3" },
], strategy = "sequential" },
]

# Here is how you can define your custom preset:
# [[sound_preset]]
# # Custom sound preset named "custom"
Expand Down
Binary file added sounds/hat.mp3
Binary file not shown.
Binary file added sounds/kick.mp3
Binary file not shown.
Binary file added sounds/snare.mp3
Binary file not shown.
Loading