Stereo Tool
https://www.forums.stereotool.com/

Linux, Jack, Liquidsoap
https://www.forums.stereotool.com/viewtopic.php?t=7342
Page 2 of 2

Author:  griffon [ Tue Aug 21, 2018 5:38 pm ]
Post subject:  Re: Linux, Jack, Liquidsoap

Quote:
Code:
# Input to Processing
input = radio

# Processing
process = mksafe(pipe(process='/home/path_to_stereotool/stereo_tool_cmd_64 - - -s /home/path_to_stereotool/preset.sts -q -k "<STEREO_TOOL_LICENSE>"', input))

# Processing to Output
output = process
Hi, I tried the above code, I works but the following problem occurs :

Everytime when new track is started, I get a "crackling/digital click" sound for very short time.
It looks like for every track, a new stereotool process is created. The annoying crackling sound is produced at the start of the new procesing job. This would explain the click, but is there a possibility to get rid of it ?

here is an audio clip of the problem --> https://instaud.io/2AsA

Author:  iashok [ Thu Jan 28, 2021 12:16 am ]
Post subject:  Re: Linux, Jack, Liquidsoap

Quote:
Hi, I tried the above code, I works but the following problem occurs :

Everytime when new track is started, I get a "crackling/digital click" sound for very short time.
It looks like for every track, a new stereotool process is created.
The annoying crackling sound is produced at the start of the new procesing job.This would explain the click, but is there a possibility to get rid of it ?

here is an audio clip of the problem --> https://instaud.io/2AsA
An old thread, still useful for me :) It was difficult to understand the way how liquidsoap sends the "pipe" stream.
The simple answer is: "with metadata"
That's why stereotool produce strange clicks and cracks. An easy workaround is kill the metadata BEFORE the stream goes to stereotool:
Code:
radio = drop_metadata(radio) 
and everything is perfect - except metadata - but this is another question.

Author:  BagPttx [ Mon Feb 01, 2021 9:22 am ]
Post subject:  Re: Linux, Jack, Liquidsoap

Just use
Code:
replay_delay=1.0
in the pipe method and you should be good to go.

You will get your metadata and you won't have "strange clicks and cracks", no need to just drop metadata as a workaround.

Page 2 of 2 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/