Liquidsoap
  1. Liquidsoap
  2. LS-506

Merge two mono streams into a stereo stream

    Details

    • Type: New Feature New Feature
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: Liquidsoap
    • Labels:
      None

      Description

      Is it possible for liquidsoap to connect to two individual mono MP3 streams (Icecast) and mix them into stereo to send out as another Icecast stream?

      From David Baelde:

      Hi,

      That'd be easily doable, and would be a good example of a non-standard
      use of liquidsoap. Currently there is no operator for merging audio
      channels of two sources, we only have muxing video (or audio..) into a
      stream without video (or audio...). Please file a ticket and we'll do
      that in the near future (I don't have time right now, just coming back
      from holidays). For reasons pertaining to the type system we'll
      probably create an operator for muxing channels only one at a time,
      but that's enough for you.

        Activity

        Hide
        Romain Beauxis
        added a comment -
        I believe this is fixed now..
        Show
        Romain Beauxis
        added a comment - I believe this is fixed now..
        Hide
        Jason Legault
        added a comment -
        Hello, does anyone know if this was implemented, and if so how to use it?
        Show
        Jason Legault
        added a comment - Hello, does anyone know if this was implemented, and if so how to use it?
        Hide
        Samuel Mimram
        added a comment -
        Yes this is implemented in the "mux_mono" function. For instance, the following creates a stream with from different sines:

        left = sine(440.)
        right = sine(880.)
        both = mux_mono(mono=left,right)
        output.oss(both)
        Show
        Samuel Mimram
        added a comment - Yes this is implemented in the "mux_mono" function. For instance, the following creates a stream with from different sines: left = sine(440.) right = sine(880.) both = mux_mono(mono=left,right) output.oss(both)
        Hide
        Samuel Mimram
        added a comment -
        Hum, actually I am thinking that I might have reversed left and right in the previous example. Well, you should try to figure this out... :)
        Show
        Samuel Mimram
        added a comment - Hum, actually I am thinking that I might have reversed left and right in the previous example. Well, you should try to figure this out... :)

          People

          • Assignee:
            Unassigned
            Reporter:
            Dave Pascoe
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: