User:Jacopo/Radioimplicancies: Difference between revisions

From XPUB & Lens-Based wiki
Line 86: Line 86:
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
/bin/bash -c "$(curl -fsSL  
/bin/bash -c "$(curl -fsSL  
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
)"
</syntaxhighlight>
</syntaxhighlight>



Revision as of 11:49, 19 April 2021

Radio Implicancies

Frequencies2.jpeg

If technological systems are implicated in the structuring of knowledge and knowledge systems are implicated in how technology operates … how do we start to think the world otherwise?!

Every Thursday afternoons, Radio Implicancies broadcasts from 16:00-17:00

Basic-radio-graph.png


These public broadcasts are ongoing experiments with a specific subset of technological tools for sharing and formatting knowledge. Radio Implicancies will use any means necessary i.e. different protocols and editorial approaches: audio streaming, live-on-tape, DJ-ing, on-line reading groups, web-rtc, liquid soap, podcasts, xmpp chat, …

Configuration

With Liquidsoap (Terminal)

  • playlist.liq
  • playlist.m3u (txt)
  • Terminal (liquidsoap)

Liquidsoap Cookbook: https://www.liquidsoap.info/doc-1.4.4/cookbook.html

Schermata 2021-04-14 alle 18.10.39.png

First configuration: https://hub.xpub.nl/sandbot/SI15/radio.html

  • playlist.liq:
set("log.file",false)
set("log.stdout",true)
# playlist can be changed to other commands
myradio = audio_to_stereo(playlist("playlist.m3u"))

%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))
  • playlist.m3u (txt):
file1.mp3
file2.mp3
file3.mp3
...
  • on Terminal:
liquidsoap playlist.liq

Re-reading a text - Recording Test

Un-Naming the essay with NLTK

import nltk

text = open('./nameless.txt').read()
tokens = nltk.word_tokenize(text)

tagged = nltk.pos_tag(tokens)

selection = []

for word, tag in tagged:
    if 'NNS' in tag:
        selection.append(word)
    if 'NN' in tag:
        selection.append(word)
    if 'NNP' in tag:
        selection.append(word)
    if 'NNPS' in tag:
        selection.append(word)

print(selection)

['namelessness', 'indifference', 'names', 'names', 'Whales', 'Whales', 'dolphins', 'dolphins', 'seals', 'seals', 'sea', 'otters', 'otters', 'alacrity', 'anonymity', 'element', 'faction', 'yaks', 'yaks', 'yak', 'everyone', 'creatures', 'creatures', 'rats', 'rats', 'fleas', 'fleas', 'hundreds', 'hundreds', 'thousands', 'thousands', 'names', 'names', 'Babel', 'Babel', 'yaks', 'yaks', 'name', 'matter', 'summer', 'councils', 'councils', 'females', 'females', 'name', 'others', 'others', 'point', 'view', 'argument', 'light', 'bulls', 'bulls', 'consensus', 'onset', 'blizzards', 'blizzards', 'beginning', 'thaw', 'agreement', 'designation', 'yak', 'donor', 'animals', 'animals', 'anybody', 'failure', 'Dean', 'Dean', 'Swift', 'Swift', 'attempt', 'vocabulary', 'Cattle', 'Cattle', 'sheep', 'swine', 'asses', 'asses', 'mules', 'mules', 'goats', 'goats', 'chickens', 'chickens', 'turkeys', 'turkeys', 'names', 'names', 'people', 'people', 'couple', 'problems', 'problems', 'pets', 'pets', 'cats', 'cats', 'course', 'name', 'names', 'names', 'poet', 'Eliot', 'Eliot', 'hours', 'hours', 'none', 'contemplators', 'contemplators', 'names', 'names', 'onlookers', 'onlookers', 'object', 'gaze', 'fact', 'Perfect', 'Perfect', 'Platonic', 'Platonic', 'Mouse', 'Mouse', 'case', 'point', 'dogs', 'dogs', 'parrots', 'parrots', 'lovebirds', 'lovebirds', 'ravens', 'ravens', 'mynahs', 'trouble', 'arose', 'individuals', 'individuals', 'names', 'names', 'part', 'issue', 'choice', 'anybody', 'Rover', 'Rover', 'Froufrou', 'Froufrou', 'Polly', 'Polly', 'Birdie', 'Birdie', 'sense', 'objection', 'lowercase', 'creatures', 'creatures', 'uppercase', 'appellations', 'appellations', 'parrot', 'dog', 'bird', 'Linnaean', 'Linnaean', 'qualifiers', 'qualifiers', 'years', 'years', 'tin', 'cans', 'cans', 'tail', 'insects', 'insects', 'names', 'names', 'clouds', 'clouds', 'swarms', 'swarms', 'syllables', 'syllables', 'fish', 'sea', 'names', 'names', 'silence', 'oceans', 'oceans', 'faint', 'blurs', 'ink', 'currents', 'currents', 'trace', 'None', 'way', 'skin', 'night', 'while', 'day', 'names', 'names', 'barrier', 'fear', 'fear', 'fear', 'attraction', 'desire', 'feel', 'rub', 'caress', '’', 's', 'scales', 'scales', 'skin', 'feathers', 'feathers', 'fur', 'taste', '’', 's', 'blood', 'flesh', 'warm', 'attraction', 'fear', 'hunter', 'eater', 'food', 'effect', 'conscience', 'exception', 'myself', 'Adam', 'Adam', 'father', 'lent', 'gift', 'peevish', 'impression', 'attention', 'O.K.', 'O.K.', 'reasons', 'reasons', 'talk', 'let', 'decision', 'things', 'things', 'notice', 'anything', 'goodbye', 'garden', 'key', 'parts', 'parts', 'O.K.', 'O.K.', 'fine', 'dear', 's', 'dinner', 'the—', 'fact', 'words', 'words', 'steps', 'steps', 'path', 'house', 'dancers', 'dancers', 'winter', 'shining']

Setup Python on terminal (Mac)

install brew

/bin/bash -c "$(curl -fsSL 
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install python3
pip3 install NLTK

Pads