Outils pour utilisateurs

Outils du site


scripts_bash_linux_audiovisuel

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
scripts_bash_linux_audiovisuel [2019/01/08 22:20] – [Sonification serveur] Benjamin Labomediascripts_bash_linux_audiovisuel [2022/04/13 22:42] (Version actuelle) – [Autres logiciels de sonification du réseau] Benjamin Labomedia
Ligne 111: Ligne 111:
     * Option filtre tcpdump http://www.axllent.org/docs/networking/tcpdump/     * Option filtre tcpdump http://www.axllent.org/docs/networking/tcpdump/
     * http://argoat.net/Blog/?tag=tcpdump     * http://argoat.net/Blog/?tag=tcpdump
 +
 +Ne capturer que le contenu des packets en mode ascii via ip (ou fddi, tr, wlan, ip, ip6, arp, rarp, decnet, tcp and udp)
 +
 +  sudo tcpdump -A -i wlan0 ip | awk -F'!' '{print $NF}
 +
 + * https://askubuntu.com/questions/438041/display-only-the-data-section-of-the-packet
  
 Pour renvoyer le tout sur jack Pour renvoyer le tout sur jack
Ligne 145: Ligne 151:
   * Pour régler ecasound : http://nosignal.fi/ecasound-list/2002/11/0032.html   * Pour régler ecasound : http://nosignal.fi/ecasound-list/2002/11/0032.html
   * voir également https://ecasound.seul.org/ecasound/Documentation/examples.html   * voir également https://ecasound.seul.org/ecasound/Documentation/examples.html
 +  * tcdump options https://www.comparitech.com/net-admin/tcpdump-cheat-sheet/
  
 === du core vers alsa === === du core vers alsa ===
Ligne 243: Ligne 250:
  
   sudo qjackctl   sudo qjackctl
 +
 +==== Python OSC Sonic Pi ====
 +Sonification of netflow traffic - a netflow collector that processes and sends flows to be played by sonic-pi via the OSC protocol
 +  * https://github.com/imperva/soti
  
 ==== Sonification serveur ==== ==== Sonification serveur ====
Ligne 249: Ligne 260:
  
   apt-get install puredata pd-pdogg pd-ext13 icecast2   apt-get install puredata pd-pdogg pd-ext13 icecast2
 +Pour v2, ajouter
 +  apt install pd-ggee pd-zexy pd-iemlib
  
 Création d'une carte son virtuelle : Création d'une carte son virtuelle :
Ligne 290: Ligne 303:
   * http://www.alsa-project.org/main/index.php/Matrix%3aModule-dummy   * http://www.alsa-project.org/main/index.php/Matrix%3aModule-dummy
  
-The PD patch : {{ :anarchasonification.pd |}}File:anarchasonification.pd and to check the audio device :+The PD patch : {{ media_02:anarchasonification.pd |}}File:anarchasonification.pd and to check the audio device :
  
   puredata -nogui -listdev   puredata -nogui -listdev
Ligne 312: Ligne 325:
  
 Labomedia's icecast server is configured in the patch for the moment ... it should produce a devsonification.ogg on http://labomedia.org:8000 Labomedia's icecast server is configured in the patch for the moment ... it should produce a devsonification.ogg on http://labomedia.org:8000
 +
 +Variante Rasberry Pi avec Pick up
 +  sudo apt install puredata pd-pdogg pd-ext13 pd-zexy pd-iemlib pd-ggee
 +  sudo pd -nogui -listdev
 +  sudo pd -nogui -audiodev 3 pnodelocalenetsonification-withoutpwd.pd
 +
 +Le patch v2 {{ media_11:pnodelocalenetsonification-withoutpwd.pd |}}
 +
  
 To launch the patch at the server start-up with systemctl To launch the patch at the server start-up with systemctl
Ligne 321: Ligne 342:
   [Unit]   [Unit]
   Description=Omnious Sonification Service   Description=Omnious Sonification Service
-\\+  
   [Service]   [Service]
   ExecStart=/home/b01/omnioussonification.sh   ExecStart=/home/b01/omnioussonification.sh
   StandardOutput=null   StandardOutput=null
-\\+  
   ExecStop=/bin/sh -c "killall pd"   ExecStop=/bin/sh -c "killall pd"
-\\+  
   [Install]   [Install]
   WantedBy=multi-user.target   WantedBy=multi-user.target
Ligne 337: Ligne 358:
   sudo puredata -nogui /home/b01/omnioussonification.pd   sudo puredata -nogui /home/b01/omnioussonification.pd
   exit 0   exit 0
 +
 +Une variante sans script :
 +
 +  [Unit]
 +  Description=Server Sonification net activity
 +  
 +  [Service]
 +  Type=simple
 +  ExecStart=/usr/bin/pd -nogui -noaudio /data/pnode/algo/pnodelocalenetsonification.pd
 +  StandardOutput=null
 +  Restart=on-failure
 +  
 +  # Configures the time to wait before service is stopped forcefully.
 +  TimeoutStopSec=30
 +  
 +  [Install]
 +  WantedBy=multi-user.target
 +  Alias=serversonification.service
 +
 +
  
 commande magique pour prise en compte des modifs a posteriori dans le .service ? commande magique pour prise en compte des modifs a posteriori dans le .service ?
Ligne 361: Ligne 402:
     * Sources : https://github.com/RSG/Carnivore     * Sources : https://github.com/RSG/Carnivore
     * Fonctionne avec Pocessing 2.1 su linux 64 bits     * Fonctionne avec Pocessing 2.1 su linux 64 bits
-  * PCAP objet Pd http://musa.poperbu.net/index.php/tecnologia-seccions-30/-puredata-seccions-45/97-pcap-forpd-005-pdpcap-renamed +  * Pure data : PCAP objet Pd http://musa.poperbu.net/index.php/tecnologia-seccions-30/-puredata-seccions-45/97-pcap-forpd-005-pdpcap-renamed 
-  * Objet Pd promiscous de ext13+    * Objet Pd promiscous de ext13 
 +  * Avec FoxDot SuperCollider et Tcpdump https://codercat.tk/wifi-soundscapes/index.html
  
 ==== Sonification réseau Pd Python ==== ==== Sonification réseau Pd Python ====
Ligne 381: Ligne 423:
   * En-têtes > midi http://www.smokinggun.com/projects/soundoftraffic/   * En-têtes > midi http://www.smokinggun.com/projects/soundoftraffic/
   * Sonodump (pour mac ?) https://github.com/mrkva/Sonodump   * Sonodump (pour mac ?) https://github.com/mrkva/Sonodump
 +  * Listening back un firefox /  chrome plug-in pour écouter / sonifier les cookies déposés sur notre ordinateur par les sites https://addons.mozilla.org/fr/firefox/addon/listening-back/ https://media.ccc.de/v/36c3-10855-listening_back_browser_add-on_tranlates_cookies_into_sound
 +  * Python OSC Sonic Pi https://github.com/imperva/soti
  
 ===== Sonification wikipedia ===== ===== Sonification wikipedia =====
Ligne 466: Ligne 510:
 # {qjackctl & ; pdextended -rt -jack -channels 12 12 -stderr -nosleep -open /media/Data/INTEGRATIONS/PATCHES/INTEGRATIONS.pd & ; pdextended -nodac -noadc -stderr -open /media/Data/INTEGRATIONS/PATCHES/INTEGRATIONS.pd & ; } # {qjackctl & ; pdextended -rt -jack -channels 12 12 -stderr -nosleep -open /media/Data/INTEGRATIONS/PATCHES/INTEGRATIONS.pd & ; pdextended -nodac -noadc -stderr -open /media/Data/INTEGRATIONS/PATCHES/INTEGRATIONS.pd & ; }
 </code> </code>
-===== Copie SD Card Pi ===== 
  
-==== Sauvegarde avec dd : ==== 
- 
-  dd if=/dev/sdb of=/path/to/backupfile.img 
- 
-where sdb is the SD card location and backupfile must be a file name.img 
- 
-  dd if=/dev/mmcblk0 of=/path-to-your-storage/backup.img bs=1M conv=sync,noerror 
- 
-pour sauvegarde "live" depuis la Pi cf http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=49465&p=385756 
- 
-==== Restauration / Copie de l'image sur une carte SD ==== 
- 
-  diskutil list 
- 
-identify the disk (not partition) of your SD card. e.g. disk4 (not disk4s1) 
- 
-  diskutil unmountDisk /dev/<html><disk# from diskutil></html>    
-  e.g. diskutil unmountDisk /dev/disk4  
- 
-  sudo dd bs=1m if=<html><your image file></html>  .img of=/dev/<html><disk# from diskutil></html>\\ 
-  e.g. sudo dd bs=1m if=2012-12-16-wheezy-raspbian.img of=/dev/disk4 
- 
-(This will take a few minutes) 
- 
-  * http://elinux.org/RPi_Easy_SD_Card_Setup 
  
 ===== Ressources complémentaires ===== ===== Ressources complémentaires =====
Ligne 511: Ligne 529:
  
  
-{{tag>bj}}+Pour finir, une sonification de données opérée par Brian Eno sur un projet de Forensic Architecture à propos de NSO Group et Pegasus 
 + 
 +{{vimeo>563641014?medium}} 
 + 
 +{{tag>bj logiciels_audio linux bash}}
scripts_bash_linux_audiovisuel.1546986059.txt.gz · Dernière modification : 2019/01/08 22:20 de Benjamin Labomedia