[SOLVED] Separate volume for MOC?

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

[SOLVED] Separate volume for MOC?

Unread post by kexolino » Thu Jul 10, 2014 2:11 pm

By default, when you press , or . in MOC, it adjusts the PCM volume, but that affects all other applications too (so, say I'm in-game, and I want to listen to music but still hear game sounds, I can't do it).

Is it possible to make MOC only adjust its own volume? I poked around in the config file, but it doesn't seem like it...
Last edited by kexolino on Thu Jul 10, 2014 4:25 pm, edited 1 time in total.

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Separate volume for MOC?

Unread post by wuxmedia » Thu Jul 10, 2014 2:27 pm

It seems the same with mplayer.

maybe pulseaudio will make it better 8) </troll>
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
Alad
should take a shower
Posts: 447
Joined: Wed May 21, 2014 12:52 am

Re: Separate volume for MOC?

Unread post by Alad » Thu Jul 10, 2014 2:59 pm

If you sacrifice a goat to ALSA it might work. :)

ArchWiki has a bunch of it - no linky as their servers are currently switching to Slackware (educated guess :D).
It's funny how we used to be able to do real stuff with rudimentary computers, but now we can't. -- ratcheer

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: Separate volume for MOC?

Unread post by ivanovnegro » Thu Jul 10, 2014 3:42 pm

wuxmedia wrote:It seems the same with mplayer.
Nope, you need this line:

Code: Select all

softvol=1
Maybe take a look at out apps github, I posted nice configs of mplayer/2/mpv.

In MOC I have no idea either, I did not really bother to find it. Let me take a look again, I saw some lines talking about volume but did not touch them.

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: Separate volume for MOC?

Unread post by ivanovnegro » Thu Jul 10, 2014 3:48 pm

I see this and put yes there but I am not sure what it does as I actually always use max volume in players:

Code: Select all

# Save software mixer state?
# If enabled, a file 'softmixer' will be created in '~/.moc/' storing the
# mixersetting set when the server is shut down.
# Note that there is a "hidden" 'Amplification' setting in that file.
# Amplification (0-200) is used to scale the mixer setting (0-100).  This
# results in a higher signal amplitude but may also produce clipping.
Softmixer_SaveState = yes

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: Separate volume for MOC?

Unread post by ivanovnegro » Thu Jul 10, 2014 3:55 pm

Found it.

In MOC press x to change the mixer, there are three, Master, PCM and Software. Hell, it is documented in the help screen. ;)

Edit: With w you can toggle the software mixer.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Separate volume for MOC?

Unread post by machinebacon » Thu Jul 10, 2014 4:08 pm

^ Great find! ;)
..gnutella..

User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

Re: Separate volume for MOC?

Unread post by kexolino » Thu Jul 10, 2014 4:25 pm

Thanks, that did the trick! :) Didn't think it would be as easy as pressing a key, so didn't even check the help page (derp)

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: [SOLVED] Separate volume for MOC?

Unread post by wuxmedia » Thu Jul 10, 2014 5:53 pm

Nice, I too am a maxed out vol guy - good find...
"Seek, and Ye shall find"
"Github | Chooons | Site"

Post Reply