scripts_bash_linux_audiovisuel
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
scripts_bash_linux_audiovisuel [2019/03/22 23:11] – Benjamin Labomedia | scripts_bash_linux_audiovisuel [2022/04/13 22:41] – [Packetpunk] Benjamin Labomedia | ||
---|---|---|---|
Ligne 111: | Ligne 111: | ||
* Option filtre tcpdump http:// | * Option filtre tcpdump http:// | ||
* http:// | * http:// | ||
+ | |||
+ | 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' | ||
+ | |||
+ | * https:// | ||
Pour renvoyer le tout sur jack | Pour renvoyer le tout sur jack | ||
Ligne 145: | Ligne 151: | ||
* Pour régler ecasound : http:// | * Pour régler ecasound : http:// | ||
* voir également https:// | * voir également https:// | ||
+ | * tcdump options https:// | ||
=== 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:// | ||
==== Sonification serveur ==== | ==== Sonification serveur ==== | ||
Ligne 292: | Ligne 303: | ||
* http:// | * http:// | ||
- | The PD patch : {{ : | + | The PD patch : {{ media_02: |
puredata -nogui -listdev | puredata -nogui -listdev | ||
Ligne 314: | Ligne 325: | ||
Labomedia' | Labomedia' | ||
+ | |||
+ | 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: | ||
+ | |||
To launch the patch at the server start-up with systemctl | To launch the patch at the server start-up with systemctl | ||
Ligne 339: | Ligne 358: | ||
sudo puredata -nogui / | sudo puredata -nogui / | ||
exit 0 | exit 0 | ||
+ | |||
+ | Une variante sans script : | ||
+ | |||
+ | [Unit] | ||
+ | Description=Server Sonification net activity | ||
+ | | ||
+ | [Service] | ||
+ | Type=simple | ||
+ | ExecStart=/ | ||
+ | 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 363: | Ligne 402: | ||
* Sources : https:// | * Sources : https:// | ||
* Fonctionne avec Pocessing 2.1 su linux 64 bits | * Fonctionne avec Pocessing 2.1 su linux 64 bits | ||
- | * PCAP objet Pd http:// | + | * Pure data : PCAP objet Pd http:// |
- | * Objet Pd promiscous de ext13 | + | * Objet Pd promiscous de ext13 |
+ | * Avec FoxDot SuperCollider et Tcpdump https:// | ||
==== Sonification réseau Pd Python ==== | ==== Sonification réseau Pd Python ==== | ||
Ligne 383: | Ligne 423: | ||
* En-têtes > midi http:// | * En-têtes > midi http:// | ||
* Sonodump (pour mac ?) https:// | * Sonodump (pour mac ?) https:// | ||
+ | * Listening back un firefox / chrome plug-in pour écouter / sonifier les cookies déposés sur notre ordinateur par les sites https:// | ||
===== Sonification wikipedia ===== | ===== Sonification wikipedia ===== | ||
Ligne 468: | Ligne 509: | ||
# {qjackctl & ; pdextended -rt -jack -channels 12 12 -stderr -nosleep -open / | # {qjackctl & ; pdextended -rt -jack -channels 12 12 -stderr -nosleep -open / | ||
</ | </ | ||
- | ===== Copie SD Card Pi ===== | ||
- | ==== Sauvegarde avec dd : ==== | ||
- | |||
- | dd if=/ | ||
- | |||
- | where sdb is the SD card location and backupfile must be a file name.img | ||
- | |||
- | dd if=/ | ||
- | |||
- | pour sauvegarde " | ||
- | |||
- | ==== Restauration / Copie de l' | ||
- | |||
- | diskutil list | ||
- | |||
- | identify the disk (not partition) of your SD card. e.g. disk4 (not disk4s1) | ||
- | |||
- | diskutil unmountDisk / | ||
- | e.g. diskutil unmountDisk / | ||
- | |||
- | sudo dd bs=1m if=< | ||
- | e.g. sudo dd bs=1m if=2012-12-16-wheezy-raspbian.img of=/ | ||
- | |||
- | (This will take a few minutes) | ||
- | |||
- | * http:// | ||
===== Ressources complémentaires ===== | ===== Ressources complémentaires ===== | ||
Ligne 512: | Ligne 527: | ||
filename=" | filename=" | ||
+ | |||
+ | 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> | ||
{{tag>bj logiciels_audio linux bash}} | {{tag>bj logiciels_audio linux bash}} |
scripts_bash_linux_audiovisuel.txt · Dernière modification : 2022/04/13 22:42 de Benjamin Labomedia