User:Camilo/issue15

From XPUB & Lens-Based wiki
Radio.gif

✶.

SUMMARY

RESEARCH

SPECIAL ISSUE 15 RESEARCH EXPLORATION

PADS:

Session 1:

Session 2:

https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki http://www.warpweftmemory.net/#/notes https://en.wikipedia.org/wiki/Nepantla

PROTOTYPING

Liquid Soap

You have to have 3 files


myradio.liq----

set("log.file",false)
set("log.stdout",true)

myradio = audio_to_stereo(playlist("playlist.m3u", mode="normal"))
myradio = normalize(myradio)

%include "/srv/radio/passwords.liq"

output.icecast(%vorbis,
     host = ICECAST_SERVER_HOST, port = ICECAST_SERVER_PORT,
     password = ICECAST_SERVER_PASSWORD, mount = "myradio.ogg",
     mksafe(myradio))

myradio.m3u----

(file: the playlist written)

./myfile.mp3
./secondfile.mp3

index.html----

audio tag:

<audio controls>
        <source src="http://echo.lurk.org:999/myradio.ogg" type="audio/ogg" controls autoplay>
</audio>

>>>>> *RUN ON TERMINAL INSIDE THE DIRECTORY

$ liquidsoap myradio.liq

COLLECTIVE