Comments (4)
Hi,
I'm already aware of issues with the volume.
The thing is that paplay
which I use to play wav and ogg files has a parameter to set the volume. I tried it for mpg123
which I use for mp3 but it didn't work out.
So the volume slider currently adjusts the volume of the output stream. That's not reliable because it get's reset when you play another sound. I may switch the library to play mp3 but I didn't find any good comparable alternative. (I thought about VLC but I don't like having VLC as a dependency)
from soundux.
mpg123
has a -f
flag which seems to change the volume (taken from mpg123 --help
)
-f n change scalefactor [32768]
so mpg123 -f -1000 440Hz-5sec.mp3
plays the file much quieter.
from soundux.
mpg123
has a-f
flag which seems to change the volume (taken frommpg123 --help
)
-f n change scalefactor [32768]
sompg123 -f -1000 440Hz-5sec.mp3
plays the file much quieter.
I already know about this flag but it doesn't change the volume of the output stream. It just plays that sound with the given volume. So it would not be possible to change the volume while a sound is playing with the current logic.
It is actually already implemented with the -f parameter. If I'm gonna use this I need to do a workaround which I don't like.
I see that in mpg123
100% volume is 32768
rather than 65536
so exactly half of the value which is default in pulseaudio
.
I disabled the volume slider while playing sounds and divided the volume for mpg123
by 2. That should fix your issue for now.
from soundux.
mp3 files are now played normally. Thanks!
from soundux.
Related Issues (20)
- Mojibake on Windows (Unicode Issues) HOT 1
- error HOT 1
- 0.2.8 has disappeared
- WebUI for remote control HOT 3
- 2nd display inputs from primary display HOT 2
- Building on Linux Mint HOT 4
- Flatpak uses outdated runtime HOT 1
- Playback doesn't stop when using bottom contols
- CMake checks for appindicator when most of distros moved to Ayatana HOT 3
- Shift + numpad hotkeys causes issues
- [Feature Request] Multiple tabs in window. HOT 1
- Soundux GUI not loading HOT 3
- can't add tabs anymore HOT 1
- can't build main project HOT 2
- Soundux not opening HOT 4
- No data available when selecting output application HOT 3
- Opens as blank window on DRM nvidia HOT 7
- Websocket API / REST API HOT 1
- resetting custom volume setting for sound.
- Substitute youtube-dl with the newer yt-dlp HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soundux.