loredcast / soundboard Goto Github PK
View Code? Open in Web Editor NEWSimple Soundboard
License: GNU General Public License v3.0
Simple Soundboard
License: GNU General Public License v3.0
Apparently if you rightclick a clip to give it a shortcut "ctrl -" works, but it also shrinks your page. I tired to revert it with "ctrl +" but it won't work. Tried uninstalling and reinstalling to see if it could get reverted, but i had the same size of the page i shrinked before. So i tried the shorcuts again and it got even smaller. I tilted and spammed "ctrl -"so now it got so small i cant even read whats written, what can i do?
To reproduce:
I've made some electron apps before and know it should support playing .ogg files just fine, but at the moment it seems the program doesn't detect it as a valid file type. Could you extend it to support them too please?
It would be nice to have an optional way to display buttons as a list/table instead of big buttons. It think it would help narrow down on which one you want, and allow for more to be on screen at a given time.
This is a possible fix for anyone having same issues with building from source as me:
ERR_PACKAGE_PATH_NOT_EXPORTED
errorPS C:\Users\\soundboard> yarn build
yarn run v1.22.19
warning ..\..\..\..\..\..\..\..\..\..\package.json: No license field
$ react-scripts build && yarn compile
node:internal/modules/cjs/loader:597
throw e;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in C:\Users\\soundboard\node_modules\postcss-safe-parser\node_modules\postcss\package.json
at exportsNotFound (node:internal/modules/esm/resolve:304:10)
at packageExportsResolve (node:internal/modules/esm/resolve:651:9)
at resolveExports (node:internal/modules/cjs/loader:590:36)
at Module._findPath (node:internal/modules/cjs/loader:667:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1129:27)
at Module._load (node:internal/modules/cjs/loader:984:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (C:\Users\\soundboard\node_modules\postcss-safe-parser\lib\safe-parser.js:1:17)
at Module._compile (node:internal/modules/cjs/loader:1369:14) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
install newest nodejs and yarn
open powershell
git clone https://github.com/LoredCast/soundboard.git
cd soundboard
open package.json
and remove all ^
in "dependencies" and "devDependencies"
yarn policies set-version 1.22.19
$env:NODE_OPTIONS="--openssl-legacy-provider"
yarn install
$env:NODE_OPTIONS="--openssl-legacy-provider"
yarn build - error
delete node_modules and yarn.lock
yarn install
yarn build
yarn electron-build
and should work now!
I have no idea what exactly fixed it, but this is summary of my tinkering around.
i just downloaded and i see one thing lacking, the ability to stop playing an audio clip without closing the program.
its not really not really necessary as most clips are under 15 seconds, but short of pause/play/stop buttons or a timeline control for audio playback (like a music player) this feature would have the biggest impact on the ability to play audio files well over 20 seconds like whole songs.
(thanks for making a soundboard that doesnt look like it comes from the early 2000s :)
I hope this is a feasible request. It's not something I've done on a project personally so I don't know, but this is an extremely common problem with volume sliders that you find in pretty much every website on the internet and most games. Human hearing does not follow a linear distribution, and the result of having volume be linear means the sound will be heavily skewed toward the loud side. The very first value after 0 you would expect to be an almost imperceptible volume, but with a linear scale it is already very loud, and it makes it hard to adjust volume at lower levels - which is the problem I'm having with soundboard right now. And volumes past 50% sound virtually all the same. The solution is to change it to a logarithmic scale.
Here's some responses I found that I think might be useful in implementing this:
https://ux.stackexchange.com/a/116300
https://www.reddit.com/r/programming/comments/9n2y0/stop_making_linear_volume_controls/c0dgsjj/
The sound breaks so much while playing in vc
Randomly when I play a sound effect it will seemingly play it twice at the same time, giving this echo-sounding effect. I have tried and tried and can't seem to find a consistent reproduction for it. It feels truly random for me.
Here is a video of the effect. Notice it sounds echoed at 5s, 14s, and 36s. Seemingly no pattern. This happens regardless of file type.
https://drive.google.com/file/d/14RP12j1b9PuQ6BoLTvr2_R1OLk2Xlsr3/view?usp=sharing
It just stops for no reason so i have to restart it
The app is amazing and i use it often on discord, but when gaming I can't really use it since the hotkeys are either making the keys not work as they're supposed to (for example if you have something hotkey'd to 'w' you won't be able to type in text containing 'w'), or they don't work at all in some games (like league of legends). Ik that not everyone can/wants to use keyboard hooks on their pc, so why not make it an option?
even if you use short file names they often get cutoff mid word, making it hard to read.
I looked in the directory but could not find adjustable settings, is it possible to make it 5 minutes f.e.?
Would it be possible for the volume slider to return to where it was the last time the soundboard was closed? Because I like having the sliders about half way each and it's a minor annoyance to have to adjust them every time I open up the soundboard again to use it
Add the option to add hotkeys to every sound.
can you pls let the app recognise the numpad number and differntiate them from the normal ones, idw to change my weapons and hear a rickroll yk :)
Can you add this function ?
For me that's don't work :/ Can you do a video to show how to set it up ? @LoredCast
Once you have binded a sound to a key, there is no way to bind the same key to a different sound or to remove the keybind without choosing a different key. (only fix is to delete appdata folder for soundboard)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.