User:Camilo/issue15: Difference between revisions

From XPUB & Lens-Based wiki
Line 33: Line 33:
*myradio.liq*
*myradio.liq*


<code>
<syntaxhighlight>
set("log.file",false)
set("log.file",false)
set("log.stdout",true)
set("log.stdout",true)
Line 46: Line 46:
     password = ICECAST_SERVER_PASSWORD, mount = "myradio.ogg",
     password = ICECAST_SERVER_PASSWORD, mount = "myradio.ogg",
     mksafe(myradio))  
     mksafe(myradio))  
</code>
</syntaxhighlight>
      
      
*myradio.m3u*
*myradio.m3u*
Line 58: Line 58:


audio tag:  
audio tag:  
<code>
<syntaxhighlight>
<audio controls>
<audio controls>
         <source src="http://echo.lurk.org:999/u2myradio.ogg" type="audio/ogg" controls autoplay>
         <source src="http://echo.lurk.org:999/u2myradio.ogg" type="audio/ogg" controls autoplay>
</audio>
</audio>
<code>
</syntaxhighlight>


=<span style="color:black; font-family: Alike Angular; font-weight: bold;">COLLECTIVE</span>=
=<span style="color:black; font-family: Alike Angular; font-weight: bold;">COLLECTIVE</span>=

Revision as of 16:18, 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/u2myradio.ogg" type="audio/ogg" controls autoplay>
</audio>

COLLECTIVE