Skip to content

Adding custom sounds to buttons #264

Description

@Mokhyy

To implement this feature, a section called “sounds” should be added to the settings, where the user can import sound or audio effects they want.

Then, inside the keyboard engine settings, a section should be added to the key settings called “sound,” where the user enters the name of the voice/sound they imported into the app so that when the key is pressed, that sound is played.

For example:
In the settings, we add a sound named “hi.” That sound goes into the sound list, and then by writing:

sound: "hi"

in the keyboard settings, we assign that sound to the key we want.

For example

"label": "g", "sound": "hi"

Also, there should be a maximum duration set for the voice or music so it doesn’t cause lag or delay—for example, 1, 2, or 3 seconds.


For example, a cool idea that came to mind is that piano sounds could be imported and the keyboard keys could be used as a piano. 😆😆


What do you think, dev? Do you think this idea is practical, or is it just an extra feature?

Of course, maybe this feature wouldn’t be useful for ordinary users, but it could be very helpful for blind users as feedback for the key they press, so they can tell the difference between the keys they hit.

For example, blind people who use Braille characters for typing could use this feature to assign a sound to each Braille letter, so the blind user can understand which letter they are typing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions