-
Notifications
You must be signed in to change notification settings - Fork 1
/
webstudio.liq
40 lines (33 loc) · 965 Bytes
/
webstudio.liq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/local/bin/liquidsoap -v
#%include "conf/sel.conf"
%include "conf/ice.conf"
#
# Streams for the Live output
#
set("init.daemon.pidfile.path", "/usr/local/var/run/liquidsoap/webstudio.pid")
set("log.level",3)
set("log.stdout", true)
set("log.file", true)
set('log.file.path', '/usr/local/var/log/liquidsoap/webstudio.log')
set("frame.audio.channels",2)
set("frame.audio.samplerate",48000)
# Sources
ws = input.jack(id="wspreanews")
#AutoNews
autonews = input.jack(id="autonews")
autonews = amplify(2.23, autonews) # 2.23 is +7dB
ws = add([ws, mksafe(autonews)])
output.jack(id="wspostanews", start=true, ws)
output.icecast(
%mp3(bitrate=192),
host=icehost,
port=iceport,
password=icepass,
mount="webstudio",
url=website,
description="Direct feed from WebStudio. " ^ description,
name="URY WebStudio | " ^ name,
genre="Student Radio",
start=true,
mksafe(buffer(ws))
)