Anyone know the correct config for a stereo feed with Liquidsoap?

scanchq

Newbie
Feed Provider
Joined
Apr 15, 2026
Messages
3
Reaction score
1
Location
Jamestown, NY
I am providing feeds via Liquidsoap from my SDR server. I followed the configuration settings for stereo feeds as described at liquidsoap.info, but they are still coming across as combined channels, thus mono. The RR wiki page is 10 years old and doesn't reference stereo feeds. How does Broadcastify accept stereo feeds?

I would like to stream the local police in the left channel and fire/EMS in the right.
 

scanchq

Newbie
Feed Provider
Joined
Apr 15, 2026
Messages
3
Reaction score
1
Location
Jamestown, NY
I am providing feeds via Liquidsoap from my SDR server. I followed the configuration settings for stereo feeds as described at liquidsoap.info, but they are still coming across as combined channels, thus mono. The RR wiki page is 10 years old and doesn't reference stereo feeds. How does Broadcastify accept stereo feeds?

I would like to stream the local police in the left channel and fire/EMS in the right.

RESOLVED - I found the info needed and successfully streaming 3 stereo feeds now.


For reference, this is how Liquidsoap v2.2.4-1 processes for stereo after left/right talkgroups have been assigned:
Code:
# -----------------------------------------------------------------------------
# HELPER: combine two mono channels into a true stereo stream.
# field=0. gives hard pan with zero crosstalk between channels.
# -----------------------------------------------------------------------------
def make_stereo(left_src, right_src) =
  let {audio = l, metadata = meta, track_marks = tm} = source.tracks(left_src)
  let {audio = r} = source.tracks(right_src)
  left_track  = track.audio.stereo.pan(pan=1.,  l)
  right_track = track.audio.stereo.pan(pan=-1., r)
  mixed = track.audio.add([left_track, right_track])
  mksafe(source({audio = mixed, metadata = meta, track_marks = tm}))
end
 
Top