live + toneseq

master
Michael Murtaugh 5 years ago
parent ec5665eb62
commit 9d7e091dbf

@ -0,0 +1,14 @@
#!/usr/bin/liquidsoap -v
# You need to include these two lines in any standalone
# liquidsoap script (otherwise you get permissions errors)
set("log.file.path","/tmp/<script>.log")
set("log.stdout",true)
%include "passwords.liq"
output.icecast(%vorbis,
host = ICECAST_SERVER_HOST, port = ICECAST_SERVER_PORT,
password = ICECAST_SERVER_PASSWORD, mount = "radioimplicancies_live.ogg",
mksafe(playlist("playlist.m3u")))

@ -3,7 +3,9 @@
set("log.file.path","/tmp/<script>.log")
set("log.stdout",true)
out(
%include "passwords.liq"
toneseq =
rotate([
square(220.0,amplitude=0.02,duration=1.0),
square(260.0,amplitude=0.02,duration=1.0),
@ -11,4 +13,9 @@ out(
square(360.0,amplitude=0.02,duration=1.0),
sine(440.0,amplitude=0.02,duration=1.0)
])
)
output.icecast(%vorbis,
host = ICECAST_SERVER_HOST, port = ICECAST_SERVER_PORT,
password = ICECAST_SERVER_PASSWORD, mount = "radioimplicancies_live.ogg",
mksafe(playlist("playlist.m3u")))

Loading…
Cancel
Save