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
KEY DOWN / KEY UP sounds #21
Comments
I thought of that in the very beginning, but there will be a lot of problems with it. but I will try when I have time |
A suggestion for the sound effects to be more efficient so there's a seamless connection between the sounds: |
This feature not only would be nice, but I'd say it is kind of necessary.. Having multiple audio files assigned to a specific state of keypress To a more involved one, like still mantaining a single audio file but with the user stating in the config when the down state ends. Another option is to get that value without changing configs at all Thing is, properly documenting it in a 'how to' for creating a sound pack would also be necessary. Also, and I can't stress this enough, I do not know how this could be accomplished by code, I mean, I don't know anything, this is just me saying stuff |
@rivmi Thanks for your feedback. I've already made plans about how to structure the next (couple) versions of configs, including abstracting sounds into a number of configurable files and clips, with both being supported within one pack. Here's a shorter version of what I have so far, that covers your concerns: {
"sounds": {
// play a clip of the file
"keydown": {
"file": "#/sound.ogg", // #/ marks the root of the soundpack
"clip": [2186, 281], // ["start", "length"]
},
"keyup": {
"file": "#/sound.ogg",
"clip": [3251, 281],
},
// play the whole file
"key_down": {
"file": "#/sound2.ogg",
},
"key_up": {
"file": "#/sound2_up.ogg",
},
}
// key definitions
"defines": {
// format
"keyCode": ["keyDown", "keyUp"]
// definitions
// define one sound for key down only
"1": ["keydown"],
// define two sounds for key down and key up
"2": ["key_down", "keyup"],
}
} While I can't promise, when exactly this will be implemented, I can assure you it's being thought of and is planned to be added. |
This issue has been automatically marked as stale because it has not had any activity in the last 60 days. It will be closed in 7 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. |
One thing that sounds strange is that we hear the whole key trajectory sound, going down and getting back up, although we did not release the key.
It would be interesting to have 2 sounds: one for down, one other for up.
The text was updated successfully, but these errors were encountered: