User Tools

Site Tools


servers:vertov:audio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:vertov:audio [2021/04/18 20:24] – [Icecast] danservers:vertov:audio [2021/11/12 21:21] (current) – [Azuracast] dan
Line 1: Line 1:
 +===== servers:vertov:audio =====
 +
 ==== Scheda audio ==== ==== Scheda audio ====
  
Line 26: Line 28:
  
   aplay -l   aplay -l
 +  
   List of PLAYBACK Hardware Devices   List of PLAYBACK Hardware Devices
   card 0: Intel [HDA Intel], device 0: Generic Analog [Generic Analog]   card 0: Intel [HDA Intel], device 0: Generic Analog [Generic Analog]
Line 77: Line 79:
   copia da una conf locale in vbe@vertov:~/.config/Mumble/Mumble.conf   copia da una conf locale in vbe@vertov:~/.config/Mumble/Mumble.conf
   oppure usare ssh -X   oppure usare ssh -X
-  mumble -m mumble://bitume@parla.abbiamoundominio.org -n +  vbe@vertov:~$ mumble -m mumble://bitume@parla.abbiamoundominio.org -n 
-  xvfb-run mumble -m mumble://bitume@parla.abbiamoundominio.org -n+  vbe@vertov:~$ xvfb-run mumble -m mumble://bitume@parla.abbiamoundominio.org -n
      
 Barnard Mumble-client cline Barnard Mumble-client cline
  
-Suggerito anche da [[https://git.younerd.org/bisco/strummolo/src/branch/master/deploy.sh|Strummolo]], ma [[https://github.com/layeh/barnard|non è aggiornato]]+Suggerito anche da [[https://git.younerd.org/bisco/strummolo/src/branch/master/deploy.sh|Strummolo]], ma Barnard [[https://github.com/layeh/barnard|non è aggiornato]]
  
 ==== Mumble-client-music-bot ==== ==== Mumble-client-music-bot ====
Line 88: Line 90:
 [[https://github.com/azlux/botamusique|botamusique]] [[https://github.com/azlux/botamusique|botamusique]]
  
-Docker? (todo)+  apt install opus-tools python3 ffmpeg
  
-Si può lanciare botamusique sandboxed, ma si perde la funzionalità Ytube (nobuffer+  uso: 
- +  mettere gli mp3 in vbe@vertov:~/botamusique/musica/ 
-  firejail --noprofile venv/bin/python mumbleBot.py --config configuration.ini+  rm vbe@vertov:~/botamusique/musica.db  (così che non ricordi vecchie canzoni cancellate
 +  screen 
 +  vbe@vertov:~$ firejail --noprofile venv/bin/python mumbleBot.py --config configuration.ini #nodownload 
 +  /ls (list song) 
 +  /sl 1 (play song 1 se era muto o mette in coda) 
 +  /v 60 (volume a 60%, che è il default) 
 +  /stop 
 +   
 +//nota: il file configuration.ini contiene tokens//
  
 ==== Azuracast ==== ==== Azuracast ====
  
-azuracast si installa via docker include icecast liquidsoap [[https://git.abbiamoundominio.org/dan/acCrocRadio1]], [[https://git.abbiamoundominio.org/dan/acCrocRadio/src/branch/master/srv/azuracast|2]]+azuracast via docker include icecastliquidsoap, sftp, web upload e webdj 
 + 
 +[[https://docs.azuracast.com/en/getting-started/installation/docker|installazione]] 
 + 
 +  apt install curl git apt-transport-https 
 + 
 +  mkdir -p /srv/azuracast 
 +  cd /srv/azuracast 
 +  curl -fsSL https://raw.githubusercontent.com/AzuraCast/AzuraCast/master/docker.sh > docker.sh 
 +  chmod a+x docker.sh 
 +  ./docker.sh install 
 + 
 +Non installa docker and docker-compose\\ 
 +stable e non rolling\\ 
 +porte: 80, 443, 2022 per sftp\\ 
 +letsencrypt on radio.abbiamoundominio.org (esiste il CNAME) 
 +   
 +Finire configurazione via web 
 + 
 +  ssh vertov.unit -NL 8080:172.17.0.1:80 
 +  http://localhost:8080 
 +  
 +http://radio.abbiamoundominio.org 
 + 
 +il docker-compose.override.yml 
 +                                                                            
 +    version: '2.2' 
 +      services:   
 +        web: 
 +          volumes: 
 +            - /srv/azuracast/stations:/var/azuracast/stations 
 +      stations:                                                                                
 +          volumes: 
 +            - /srv/azuracast/stations:/var/azuracast/stations 
 +            - /srv/azuracast/media/aaa.mp3:/usr/local/share/icecast/web/error.mp3
  
 ==== altri software utili AV === ==== altri software utili AV ===
  
-  apt install darkice lame vorbis-tools ffmpeg festival+  apt install darkice lame vorbis-tools festival 
 +     
 +==== Pymuble ==== 
 + 
 +Tentativo di sviluppare un client python per mumble che faccia stream su icecast usando libreria pymumble; in fase di test su vm Frankie e' stato creato un container docker chiamato mumble, file di sviluppo nella home di utente unit. 
 + 
 +Il settaggio base ha richiesto l'installazione dei seguenti pacchetti su container base python:latest 
 + 
 +  apt-get install libopus0 
 +  pip3 install pymumble   // API MUMBLE 
 +   
 +  apt-get install portaudio19-dev 
 +  pip3 install pyaudio // BINDINGS FOR PORTAUDIO 
 +   
 +  apt-get install python3-dev libshout3-dev 
 +  pip3 install python-shout  // ICECASThttps://github.com/azlux/pymumble 
 +   
 +Siti di riferimento: 
 +[[https://github.com/azlux/pymumble|pymumble]] 
 +[[https://github.com/azlux/pymumble/blob/pymumble_py3/API.md|pymumble_api]] 
 +[[https://github.com/azlux/botamusique|bot_music]] 
 + 
 +{{tag>[icecast mumble puredata jack bitume]}}
  
servers/vertov/audio.1618777458.txt.gz · Last modified: 2021/04/18 20:24 by dan