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

configure per-filetype balance #52

Open
coderofsalvation opened this issue Mar 23, 2022 · 3 comments
Open

configure per-filetype balance #52

coderofsalvation opened this issue Mar 23, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@coderofsalvation
Copy link

coderofsalvation commented Mar 23, 2022

first of all, thank you for this AWESOME player.

Usually I like to create a playlist and play it while working.
However, everytime a MOD is playing the music sounds very hardpanned left/right.
I tried configuring a per-filetype balance by adjusting ocp.ini:

[filetype 0]
  color=1
  name=MOD
  interface=plOpenCP
  pllink=playxm
  player=xmpPlayer
  balance=2                                           <---- I added this

However, that doesn't seem to work.

Is there another way to achive global balance-settings, but for particular filetype (MOD) another one?

@mywave82
Copy link
Owner

Per today there are only a global setting for the entire player for panning and balance:

ocp.ini

[sound]
panning=50
balance=2

Or command-line -vb2 -vp50 should work too

I have started to bring back from DOS version some "magic" keys for save/load/reset these settings too: ctrl+shift+f2, f3 and f4 - but these keys are not always available in ncurses etc.

Your suggestion of making a "profile" per playback plugin, or maybe even per file is not a bad idea.

@mywave82 mywave82 added the enhancement New feature or request label Mar 23, 2022
@coderofsalvation
Copy link
Author

coderofsalvation commented Mar 23, 2022

Thanks for your swift reply.
I think the -vb2 solution works well enough, I could even create an alias ocp.mod to use for MOD-playlists only.

The profile-per-playback plugin is not a bad idea, but it's probably also something which might be lowprio compared to other ocp things you're working on (btw. which areas have your preferred focus atm/future)?

again, thank you very much for all the work you did so far.
It became quite a useful player for me.

@mywave82
Copy link
Owner

On the short-term TODO list I am going to look at warnings generated by new compiler versions :-)

Things that I will look into is simplify interface between playback plugins and output drivers. Currently all of them has to be able to generate 8bit, 16bit, signed, unsigned, mono and stereo in all combinations. Should be moved to output drivers alone.

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

No branches or pull requests

2 participants