Menu

#225 Stereo upmixing not working

1.x
open
nobody
2022-12-31
2022-08-17
Felix
No

Hello.
I've got a 5.1 soundsystem connected to my PC. Everything is working fine, but I wanted to get stereo sound to all speakers. With the following command:

If: inputChannelCount == 2
    Copy: MUP=0.5*L+0.5*R
    Copy: C=MUP
    Copy: SUB=MUP
    Copy: RL=L
    Copy: RR=R
Endif:

My problem is, that it is not working with the If: inputChannelCount == 2. If i delete that, it is working like it should, by only want it to do the upmixing if there is stereo, not if I get the 5.1 directly. What is the problem there?

Thanks in advance

Discussion

  • Alejandro

    Alejandro - 2022-12-31

    Hi, this problem is for version 1.3.

    For solve the problem change " : " for "= " after " If ".

    If= inputChannelCount == 2
    Copy: MUP=0.5L+0.5R
    Copy: C=MUP
    Copy: SUB=MUP
    Copy: RL=L
    Copy: RR=

     
  • Peter Verbeek

    Peter Verbeek - 2022-12-31

    Your commands are alright but it at least needs a "Stage: pre-mix" command, see example of stage command, so:

    Stage: pre-mix
    If: inputChannelCount == 2
        Copy: MUP=0.5*L+0.5*R
        Copy: C=MUP
        Copy: RC=MUP
        Copy: SUB=MUP
        Copy: RL=L
        Copy: RR=R
        Copy: SL=L
        Copy: SR=R
    EndIf:
    Stage: post-mix
    

    Note the last command. It sets Equalizer APo back to post-mix. Note also that sometimes there isn't a pre-mix stage. Besides, the above commands may even not work as Windows/device driver/audio stream isn't reporting the number of channels.

     
  • Alejandro

    Alejandro - 2022-12-31
     

    Last edit: Alejandro 2022-12-31

Log in to post a comment.