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

Try to adjust volume but still seem not much louder #184

Open
yao-bite opened this issue Jul 25, 2021 · 3 comments
Open

Try to adjust volume but still seem not much louder #184

yao-bite opened this issue Jul 25, 2021 · 3 comments

Comments

@yao-bite
Copy link

Hello, I'm new here.
First thanks for the amazing mapping tool!

My problem is, after trying my video
audio seems to work pretty good, but in very small volume.
At first I thought the problem was the audio track itself,
but then after trying to play only one video (with same volume audio output) with other code ( which uses omxplayer)
I found that while using ofxPiMapper, the audio volume is much smaller.

I also have tried to adjust the volume with these steps:
"Open alsamixer.
alsamixer
Set the volume to a value between 90 to 100 by using the arrow keys. ESC to exit the mixer."
But seems no big difference between 50 and 100.

Was there something that I missed?

@kr15h
Copy link
Owner

kr15h commented Aug 31, 2021

Hi. Sorry, I have not bumped into this issue myself. What I could assume is that omxplayer has its own way of setting the volume and it could be that one should be able to define it via code.

@magdesign
Copy link
Contributor

Before compiling change the volume settings in:
ofxOMXPlayer/src/ofxOMXPlayerSettings.h => initialVolume from 0.3 to 0.5

Then you have 100% volume.

@magdesign
Copy link
Contributor

Does anyone know how to adjust the volume when mapper is playing over 3.5 mm jack (bcm2835) ?
Since adjusting the volume in alsamixer does not make any changes.

It seems to be implemented in ofxOMXplayer, so we need to send some kind of dbus command, but how?
or any other nice hacks/workarounds?

jvcleave/ofxOMXPlayer#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants