User:Camilo/issue15: Difference between revisions

From XPUB & Lens-Based wiki
Line 33: Line 33:
You have to have 3 files
You have to have 3 files


----'''myradio.liq'''----
>>>>'''myradio.liq'''


<syntaxhighlight>
<syntaxhighlight>
Line 50: Line 50:
</syntaxhighlight>
</syntaxhighlight>
      
      
----'''myradio.m3u'''----
>>>>'''myradio.m3u'''


(file: the playlist written)
(file: the playlist written)
Line 59: Line 59:
</syntaxhighlight>
</syntaxhighlight>


----'''index.html'''----
>>>>'''index.html'''


audio tag:  
audio tag:  
Line 68: Line 68:
</syntaxhighlight>
</syntaxhighlight>


>>>>> *RUN ON TERMINAL INSIDE THE DIRECTORY
>>>>RUN ON TERMINAL INSIDE THE DIRECTORY
<syntaxhighlight>
<syntaxhighlight>
$ liquidsoap myradio.liq
$ liquidsoap myradio.liq

Revision as of 16:26, 27 May 2021

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